Re: Access jar files in a library directory in the jar file

2013-06-18 Thread Rob Seegel
Rob, There are various open source solutions out there to do what you're looking for, but there is no "built-in" way to do what you want to do using plain Java. I saw someone else suggest one-jar which is what I would have suggested, too. There is another one called Meta Jar that basically

Re: AW: Packaging ant scripts into a jar

2013-01-19 Thread Rob Seegel
Hmm... one way you could accomplish this would to be import the build file as a resource. Take a look at the Import task docs in the Ant manual - specifically the section under: "any resource or resource collection." This was added in Ant 1.8.0. It seems similar enough to what you're looking to

Re: Recycle an Ant task

2012-10-02 Thread Rob Seegel
Thanks for sharing this Jose. I had a fairly complex build that called other project builds and I needed something like this as well at one time. I think it's worth reviewing it now and seeing if something like one of these two options might be the better way to go. The way I chose is pretty em

Re: Checking if a Target Exists

2011-11-03 Thread Rob Seegel
de (occasionally) Anyhow, thanks for the tip - I've been meaning to read up on 1.8, but haven't made time to do it, yet. Rob On 11/3/11 9:56 PM, Vimil Saju wrote: Ant 1.8 has extension-points which provides something similar to your use-case http://ant.apache.org/manual/targets.html

Re: Checking if a Target Exists

2011-11-03 Thread Rob Seegel
Steve, For my project I created a custom task that was basically an extension of runtarget (from ant-contrib), which worked *almost* the way I wanted. I wanted the following specific case: - core skeleton build process in one script, that contained hooks I could use to "extend" with one

Re: General Concept Question

2011-11-01 Thread Rob Seegel
Just to be sure I understand here... you have one or more source files where some of the values get replaced by the build prior to building the Java code, right? I suspect that this might be more of an Eclipse issue than an Ant issue. On 10/31/11 12:55 PM, Rhino wrote: Is there a fundamental

Re: Handling multiple subproject in J2EE app

2007-11-28 Thread Rob Seegel
Steve Loughran wrote: The ant tasks for maven are very similar, but I have found them to be -at the time I was looking at them for my book - to be of a fairly low quality. The authors werent heavy Ant users -it was the maven team after all- and were written with no tests, no reentrancy, and f

Re: Handling multiple subproject in J2EE app

2007-11-27 Thread Rob Seegel
Dimitris Mouchritsas wrote: Are there any best practices that you know of? I'm unsure if there is one set of practices that work well in all circumstances, but I'd be happy to share a few ideas that I put into place for our in-house build system which is used by 3-4 different projects, one

Re: Fwd: Ant - invoke a servlet?

2007-10-18 Thread Rob Seegel
You might also consider writing a custom task to get what you're looking for. It wouldn't take much code at all to create a thin wrapper around httpclient to upload files. The following article might be helpful: http://www.theserverside.com/tt/articles/article.tss?l=HttpClient_FileUpload Rob

Re: My first build with ant failed

2007-10-08 Thread Rob Seegel
Mohammad Khan wrote: Look more closed at the quotes on your srcdir (and destdir) attributes. Add a closing to the first, and an opening set to the second. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional