1. Use @{dest} instead of ${dest}
-Original Message-
From: Carlos Araya [mailto:carlos.ar...@gmail.com]
Sent: Friday, April 20, 2012 4:01 PM
To: user@ant.apache.org
Subject: Newbie question
I have a macrodef called init that defines an attribute called dest
http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22tomcat%22%20AND%20a%3A%22jasper-compiler%22
There is no POM for version 4.1.36
On Mon, Jun 6, 2011 at 11:50 AM, Fabio Souto wrote:
> Hi,
>
> When I try to fetch the dependences with ant -f fetch.xml -Ddest=system I get
> the following error:
>
Thank you. I appreciate the quick reply and your help.
Regards.
-Original Message-
From: Alexandre Priou [mailto:apr...@gmail.com]
Sent: Wednesday, February 23, 2011 2:33 PM
To: Ant Users List
Subject: Re: Newbie question on ANT script error in the build.xml file in the
Eclipse project
Hi
you haven't declared that : in your
build.xml
in your target , you have declared : default="dist", ant search this target
if you execute your project.
best regard
--
Alexandre Priou
Analyste Concepteur Web chez HR TEAM
Détaché aux éditions la rivière
64 rue de l'Essonne
91000 Évry
O
Thanks David!
I actually had the JDK installed and environment variable set already. I
followed your directions and extracted to the proper directory, so I should
be all good.
Thanks again!
David Weintraub wrote:
>
> Ant is a Java program, so you need the Java JDK installed. All you need to
>
Ant is a Java program, so you need the Java JDK installed. All you need to
do is this:
1. Set the JAVA_HOME environment variable to point to your JDK location.
(Hint, install the Java JDK directly under the root of your local drive
(like C:\JDK-1.6) and not the default location (C:\Progra
2009/9/14 Scott Stark :
> Joe wrote:
>> That's not correct: ant properties in the file are expanded inline.
>> See http://ant.apache.org/manual/CoreTasks/property.html for details
>> (I don't know about ${file.separator}, though)
>
> I see that in the documentation; however it's not working for me.
Joe wrote:
> That's not correct: ant properties in the file are expanded inline.
> See http://ant.apache.org/manual/CoreTasks/property.html for details
> (I don't know about ${file.separator}, though)
I see that in the documentation; however it's not working for me.
My properties file:
script_dir
On Fri, Sep 11, 2009 at 20:35, Scott Stark wrote:
>
> Hi, this is probably a dumb question but I couldn't find the answer in the
> online doc.
>
> I want to import a set of properties from an XML file when I run an Ant
> build from the command line. I can do that with the -propertyfile param if
>
2009/9/11 Scott Stark :
>> Any particular reason you're not using a plain old properties file?
>
> Also I've noticed you can't "inherit" properties in a properties file. For
> example, this doesn't work:
>
> projectRoot=C:\\working
> documentSource=${projectRoot}\\documents
>
> And you can't even u
> Any particular reason you're not using a plain old properties file?
Also I've noticed you can't "inherit" properties in a properties file. For
example, this doesn't work:
projectRoot=C:\\working
documentSource=${projectRoot}\\documents
And you can't even use ${file.separator}...
Scott
"Thomas Boyles" wrote:
> Any particular reason you're not using a plain old properties file?
Well I wanted to make it editable by an XML editor, as well as put comments
and such in there to make it more readable. Just wondering if there's a way
to import an XML file at the command line, since it
Any particular reason you're not using a plain old properties file?
-Original Message-
From: Scott Stark [mailto:sst...@us.ibm.com]
Sent: Friday, September 11, 2009 11:36 AM
To: Ant Users List
Subject: Newbie question: importing properties from XML file via command
line
Hi, this is prob
Thanks for the tips. I liked the idea of the java compile options and will
use it. i got the source and sub-source compiled worked out. Since there
is not many sub-source applications, I just have a text file in each
sub-directory that is a list of excluded files to compile. Compile snippet
f
You can use to select the source directories you want to compile:
**
By saying , I eliminate all sub-directories from my
compile path including the customer directories. However, it also may
eliminate any other subdirectories I might also wan
Thanks Chuck for the direction. Fileset was one area that I have looked at,
it seemed like a logicial starting point. I didnt have much luck with it,
but I will revisit the manual and try some more tests.
Thaks again.
Ron
Chuck Burgess-2 wrote:
>
> On Fri, May 29, 2009 at 10:35 AM, a1slowh
On Fri, May 29, 2009 at 10:35 AM, a1slowhand wrote:
>
> My company is just now moving to Ant and I have been given the task of
> moving
> it. I have been able to compile our main source directory, so I know I
> have
> Ant installed and working propertly. We have our based code, and then
> custom
> I expect that I have to set JAVA_HOME, but for the life of me I can not
> figure out where or how.
For a session you can type
JAVA_HOME=
Note that you have to set the path to your JDK, not the JRE.
Setting the path permanent, you can alter your ~/.profile
(in your /home/ dir). Type here at
04, 2008 1:29 PM
To: Ant Users List
Subject: Re: newbie question regarding setting environment variables
Frank,
can you give us the result of 'ant -diagnostics' or 'ant -diagnostics |
grep tools' to see tools.jar is in your path if not, what is the result of
'echo
Frank,
can you give us the result of 'ant -diagnostics' or 'ant -diagnostics |
grep tools' to see tools.jar is in your path
if not, what is the result of 'echo $JAVA_HOME'?
to set your JAVA_HOME:
edit your bashrc file
vi ~/.bashrc
add these lines at the end your bashrc file
...
PATH=//bin:
Hello, I just wanted to thank this list and Peter, David, Krzysztof
and Chuck in particular for responding to my question. I am very
impressed with the quick response, helpful information and respectful
tone.
Best Regards,
Hudson
I have had the same problem. The following target shows how I got around the
problem. Since I have to do differential builds I can't predict the number of
zip files that are produced, so I check for the existence of the file before
calling this target. When I need the list of files, to create th
that did the trick, thanks again! Now, what I thought might be a
better solution than using "var" was to create a "filelist" and add
files to this construct and then use it by ref in the upload target. I
thought creating an empty "filelist" then using it's refid to add
files might work, but it seem
Don't know what Your ant file looks like, but I'd try to employ the
antcontrib's antcallback task - it calls another target and lets it
return a property (more than one actually) to the target, who made the
call. Does that help?
Best regards,
Chris
Hudson Ansley wrote:
I'm trying to use the
yes, I am using thanks so much for your explanation and
suggestion - sounds like a winner!
Regards,
Hudson
On Dec 11, 2007 10:56 AM, Peter Reilly <[EMAIL PROTECTED]> wrote:
> You are most likely using or to call the other targers
> this causes a new ant project to be created. porjects created in
When you say "upload", what do you mean? Are you using "ftp" or "scp"
to move the files from your system to another system?
If so, you probably would be better off using the AntContrib
task or the task to determine whether or not to
move these files to another system than trying to save their na
You are most likely using or to call the other targers
this causes a new ant project to be created. porjects created in or modified in
the child projects have no effect on the properties in the main project.
You can use from antcontrib to run the targets in the
same project.
Peter
On Dec 11,
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, October 29, 2007 3:25 PM
To: user@ant.apache.org
Subject: Newbie Question About Wrapping A Python Script
/*
I would like to use Ant to "orchestrate" a process that includes
converting documents written
Sylvain Perchaud wrote:
Le vendredi 16 septembre 2005, à 21:06, Steve Loughran a écrit:
automatically tries to compile all .java files in and under the
source directory
Right, that was my problem.
Thanks a lot, I thought about everything but that kind of thing.
ahh, no problem. you ar
Sylvain Perchaud wrote:
Hello,
I tried to use Ant (Ant build file created with oXygen) just for a test on my
Windows XP machine.
Unfortunately I cannot even compile my small test, the system is saying me
that some libs are missing. But when I read the libs names, I believe
that these libs a
Does your build actually fail?
These types of messages:
> Could not load a dependent class (com/jcraft/jsch/UserInfo) for type
sshexec
> Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
are not that unusual and will not actually break your build; they are just
there to
, April 01, 2004 2:19 PM
To: Ant Users List
Subject: Re: newbie question emailing build file
See
http://ant.apache.org/manual/listeners.html#MailLogger
-Matt
--- Edward Peloke <[EMAIL PROTECTED]> wrote:
> What it the best way to e-mail the build file? I
> know I can use the mail
>
See
http://ant.apache.org/manual/listeners.html#MailLogger
-Matt
--- Edward Peloke <[EMAIL PROTECTED]> wrote:
> What it the best way to e-mail the build file? I
> know I can use the mail
> task to e-mail files but it won't e-mail the ant
> logfile as it hasn't
> completed yet...right? What is t
On Tue, 05 Aug 2003, Ed Greenberg <[EMAIL PROTECTED]> wrote:
> I would have expected the compiler to create
> ./WEB-INF/classes/foo/loo/moo/test.class
If and only if the class test lives in the package foo.loo.moo.
javac will create your directory hierarchy according to your package
hierar
34 matches
Mail list logo