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

  • Home
  • SEARCH
  • 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 920817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:46:47+00:00 2026-05-15T18:46:47+00:00

I created a Java Project in Eclipse using the Web services Top down approach

  • 0

I created a Java Project in Eclipse using the Web services Top down approach (i.e. creating a WSDL file and using it to generate the Skeleton Java class and web services with axis2) (Hence, there are a lot of auto-generated files and axis2 jar libraries).

My Project has the following files/directory structure

- Deployment Descriptor         
- build              
- build.xml                 
- doc (i.e. generated javadoc)         
- src     
  - com.package1
  - com.package2
  - Libraries
    - Apache Tomcat 6.0 (apache jar files)
    - Web App libraries (axis2 jar files)
- lib (containing external jar files)          
- resources     
- WebContent           
  - axis2-web           
  - META-INF    
    - MANIFEST.MF    
  - WEB-INF 
    - classes
    - conf
    - lib
    - modules
    - services
    web.xml
`- wsdl (contains WSDL file`)

I want to import this project into a subversion repository on a remote host. Which files should be imported in order to ensure anybody checking out this project can have it up and running quickly? As per my understanding, we DO NOT import jars, class files, into subversion repository. What should be the best approach here? I am especially unsure of all the web app axis2 and tomcat libraries, and directories like axis2-web, META-INF, WEB-INF (in WebContent)

  • 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-15T18:46:48+00:00Added an answer on May 15, 2026 at 6:46 pm

    The guidelines we use are:

    • Commit all the project-specific files
    • Don’t commit file which can be created by the IDE or build scripts ( transient files )
    • Dont commit workspace specific files, except in a “workspace template” area, because they usuaally contain machine-specific paths or data
    • Shared files should be on a “shared” or “lib” project

    The last point is similar to what maven does: store the libs not in each project, but in a common area.

    So applying these guidelines to your project:

    • Deployment Descriptor : commit
    • build : don’t commit ( generated )
    • build.xml : commit
    • doc (i.e. generated javadoc) : don’t commit ( generated )
    • src
      • com.package1 : commit
      • com.package2 : commit
      • Libraries: commit only the directory. See note below
      • Apache Tomcat 6.0 (apache jar files)
      • Web App libraries (axis2 jar files)
    • lib (containing external jar files) : commit only the directory. See note below
    • resources : commit
    • WebContent
      • axis2-web : commit the dir, and contents if there is anything specific
      • META-INF
      • MANIFEST.MF : commit
      • WEB-INF
      • classes : don’t commit ( generated )
      • conf
      • lib : commit only if not generated. It depends on how you set up your build scripts
      • modules : commit ( I guess it´s not generated )
      • services : commit ( I guess it´s not generated )
        web.xml commit
        - wsdl (contains WSDL file) : commit

    Regarding the lib directories, what we did in several of our projects before using maven, was that each developer downloaded the required jars/libs from a central “libs” project, which contained the jars in a directory structure similar to what maven does ( vendor/libs/versioned jars ). This helped to reduce the project checkout times, and avoided having libraries copied all over the different projects.

    However, in other settings these where not issues, and we preferred to just commit the libs in the project “lib” directory. So each checkout took a little more, just some minutes; having copies of libraries wasn’t a problem since there where few projects, and it made the checkout process simpler ( just one checkout and you had everything in place ).

    I don’t remember any other guideline at the moment 🙂

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

Sidebar

Related Questions

I have recently created a web project in Java using eclipse. I have a
I have recently just created Java project using Eclipse that requires 2 JAR files
I have created a project using the m2 eclipse tool and selected the web
I have created a simple java web (Vaadin) application project using JPA and it
I've created Google App Engine project in Java using Eclipse following the book Beginning
I created web App Test Project using the following Maven command: mvn archetype:generate -DgroupId=com.vanilla.cache
i have created a java project in eclipse,in this project i have an html
I created a simple Java EE project in NetBeans (File -> New Project ->
I am trying to create a new File in Eclipse using the following Java
I am using Eclipse for Java EE and Tomcat Server 7.0. I created two

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.