High Level Guidance
0 posts in topic
Thread View Thread View

High Level Guidance...
Tue Mar 12, 2013 10:13 AM

 Hello all,
I'm getting used to Ant and trying to apply it to the following situation, I would appreciate any input on the best way (high level) to do this i.e. what tasks should be I looking at, is Ant even the proper tool for the job, etc.

I have an SVN repo in Eclipse with two folders A and B.
Each folder has many subfolders (A1, A2, B1, B2, etc). Each folder is checked out as a separate project (for branching purposes) but each one needs the same build file.
The build file creates a .jar (no java classes or javadocs but it still needs to be a .jar) and deploys it to a server location, however the server location is based on whether the project resides in folder A or B in the repo.

The issues I have come across are:
- how can I access one common build file from each separate project?
- how can I check what folder (A or B) the project resides in the repo?

Like I said my Ant knowledge is very basic and I am struggling to see how to access shared resources or if what I am trying to do is possible or meant for Ant.
Any help appreciated and let me know if you need further explanation of anything.
Thanks, Neil.

About | Sitemap | Contact