I will be hosting a java project on SVN which will need to be downloaded by other developers with the ability of that project to be compiled / packaged on their local machine.
I would like to know what files are needing to be stored on SVN and which ones can be left out. I know the files that Netbeans creates can be left out and the build.xml will need to be included as it has code to package the libraries used in the project into the .jar file.
I am assuming that the following need to be stored on the SVN server:
/lib
/src
build.xml
Does any of the files in the
nbproject
folder need to be added?If not what svn commands (IE svn-ignore) will I need to run to ignore all the files except for those in /lib, /src and the build.xml file?
What should my file structure on the svn look like? Should I keep the source files in the src directory on svn or should I name the folder something else so the developer can then "Create a new project from existing source"?