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
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
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
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
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
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
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
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
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
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
10 matches
Mail list logo