What's about ant-contrib's / task?
Rainer
> -Original Message-
> From: Chun Ji [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 20, 2006 12:00 AM
> To: Martin Gainty
> Cc: Ant Users List
> Subject: RE: javac multiple packages
>
>
>
> I have just tried, no difference.
> My jdk version
Hi ..
I have a build that uses an automatically generated manifest file. When
I start the build, I cannot be certain that my dest directory (classes/)
is going to exist, so I have a task to create it. My question is, how
do I then copy the manifest file into that directory?
My jar task lo
If the target you are calling MyApp, it is no surprise that the build
will be very long and probably explodes in memory usage. Antcall is not
meant to be used like this - instead target MyApp should simply depend
on create-ear-file.
Ben
-Original Message-
From: Hanmay Udgiri [mailto:[EMA
> -Original Message-
> From: Matt Benson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 20, 2006 1:00 PM
> To: Ant Users List
> Subject: RE: problem with
>
> --- "Anderson, Rob (Global Trade)"
> <[EMAIL PROTECTED]> wrote:
>
> > A macrodef would probably belong outside of a target.
>
I think he may have not exported the variable to verify..
echo $SHELL
if your shell is '/bin/bash' be sure to export all the variables (so that child
processes (ant) variable will assume the new value)
HTH,
M
*
This email messag
--- "Anderson, Rob (Global Trade)"
<[EMAIL PROTECTED]> wrote:
> A macrodef would probably belong outside of a
> target.
Usually, but for completeness' sake I'd like to point
out that a common exception would be conditional macro
definition.
> Also, I don't see
> where you are actually executing
Well... one of the first suggestions someone (Ben
Burgess?) made to you was to get rid of your antcalls.
They eat time and memory and can be worked around
roughly 99.5% of the time:
assuming create-ear-file depends on create-war-file,
etc., etc. as you sort of comment below. Additionally
you m
call the defined macro?
--- Mayuresh Kshirsagar <[EMAIL PROTECTED]>
wrote:
> Hi I am trying the following block:
>
>
>
>
>
>
>
>
>
>
>
>
Ignore that. I didn't read the original request well
enough at first. :) /?
-Matt
--- Matt Benson <[EMAIL PROTECTED]> wrote:
> Have you looked at ant-contrib's
> task?
>
> -Matt
>
> --- Chun Ji <[EMAIL PROTECTED]> wrote:
>
> >
> > I have just tried, no difference.
> > My jdk version is
A macrodef would probably belong outside of a target. Also, I don't see
where you are actually executing the task you define with the macrodef.
What is the output of your build?
-Rob Anderson
> -Original Message-
> From: Mayuresh Kshirsagar [mailto:[EMAIL PROTECTED]
> Sent: Thursday, Ju
I aint complaining but..The svn task is where maven beats Ant -
Granted I think its far less inutitive to work with (but with complexity comes
a more robust feature-set)
Look at this-
e.g.
maven.repo.remote=\
http://www.ibiblio.org/maven,\
file://BlahBlah,\
What maven svn task does is get source
sorry its typo mistakes
On 7/20/06, Hanmay Udgiri <[EMAIL PROTECTED]> wrote:
I am Giving the code we are using for creating EAR file.
it is small any file...
...
..
..
..
..
..
..
Hanmay-
Why are there 2 init targets?
M-
*
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this
I am Giving the code we are using for creating EAR file.
it is small any file...
...
..
..
..
..
..
..
other jar steps.
Any suggestion for improvements will be of great HEL
Not sure. Ant sets up it's own classpath based on $ANT_HOME. I have
heard of people having problems when they have a classpath set in their
environment, but I am not sure if this was causing your problem. I don't
have any classpath set in my environment. Try this...
$ unset CLASSPATH
$ ant
Does i
Have you looked at ant-contrib's
task?
-Matt
--- Chun Ji <[EMAIL PROTECTED]> wrote:
>
> I have just tried, no difference.
> My jdk version is : jdk1.5.0_01.
> My Ant version is : 1.6.2.
> My OS is: Linux.
>
>
> -CJ
>
>
> -Original Message-
> From: Martin Gainty [mailto:[EMAIL P
Excellent!! Thanks a lot :-)
After a bit of learning about XPath I've managed to
achieve the same in a much more elegant way,
--- "Rebhan, Gilbert" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> when working (replace ...) with xml files i would go
> with the xml task =
>
> http://www.oopsconsultancy.c
Hi I am trying the following block:
I don't think ANT adds significant time to a build. What does add time is
the number files being compiled and files possibly being moved, copied etc.
especially across a network.
I routinely do builds composed of several thousands of files. Several years
ago my build structure crossed several net
Hi,
when working (replace ...) with xml files i would go
with the xml task =
http://www.oopsconsultancy.com/software/xmltask/
then you can select the specific nodes via xpath
Regards, Gilbert
-Original Message-
From: Gaz Smith [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 20, 2006
Hi
Actually It uses to take around 7-8 minutes but now it takes around 14 min.
One factor is increase on No of JAVA files.
Earlier we had less no of files,now we have twice of earlier.
Is this could be one of the reaseon
On 7/19/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
ant -d will sho
Hey, wonder if you guys can help me? I'm trying to use
ant to copy a portion of one text file
in to another text file. I have specific markers that
I can use for this.
The source file has the format shown below,
// - src file start
a few
lines of text
One or more
lines of stuff
22 matches
Mail list logo