Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1095641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:09:27+00:00 2026-05-17T00:09:27+00:00

I will be hosting a java project on SVN which will need to be

  • 0

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”?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T00:09:28+00:00Added an answer on May 17, 2026 at 12:09 am

    I decided to take another route. While I had read your original post about using Maven, we are wanting to stay away from Maven as we are basically just writing a command line interface for an existing library.

    Another reason I decided to do what I did was during adding my svn:ignore’s I realized that some of the developers here keep their netbeans project settings in different directories which would basically not do any good since it wouldn’t be an svn working copy in that dir.

    So what I did was just add the /src and /lib directory to the repo.

    The end user then checksout the repo with svn co svn+ssh://path/to/repo/trunk . and then will open netbeans and select “Create project from existing source”. At which point they will go in and add the library from the /lib directory.

    I have Up Voted your answer as it would have been very helpful should I of gone through with using Maven.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a new client that we will be hosting content for. The client
We will be soon hosting a large number of audio and video files that
We are going to be hosting some videos that will be streamed (not progressive
I have a simple Sinatra app that I will be hosting in tomcat as
We need to host a java richfaces/hibernate app in our hosting service. As a
I'm working on a website which will be hosting a number of books written
Their roadmap says their next release will be in March 2009, and that they'll
I have a java application that will take the image as an input and
I'm developing a Java application which will act as a server for an information
I'm building a VERY simple web hosting service that will cater to the ma

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.