Peter
On 10/20/06, Hunter Peress <[EMAIL PROTECTED]> wrote:
is there a standard way to read an arbitrary file (not a properties file)
into a property?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hunter Peress wrote:
is there a standard way to read an arbitrary file (not a properties file)
into a property?
Here you go.
http://ant.apache.org/manual/CoreTasks/loadfile.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
is there a standard way to read an arbitrary file (not a properties file)
into a property?
Thanks Rob and Scot. I did looked the Ant manual.. it din't have eg about
creating directories. Storing the value in property and calling it din't
strike to me.
-
-Original Message-
From: Robert Clark [mailto:[EMAIL PROTECTED]
Sent: Friday, October 20, 2006 3:15 PM
To: Ant Users List
Sub
You should be able to store the tstamp in a property and use that in the
directory name something like:
"-MM-dd_HH-mm-ss"/>
Muthyala, Sunil wrote:
I am trying to create a directory with current system date, I tried using
"tstamp" but
On Friday October 20, 2006 15:05, "Muthyala, Sunil"
<[EMAIL PROTECTED]> wrote:
> I am trying to create a directory with current system date, I tried
> using "tstamp" but did not work.
Should do the trick for you. You can adjust the partern to be any date
format you want.
> Where can I
I am trying to create a directory with current system date, I tried using
"tstamp" but did not work.
Where can I get more info on "tstamp" usage.
Regards,
Sunil
Running unit tests via the Ant junit task seems to be extraordinarily slow.
For example, I have one test that runs in 24 seconds if I start it via "java
junit.textui.TestRunner" but it takes over three minutes to run the same
test via the ant junit task. Truss shows that the junit execution examin
You have this entry in the dist target:
and
Typically, the jar should only contain the resources it needs. What
you're doing here is putting the jar (the result from the dist target)
into the classes directory. You can't jar/tar/war/ear/zip a directory
AND have the resulting archive creat
Thanks, really appreciate the help. The only user is myself. After your
previous mail I had just seen the dist option. Perhaps the help on the
project tag could be expanded to included the compile/dist options. "the
default target to use when no target is supplied. " does not mean a lot
to the like
If you wanted to have the jar built up, you'd need to run the "dist"
target (looking at your build file).
In my experience, this should be the default target, if your users want
to do anything less, they can run the individual targets.
-Original Message-
From: Tom Corcoran [mailto:[EMA
Erm - it does:
default the default target to use when no target is supplied.
-Original Message-
From: Tom Corcoran [mailto:[EMAIL PROTECTED]
Sent: Friday, October 20, 2006 12:58 PM
To: Ant Users List
Subject: RE: Build successful but nothing produced
Reading the archives, I've
Reading the archives, I've learned that the "Could not load a dependent
class " will not actually break your build; they are just there to
signal that some of the optional tasks will not work due to some of
their required libraries not being available on the classpath.
All my java files in "src" a
If you want to just type ant, set up a default in your project tag.
-Original Message-
From: Tom Corcoran [mailto:[EMAIL PROTECTED]
Sent: Friday, October 20, 2006 12:31 PM
To: Ant Users List
Subject: RE: Build successful but nothing produced
Thanks a lot. I was just doing an ant. Using
Thanks a lot. I was just doing an ant. Using the compile attribute now
gives me :
Could not load a dependent class
(com/sun/media/jai/codec/FileSeekableStream) for type image
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type
sshexec
Could not load a dependent class (com/jcraft/j
Are you doing an "ant compile" or just an "ant"?
-Original Message-
From: Tom Corcoran [mailto:[EMAIL PROTECTED]
Sent: Friday, October 20, 2006 12:04 PM
To: user@ant.apache.org
Subject: Build successful but nothing produced
I've just started with Ant this afternoon and found the documen
I've just started with Ant this afternoon and found the documentation
very food.
I've been trying to do a simple build with my goal to generate a file
including the time stamp which I can read in my applet to display on an
about screen. Here's my build.xml :
MyProject build
May be a difference between windows and unix (handling of / and \ characters
for file sep)
Try:
This is what I've tried so far but still without success. If anyone
else has any suggestions, I would be extremely grateful. Thanks in
advance.
,
Josh.
On 10/20/06, Milan Kubec <[EMAIL PROTECTED]> wrote:
Peter Reilly wrote:
> On 10/18/06, Steve Loughran <[EMAIL PROTECTED]> wrote:
>> Milan Kubec wrote:
>> > Hello,
>> > I want ant to generate heap dump when OutOfMemoryError happens during
>> > the build to find the problem in the task. I tried add
Peter Reilly wrote:
On 10/18/06, Steve Loughran <[EMAIL PROTECTED]> wrote:
Milan Kubec wrote:
> Hello,
> I want ant to generate heap dump when OutOfMemoryError happens during
> the build to find the problem in the task. I tried adding following
> switches to .antrc file: -XX:+HeapDumpOnOutOfMemo
21 matches
Mail list logo