Maybe ant-contrib's runtarget may fit better for your use-case.
Peter
On Thu, Aug 22, 2013 at 9:52 AM, Eric Fetzer wrote:
> This is insane! Is there no way to preserve information set in an
> antcall? I tried to change strategy a little and do the following:
>
>
>
>
>
>
http://vircar-srl.com/dcqncs/qzsq.gyunejpekkivejr
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
It is described in:
http://ant.apache.org/manual/Tasks/macrodef.html
On Wed, Apr 10, 2013 at 2:37 PM, Peter West wrote:
> Where can I find documentation for usage like
>
> ?
>
> Likewise for the other uses of "@"?
>
> Thanks.
>
> Peter West
>
> "Have you believed because you have seen me? Bl
Because it is not case sensitive.
The code does this by hand.
Peter
On Wed, Sep 12, 2012 at 2:21 PM, Peng Yu wrote:
> Hi,
>
> ~/linux/test/ant/lang/project/target/javac/destdir$ ant -version
> Apache Ant(TM) version 1.8.4 compiled on May 22 2012
>
> I have the following build.xml. ant works no
The only way I can see, is to set shell into debug mode, using set -x
set -x
ls -l /tmp
Peter
On Fri, Jan 13, 2012 at 8:16 PM, grayaii wrote:
> A lot of our build.xmls contain things like this, where “ls -l /tmp” is just
> some arbitrary command:
>
>
> ls -l /tmp
>
>
> Wh
the ant task javac will call the command line javac for files that
are changed. In your case ResumeFileGenerator.java has not
changed so only ResumeConstants.java will be compiled to ResumeConstants.class.
However, ResumeFileGenerator.class does not contain references to
ResumeConstants.class,
the
ld access the path element
> and then "inject" those references into the execution environment I'd be able
> to
> move forward. Am I mistaken?
>
> Most of what I found either didn't apply or I didn't understand. What I did
> find outside of that didn
You do not need to place the antelope jar in the
ant/lib directory.
It is not in general a good idea to do this for
antlibs.
Add the antelope jar to the project files, for
example in {PROJECT}/lib/ant/
and in the build.xml, use to define
the tasks.
In my build.xml I have the following:
: and = and ' ' are used to separate the key from value in java property files.
so, not a good thing to use in property values.
Peter
On Tue, Feb 1, 2011 at 2:37 PM, Vimil Saju wrote:
> you're nuts, don't use : in property names! :P
>
> --- On Tue, 2/1/11, Steele, Richard wrote:
>
>> From: Ste
url of:
http://enitsys.sourceforge.net/ant-classloadertask/
Peter
On Wed, Jan 19, 2011 at 8:16 PM, Antoine Levy-Lambert wrote:
> Hello Patrick,
>
> it is possible to do this using the classloader task of jtools
>
> classname="org.apache.tools.ant.taskdefs.ClassloaderTask">
>
>
>
>
>
>
>
You may be able to use from
http://enitsys.sourceforge.net/ant-classloadertask/
but with the same class in two places in the classpath,
you will have problems.
Peter
On Mon, Nov 1, 2010 at 11:46 PM, Peter Reilly
wrote:
> It would be good to understand one word in three of that ;-)
>
kage also (there may be non-maven shading tools for the maven averse ;-)
> )
>
> On 1 Nov 2010 17:07, "Peter Reilly" wrote:
>
> That will not work.
> The jars in $ant.home/lib or ~/.ant/lib will
> be in front in the classloader.
>
> Peter
>
>
>
> On Mo
That will not work.
The jars in $ant.home/lib or ~/.ant/lib will
be in front in the classloader.
Peter
On Mon, Nov 1, 2010 at 4:23 PM, David Weintraub wrote:
> When you use a , you can specify the classpath to use to
> point to the jarfile. ut the jarfile used by inside your
> project, and the
Look at third party ant libs - antcontrib, antxtras , xmltask
http://www.oopsconsultancy.com/software/xmltask/
http://jwaresoftware.org/wiki/antxtras/home
http://sourceforge.net/projects/ant-contrib/
Peter
On Mon, Sep 13, 2010 at 5:17 PM, Scot P. Floess wrote:
>
> To date, I've always used Ant
That is pretty awesome!.
Peter
On Tue, Aug 24, 2010 at 1:53 AM, Jacob Beard wrote:
> And here is what it looks like now:
>
> https://svn.apache.org/repos/asf/commons/sandbox/gsoc/2010/scxml-js/trunk/build.xml
>
> Most interesting parts are target run-unit-tests-with-rhino target and macro
> run-
you can use from ant 1.8 onwards.
http://ant.apache.org/manual/Tasks/local.html
Peter
On Fri, Aug 20, 2010 at 9:32 PM, Ja
, schrieb Peter Reilly:
>> Yes, tis is a known problem with the manual.
>>
>> Stefan Bodewig came up then the correct expression:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> The manual will be updated..
&
Yes, tis is a known problem with the manual.
Stefan Bodewig came up then the correct expression:
The manual will be updated..
Peter
On Thu, Aug 19, 2010 at 3:29 PM, Jann Röder wrote:
> Hi,
> I think I might have found an error in the documentation. On the page
> about the
d right now though -
> so
> I'll try to stay away from it and use core Ant tasks instead.
>
> thanks for your response,
> Marina
>
>
>
>
>
>
> From: Peter Reilly
> To: Ant Users List
> Sent: Wed, July 21, 2010 5:16:42 A
The problem is that you are specifying no targetfiles.
In this case, I normally pick a scapegoat file that I know should
always be present. - ${destination}/myapp.ear/WEB-INF/web.xml
or some such file.
I suppose that one could change
2010/6/29 SZEDER Gábor :
> Hi Stefan,
>
> thanks for your reply.
>
> On Tue, Jun 29, 2010 at 01:51:59PM +0200, Stefan Bodewig wrote:
>> On 2010-06-29, Stefan Bodewig wrote:
>>
>>
>>
>>
>>
>> > It looks as if the example wanted to use zipgroupfileset instead of
>> > zipf
I get
> ant -version
Apache Ant version 1.8.1 compiled on April 30 2010
on linux.
Peter
On Tue, Jun 15, 2010 at 1:58 PM, Alex Foreman
wrote:
> There seems to be a problem with 1.8.1 reporting the correct version.
>
> With Ant 1.8.0 on the classpath:
>
> unix:
>> ant -version
> Apache Ant versi
how is it failing?
what version of ant are you using ?
it works for me with ant 1.8.0.
Peter
On Tue, Jun 1, 2010 at 6:53 PM, Misha Koshelev wrote:
> http://ant.apache.org/manual/Tasks/jar.html
>
>
>
>
>
>
>
> value="com.acme.checksites.Main"/>
>
>
There is a bug with the task. It is unable to handle
begin and end being the same.
I cannot push a fix, since I forgot my ant-contrib username/password.
Here is a patch:
Index: src/main/java/net/sf/antcontrib/logic/ForTask.java
===
You need to use ant 1.8 and the task.
declares that a property is local to the current scope,
as defined by the enclosing or
see: http://ant.apache.org/manual/CoreTasks/local.html
The scp ant task classes are in the same classloader as
the rest of the body of ant (except for the launcher classes).
See the code for junit and script for the hideous workarounds
that are needed to get them to allow to load
their required third party classes.
A similar effort will need to be d
Yes, you sould use the antlib.xml and not the .properties resource.
The .properties one is meant for compatibility with ant 1.5.
Peter
On Fri, Apr 16, 2010 at 7:05 AM, wrote:
> There are two ways of declaring new tasks:
> - with properties files
> - with antlib.xml files: since Ant 1.6
> With A
I do not see how this would work in ant 1.7, unless
you have the ivy jars in $ant.home/lib
Peter
On Tue, Mar 30, 2010 at 9:15 AM, Nik wrote:
> Hi I recently upgraded from Ant 1.7 to Ant 1.8.
>
> One feature of my existing Ant files that seems to no longer work is the
> element.
>
> I have the f
I concur, please create a bugzilla entry for this.
Also, ant 1.8 contains a new task - which
allows an alternative to using the antcontrib variable task.
Peter
On Mon, Mar 22, 2010 at 3:16 PM, Stefan Bodewig wrote:
> On 2010-03-22, wrote:
>
>> I could track the performance leak down to the A
The simple solution is to set up a gmail address to send messages from.
Peter
On Tue, Jan 26, 2010 at 3:24 PM, Jean-Baptiste BRIAUD -- Novlog
wrote:
> That's right. You need to subscribe to ask question, this is why there is
> subscription.
>
> On Jan 26, 2010, at 15:15 , BenXS wrote:
>
>>
>>
Yes this is a bug in the ant-contrib 's for task
(as usual I have forgot my password..)
work-around: use step="-1" if begin and end are the
same, and ensure that end >= begin.
work-around-2: patch ant-conrib:
svn co
https://ant-contrib.svn.sourceforge.net/svnroot/ant-contrib/ant-contrib/trunk
an
You could use the "parallel" attribute ->
http://ant-contrib.sourceforge.net/tasks/tasks/for.html
WARNING:: although I wrote the task, I have never used the parallel
attribute, since
most of ant is not parallel safe.
Peter
>
> you can use task
>
>
> Harry_ wrote:
>>
>> Hi,
>>
>> I need to run m
The ant api is very much a broken abstraction - i.e. it has not
been designed to used as an api.
One thing for sure is that if there is project field in any object,
it needs to be set. It will at some stage be used.
On Tue, Sep 15, 2009 at 11:30 AM, Wirth, Marc wrote:
> Hello,
>
> After upgrad
Please be aware that this is a long standing problem.
Byte ordering is needed for utf-16 and 32, and there
is a byteordering code for that at the start of the file.
For utf-8 byte ordering is not required, however the
utf-8 standard is a little vague as to whether it is not
allowed. this means
This is fixed in ant 1.7.1.
Peter
On Mon, Jun 8, 2009 at 11:37 PM, Federico
Tomassetti wrote:
> Hi, I am trying to build some Jars that contains annotations
> processors so they need to create a file under META-INF/services named
> javax.annotation.processing.Processor. I am doind it for annopro
Because does not split up the name using ','
You need to have :
etc..
Peter
On Fri, Apr 24, 2009 at 11:22 AM, Rajesh Kumar (IN4774)
wrote:
> Question: Why Copy in ant is not working if I am putting includes separately?
> Ant version: Apache Ant version 1.5.4 compiled on January 8 20
I think that
ant -f saxon.xml -lib C:\jlib
should also work (untested).
Peter
On Wed, Apr 22, 2009 at 6:48 PM, Michael Ludwig wrote:
> Felix Dorner schrieb am 22.04.2009 um 09:46:40 (+0200):
>>
>> > > The 'help' output and the manual say:
>> > > "-lib specifies a path to search f
:
> Hello Peter,
>
> Could you find something?
>
> Thanks!
> Zsolt
>
>
> -Original Message-
> From: Peter Reilly [mailto:peter.kitt.rei...@gmail.com]
> Sent: Friday, April 03, 2009 7:04 PM
> To: Ant Users List
> Subject: Re: jar task: update and service
&
That does sound like a bug.
I will look into it.
Peter
2009/4/3 Kúti Zsolt :
> Hi,
>
> Accomplishing a jar task, I want to update my jar with a service element.
> Service entry does appear on first creation of the jar, but update attribute
> of the jar task does not seem to work.
>
> Can anybo
This is probably the first time that was mentioned on the
mailing list since it was added to !
Peter
On Wed, Mar 18, 2009 at 5:58 AM, wrote:
>>I am using to create a destfile. I would like to provide a
>>comment at the top of the destfile that contains a list of the files
>>specified in the
On Mon, Mar 9, 2009 at 8:44 AM, Felix Dorner wrote:
>
>> Use ;)
>
> That brings me to ask: Does the new (?)
On Fri, Mar 6, 2009 at 8:45 AM, NR031 wrote:
>
> Hi all,
>
>
> I found out the solution myself :
>
>
>
>
>
>
>
> success
>
you have to use the antlib.xml form of taskdef and not the antcontrib.properties
form. The antcontrib.properties is for ant 1.5 and lower, the
antlib.xml form is for
ant 1.6 and higher.
Use the following:
@{iter}
Peter
On Thu, Feb 5, 2009 at 10:06 PM, Steve Liu wrote:
> Hi,
>
See:
http://ant.apache.org/manual/install.html#librarydependencies
you need commons-net.jar and (it seems) jakarta-oro.jar.
Place these files in $HOME/.ant/lib, or in $ANT_HOME/lib and
the ftp task should work.
Peter
On Tue, Jan 20, 2009 at 8:07 AM, VELPULA, Ashok Kumar
wrote:
> Hi
>
>
>
> I
You cannot use ant 1.7 with ant 1.6 jars. The ant 1.7 junit task
is expecting ant 1.7 jars.
Peter
On Sun, Dec 28, 2008 at 2:59 PM, metcox wrote:
> Hi,
>
> I'm trying to use junittask with fork mode on, on a project with ant
> dependencies.
> So I set includeantruntime to false and fork to true
You need to set target="1.4" as well as source="1.4".
Peter
On Fri, Dec 26, 2008 at 4:46 PM, Koxkorrita wrote:
> hello
>
>
>
> In my pc i have installed the 1.6_10 jdk.
>
> i must to compile, for generate one war for one 5.0 tomcat that runs into
> one 1.4 jdk, my classes.
>
> for this pourpose
ot;${compile.memory.max}">
>
>
>
>
> I'm curious if it has something to do with the fork. Curious if it is
> truncating the values somehow on the passed command line. Trying that
> now.
>
> E
>
> -Original Message-
You need source="1.4" as well.
Peter
On Fri, Dec 19, 2008 at 4:18 PM, Eric Wood wrote:
> My java is a 1.5 compiler, but I running the javac using a target="1.4
> and the output keeps giving me JAVA 1.5 compiler errors:
>
>
>
>[javac]
> /ClearCase_Storage/viewroot/Ecommerce/ecomm_commerce_sui
With current ant tasks, one cannot change the classpath used within build.xml.
For junit and ant 1.7.0 +, one can set the location of the junit.jar
file within the
task itself - this is indeed the recommended way as it means that one
does not need to modify the ant distribution or use -lib at the
~ is a special shell character and is not understood by java and by ant.
${user.home} is the ant property for the user's home directory.
Peter
On Sun, Nov 9, 2008 at 9:26 AM, Patrick Waugh <[EMAIL PROTECTED]> wrote:
> In a properties file I have:
>
> # rapc and sigtool tasks require location of
Also be aware that the ant java code is not designed or created to be
used as a library. Ant java code is written to read and execute ant xml scripts.
Peter
On Thu, Nov 6, 2008 at 12:53 PM, Mark Salter <[EMAIL PROTECTED]> wrote:
> Steve Loughran wrote:
>> There's some coverage of it the Ant docs
There is no difference in type.
The classpath tag is normally a sub-element in of a task, and it
corresponds (in java) to an Path type.
The task may use different element names of the Path type for
different uses. For example
has , , , and
all of Path type.
is an ant type - one can set a re
It found that execing ant is the best way to get a 1.4 javac build.
I use the following presetdef:
Ant figures out where the java14 exe is set based on an enforced env
variable: JAVA14_HOME.
t a to define the new type.
> I am already using a typedef.
>
> As in my original email:
>
>
>classpath="${autoservice.classes}"/>
>
>
>
>
>
>
>
>
>
> Any more ideas?
>
> Thanks, John
>
>
> 2008/
You need to do a and not a to define the new type.
Looking at the code:
Jar: public void addConfiguredService(Service service) {}
the new type should work.
The reason that does not work is that the Sevice class does
not extend Task
and using will cause ant to use a proxy class, which wi
On Sun, Aug 17, 2008 at 9:18 PM, Francisco Tolmasky <[EMAIL PROTECTED]> wrote:
> I have a common.xml file that I import in all my build.xml throughout my
> project (subdirectories included). One of the tasks defined in this
> common.xml has to reference a file in a java task, as so:
>
>
>
>
You may need to set the character encoding on the loadproperties.
See:
http://ant.apache.org/manual/CoreTypes/filterchain.html#classconstants
peter
On Sun, Aug 10, 2008 at 3:10 PM, Jim Showalter
<[EMAIL PROTECTED]> wrote:
> I am having problems getting this to work as described. I am using Ant
>
This would work.
However, it it very dangerous, it it too easy to
delete stuff that you do not wont to.
I would place *all* the generated artifacts of a build in a
special directory - "build" or "target", and for
the clean target, simply delete that directory.
Peter
On Mon, Jun 16, 2008 at 4
each creates a new project, targets in each project
are independent of targets with the same name in other projects.
Peter
On Mon, Jun 16, 2008 at 9:00 AM, Bourzeix, Hervé
<[EMAIL PROTECTED]> wrote:
> You may have antcall in your code. Antcall don't pay attention to the depends
> list.
>
> reg
On Thu, Jun 5, 2008 at 11:14 AM, Rebhan, Gilbert
<[EMAIL PROTECTED]> wrote:
>
>
> -Original Message-
> From: Peter Reilly [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 05, 2008 11:53 AM
> To: Ant Users List
> Subject: Re: how to echo propertyset to file
On Mon, Jun 2, 2008 at 7:04 PM, Gilbert Rebhan <[EMAIL PROTECTED]> wrote:
> Hi, David
>
> David Weintraub schrieb:
>>
>> Just curious... Where is the ${tostring:} function and other types of
This should be toString - it is case sensitive
>> functions documented in Ant
There are currently no other f
On Wed, May 28, 2008 at 1:34 PM, Dave Pawson <[EMAIL PROTECTED]> wrote:
> 2008/5/28 Peter Reilly <[EMAIL PROTECTED]>:
>> Wait for ant 1.7.1.
>
> Thanks Peter. Any due date (roughly)?
There is a beta out,
http://people.apache.org/dist/ant/v1.7.1beta2/
I assume that
Wait for ant 1.7.1.
On Wed, May 28, 2008 at 12:55 PM, Dave Pawson <[EMAIL PROTECTED]> wrote:
> 2008/5/28 Knuplesch, Juergen <[EMAIL PROTECTED]>:
>> Do you have bsf.jar in the ANT-classpath?
>> (You can copy it in the lib-Folder of ANT)
>>
>> See "Ant-Tasks"-"Library dependencies" in
>> http://an
There can be issues with using and
- they are in the same VM
- there can be "leakages" between projects.
- the rules for basedir are a bit weird
I use the following (on linux):
and:
On Thu, May 22, 2008 at 5:42 PM, Toomey, Kevin H (ATS, IT)
<[EMAIL PROTECTED]> wrote:
> "What about a application which needs multiple jar files on its
> classpath, does all these files (dependencies) needs to be specified
> using the -classpath attribute on command line"
>
> Yes.
>
Not quite.
The
class path. is there another way of setting log4j up?
>
>
> Peter Reilly-2 wrote:
>>
>> 1) placing log4j.properties in the top level of a jar file is a crime
>> against good practice
>>
>> 2) do it by:
>>
>>
>>
>>
1) placing log4j.properties in the top level of a jar file is a crime
against good practice
2) do it by:
Peter
On Mon, May 19, 2008 at 5:29 PM, Tom Corcoran <[EMAIL PROTECTED]> wrote:
>
> Doing the following creates a sub directory properties in my jar with my
> groo
Ant does not distribute junit.jar, so the junit.jar file in your
$ANT_HOME/lib directory
would have been placed there independently.
With ant 1.7, the best practice is not to place a junit.jar file in
$ANT_HOME/lib.
Instead, one should use the classpath element of the junit task, and use
a project
wrote:
> Hi,
>
> I did this. But the main problem is not showing the file, because when I open
> the file through the explorer the content is shown.
>
> The main problem ist, that the special characters are replaced by some other
> charcters.
>
>
> For example:
>
> Original characters:
> Zàèìòù
Also remember to use the classloader that loaded the
custom task as the parent for the new classloader
created in the task.
Peter
On Wed, May 7, 2008 at 3:59 PM, Steve Loughran <[EMAIL PROTECTED]> wrote:
>
> Christofer Jennings wrote:
>
> > I think I have a classloader problem.
> >
> > I've made
Looking at the JAVA_HOME setting:
JAVA_HOME=C:\Progra~1\Java\jdk1.5.0_15;
You have a trailing '";", this may not be good.
Peter
On Wed, Apr 30, 2008 at 7:53 PM, Debbie Shapiro
<[EMAIL PROTECTED]> wrote:
> Well, I tried reinstalling Ant into c:\Ant, but I'm still getting the
> same results.
>
>
Also, the taskdef defines a namespace uri (antlib:net.sf.antcontrib)
but the script does not bind this to a namespace prefix and in any
case does not use a namespace prefix with the tag.
the definition should be something like this:
...
or (ant 1.7)
..
Peter
On Wed, Apr 30, 2008 at 9:
can you make a selfcontained build.xml that shows the
problem, this will help in tracking down the problem.
Also, can you open a bugzilla issue for the problem, this
will help in tracking the issue.
Peter
On Tue, Apr 29, 2008 at 7:46 AM, Xavi <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I tried it too.
On Wed, Apr 23, 2008 at 11:40 AM, Steve Loughran <[EMAIL PROTECTED]> wrote:
> Dave Pawson wrote:
>
> > On 23/04/2008, Steve Loughran <[EMAIL PROTECTED]> wrote:
> >
> >
> > > Ant is namespace aware, it merely chooses not to ignore content in
> other
> > > namespaces, as it assumes they are tasks de
On Wed, Apr 23, 2008 at 10:31 AM, Steve Loughran <[EMAIL PROTECTED]> wrote:
> Dave Pawson wrote:
>
>
> >
> > It would help if ant were namespace aware, then additional documentation
> > could be added in another namespace.
> >
>
> Ant is namespace aware, it merely chooses not to ignore content in
dir mkdir etc are not (as far as i know) exe es in windows they are
built-in to cmd.exe
you may need to do something like:
command ="cmd /c dir E:\Share".
Peter
On Fri, Apr 11, 2008 at 11:39 AM, neitcouq <[EMAIL PROTECTED]> wrote:
>
>
> I have a target in build.xml like that:
>
>
>
you may need to use
instead of value=""
Peter
On Wed, Apr 2, 2008 at 3:25 PM, Matt Benic <[EMAIL PROTECTED]> wrote:
> Hi,
> I am having trouble using Apply on a proprietary third party tool. The tool
> is a packaging utility which (bizarrely) cannot take wildcard or folder
> parameters, so eac
Peter
On Mon, Mar 31, 2008 at 8:51 PM, mindspin311 <[EMAIL PROTECTED]> wrote:
>
> If I have the following path: /blah/foo/trunk/
>
> I want to be able to assign just "trunk" to a property, similar to dirname:
>
>
>
> This returns the whole path. I just want it to return the last ele
On Thu, Mar 27, 2008 at 3:48 PM, Xavier Hanin <[EMAIL PROTECTED]> wrote:
> On Thu, Mar 27, 2008 at 4:02 PM, Peter Reilly <[EMAIL PROTECTED]>
> wrote:
>
>
> > On Thu, Mar 27, 2008 at 2:19 PM, Buck, Robert <[EMAIL PROTECTED]> wrote:
>
> > > so obvi
remove references from
tasks, or place these tasks outside targets.
Peter
> /Bob
>
>
>
> -Original Message-
> From: Peter Reilly [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 27, 2008 10:12 AM
> To: Ant Users List
> Subject: Re: NPE in Ant 1.7.0
&
Thanks for report - and the build file.
This has not been reported before, please add a bug report.
This error is also present int the ant 1.7.1beta build and the trunk.
In general, however, ant 1.7.0 can support multiple targets, I (and
a gillzillion others) use
them all the time), there must b
if="${src.lib.dir}">
should be if="src.lib.dir"
as the if attribute uses the presence or absence of the property and
not on the value of the property.
also, you may need to do **/*.jar instead of "*.jar" to get jars in
sub-directories.
Peer
On Thu, Mar 27, 2008 at 12:48 PM, Luca Ferrari <[EMAIL
On Thu, Mar 27, 2008 at 7:34 AM, CheeYang Chau <[EMAIL PROTECTED]> wrote:
> > A common, if not so nice solution, is to use an attribute value as
> > a property name.
> >
> > For example:
> >
> >
> >
> >
> > value="@{module}"
On Thu, Mar 27, 2008 at 6:23 AM, CheeYang Chau <[EMAIL PROTECTED]> wrote:
> I do run the macrodef in parallel using parallel task. Do you think
> using var task will work ?
There are lots of tasks that are *not* safe with using in the task
and is one of them.
If possible do not use
Peter
>
>
On Thu, Mar 27, 2008 at 5:51 AM, CheeYang Chau <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I love the macrodef task. However, it has a weakness. We must be very
> careful if using property within the macrodef. I face problem with a
> macrodef that is more complicated than the following example. I ha
On Tue, Mar 25, 2008 at 10:50 PM, Karr, David <[EMAIL PROTECTED]> wrote:
> I have to write a custom Ant task to get some detailed data out of
> Perforce into some properties, and then I need to use those properties
> in following steps of a build. Are there any difficulties in having my
> build
I have a patch for macrodef which allows macrodef to have (nearly)
arbitrary xml
fragments:
http://java.sun.com/j2se/1.5.0/docs/api/";
packagelistLoc="javadoc/j2se-1.5.0"/>
http://java.sun.com/javaee/5/docs/api/";
packagelistLoc="javadoc/javaee-5"/>
http://lab.
Most likely the typedef has been called from an or an .
peter
On Tue, Mar 11, 2008 at 5:01 PM, Matt Benson <[EMAIL PROTECTED]> wrote:
>
> --- "Scot P. Floess" <[EMAIL PROTECTED]> wrote:
>
> > I'd like to call either in a or a
> > .
> > However, when doing so it seems as if the call is
>
Use basename to get name of the dir.
Peter
On Mon, Mar 10, 2008 at 1:13 PM, Rob Wilson <[EMAIL PROTECTED]> wrote:
> Now that I have a list of directories, I would like to get the directory
> NAME rather than the full path - I am trying to use the name to create
> directories elsewhere and copy
The first has a "/" in front of the lib.
-> this is an absolute path.
Peter
On Mon, Mar 10, 2008 at 11:56 AM, Rob Wilson <[EMAIL PROTECTED]> wrote:
> I thought I would give some feedback, it seems that I made two mistakes...
>
> 1) I typed the incorrect version number, so this was why it could n
Yes,
normally I keep a lib/ant/-plugin-name-/(jars needed for the plugin)
directory structure and have a ant-contrib.xml importable file to
configure the plugin:
(note that for ant 1.7.0 you do not need to specify resource when the
uri is an antlib:)
Peter
The normal way to deal with this is to accept that the dependency checks in
ant are not complete (in fact they are completely brain-dead) and do ant clean
very often. For example, using Continuous integration, always do a clean
target (which removes *ALL* build generated artifacts) before the main
Use and not
Peter
On Wed, Mar 5, 2008 at 1:46 PM, Andrew n marshall
<[EMAIL PROTECTED]> wrote:
>
> Is it possible to define a task in one ant build file, but use it in
> another? For example, I want to have a single build file that contains
> the properties and tasks to download a copy of s
This is a bug in ant 1.7.0, it has been fixed
and will be in the soon to be released 1.7.1.
https://issues.apache.org/bugzilla/show_bug.cgi?id=42263
Peter
On Mon, Mar 3, 2008 at 9:53 AM, Keith Hatton <[EMAIL PROTECTED]> wrote:
> It seems that something has changed between Ant 1.6.2 and 1.7.0 in th
I used ant 1.7.0 with seam last year without a problem.
Peter
On Thu, Feb 28, 2008 at 8:19 AM, <[EMAIL PROTECTED]> wrote:
> > the download still failed with the error i stated above. :-(
> > Jan, I'm try to run the JBoss Seam which only ant 1.6 is
> applicable.
> > Please help. Th
>From a console, run the command "env" to see the environment variables.
On unix/linux the env variable "HOSTNAME" is normally used to get the
name of the computer.
(Although on my current machine this is "localhost.localdomain").
Peter
On Tue, Feb 26, 2008 at 2:09 PM, Ramu Sethu <[EMAIL PROTEC
does not work in ant 1.7.0 (due to a typeo error).
Easiest way to add services is simplly to create the service file
in the correct location:
src/jar-src/META-INF/services/com.example.apis.API
for example
Peter
On Mon, Feb 25, 2008 at 6:27 AM, <[EMAIL PROTECTED]> wrote:
> ?
>
> Jan
>
Please ensure that you are not using jpackage verion of ant.
Check the file /etc/ant.conf.
This file overwrites ANT_HOME.
Peter
On Mon, Feb 25, 2008 at 4:56 AM, Chun Ji <[EMAIL PROTECTED]> wrote:
>
> What happen if you type " which ant", is it point to
> "/usr/local/ant-1.6.4/bin/ant" ?
> If
? this has already been answered ?
On Thu, Feb 14, 2008 at 8:15 AM, dheeraj tandon
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have 2 machines and both has same ant(1.6.5) and java(1.5) versions.
>
> When i compile a code in both the machine,
>
> Machine 1 acts correctly. But in Machine2 the fileset
The message means that the reference has been defined in a target that
has not been invoked at the time where the reference is used. For example:
so which "compile.path" is used when:
ant 1 run
ant run
ant 2 run
In ant 1.7.0,
1 - 100 of 586 matches
Mail list logo