My professor asks us to submit out projects in WAR files, and he says my project will get a 0 if the WAR doesn’t include my .JAVA file.
I see it includes the .CLASS file but he said thats not enough, how can i get the .WAR file to pack with the .JAVA inside of it?
EDIT:
To compress the file i’m using the clean and build option in Netbeans. the WAR file appears in the build folder
If this is in Eclipse, you will include source under the export WAR option.
Update
In the war export panel, there should be an “Excluded file types” make sure to remove
*.java