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
I have a macrodef called init that defines an attribute called dest
Creating directory
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:
>
Hi,
When I try to fetch the dependences with ant -f fetch.xml -Ddest=system I get
the following error:
...
jspc:
[artifact:dependencies] Downloading:
tomcat/jasper-compiler/4.1.36/jasper-compiler-4.1.36.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository remote
(http://
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
Currently I am working on my local XP box in Eclipse Helios. The version of
ANT that I have loaded is apache-ant-1.8.2
The error I am getting in the build.xml file is: Default target dist does not
exist in this project
However, when I go to the Eclipse workspace where I have my project:
C:\
ion 1.7.0 is a prerequisite for this particular CRM - Open
>> CRX.
>>
>> I have the zip file downloaded and the files extracted, but do not know
>> how
>> to actually install. There is a "install" file in the package but it is
>> 1KB
>> and i
zip file downloaded and the files extracted, but do not know how
> to actually install. There is a "install" file in the package but it is 1KB
> and is listed as "file" not as an executable file.
>
> I'm running a WinXP server also.
>
> Any advice would be gr
age but it is 1KB
and is listed as "file" not as an executable file.
I'm running a WinXP server also.
Any advice would be great!
Thanks!
--
View this message in context:
http://www.nabble.com/Newbie-Question%3A-Installation-Issues-tp25794828p25794828.html
Sent from the Ant - U
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, th
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
the file has name=value pairs in it. Any way to do this with an
gt;
>
>
>
>
>
>
>
>
>
>
> Any help at this point would be great! Even if it's to point me to the
> right place in the manual. I have no problem reading and studing, but the
> terminology Ant uses is not what I kno
dd"
> includes="**/*.*"/>
>
>
>
>
>
>
>
>
>
>
> Any help at this point would be great! Even if it's to point me to the
> right place in the manual. I have no problem reading and studing, but the
> terminol
ean all the intermediate files look like
> "changed" files due to being copied, but there are ways to tell the COPY
> task to only copy over files that have changed.
>
> Again, this is all me thinking out loud, and not something I've had to
> attempt myself.
> --
&g
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
trying to accomplish.
Thanks to all.
Ron
--
View this message in context:
http://www.nabble.com/Newbie-question-concerning-ant-javac-tp23782206p23782206.html
Sent from the Ant - Users mailing list archive at Nabble.com.
-
> 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:
I have ant install on Ubuntu 8.04.
When I try to run ant I get an error message, "Unable to locate tools.jar,
etc.".
I expect that I have to set JAVA_HOME, but for the life of me I can not
figure out where or how.
I have checked the manual, the FAQ, etc. I guess I'm just being dense today.
Can
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,
I'm trying to use the discouraged "var" to keep track of updated files
for a final upload step. It appears that when I change a variable in
one target, that change is not reflected from another target. I
imagine I am going about this the wrong way, so besides explaining why
this might be happening,
-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
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 29. Oktober 2007 15:25
An: user@ant.apache.org
Betreff: Newbie Question About Wrapping A Python Script
I would like to use Ant to "orchestrate" a process that includes
converting documents
Use Forrest ;-)
http://forrest.apache.org
Jan
>-Ursprüngliche Nachricht-
>Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 29. Oktober 2007 15:25
>An: user@ant.apache.org
>Betreff: Newbie Question About Wrapping A Python Script
>
>I wou
I would like to use Ant to "orchestrate" a process that includes
converting documents written in a markup language (restructured text)
to html. Here are my requirements:
1. I would like to convert all of the documents in a particular folder
from rst to html.
2. I would only like ant to convert
> Most make systems I'm familiar with have a "don't do it; just
> tell me what you would do if you were going to do anything."
> This is a really useful service when you're debugging a
> script, just to see if you've got the logic/parameters right.
> I can't find that in Ant. A serious drawback
--- "Marc H. Graham" <[EMAIL PROTECTED]> wrote:
> Most make systems I'm familiar with have a "don't do
> it; just tell me
> what you would do if you were going to do anything."
> This is a really
> useful service when you're debugging a script, just
> to see if you've got
> the logic/parameters ri
Most make systems I'm familiar with have a "don't do it; just tell me
what you would do if you were going to do anything." This is a really
useful service when you're debugging a script, just to see if you've got
the logic/parameters right. I can't find that in Ant. A serious
drawback, I think. Any
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
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.
--
Sylvain Perchaud
Tel : +33 (0) 674 758 551
Fax : +
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
>That is strange since I installed Ant and the latest JDK and wrote the
>first example described in O'Reilly book about Ant.
>If even that first example does not work without downloading additional
>classes...
That's not what he means - ant has a number of optional tasks that
require extra jars, a
Le jeudi 15 septembre 2005, à 13:27, Jeffrey E Care a écrit:
>Does your build actually fail?
in fact my build never ends, I have to stop it.
>These types of messages:
>
>> Could not load a dependent class (com/jcraft/jsch/UserInfo) for type
>sshexec
>> Could not load a dependent class (com/jcra
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
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 are not related at all to wh
, 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
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 the best way to get an e-mail when the build
is over telling me if it was successfull? Should I kick off another build
scr
Hi,
I'm new using tomcat (over windows xp) and ANT, I was doing the example
exercise http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html,
using the files included.
When I want to install my app on the tomcat server using the ANT INSTALL
command I receive the next mes
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
54 matches
Mail list logo