RE: Newbie question

2012-04-20 Thread Perrier, Nathan
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

Newbie question

2012-04-20 Thread Carlos Araya
I have a macrodef called init that defines an attribute called dest Creating directory

Re: Newbie question, error fetching dependences

2011-06-06 Thread wolfgang haefelinger
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: >

Newbie question, error fetching dependences

2011-06-06 Thread Fabio Souto
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://

RE: Newbie question on ANT script error in the build.xml file in the Eclipse project

2011-02-23 Thread Savoy, Melinda
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

Re: Newbie question on ANT script error in the build.xml file in the Eclipse project

2011-02-23 Thread Alexandre Priou
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

Newbie question on ANT script error in the build.xml file in the Eclipse project

2011-02-23 Thread Savoy, Melinda
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:\

Re: Newbie Question: Installation Issues

2009-10-07 Thread ninoclown
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

Re: Newbie Question: Installation Issues

2009-10-07 Thread David Weintraub
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

Newbie Question: Installation Issues

2009-10-07 Thread ninoclown
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

Re: Newbie question: importing properties from XML file via command line

2009-09-14 Thread Joe Schmetzer
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.

Re: Newbie question: importing properties from XML file via command line

2009-09-14 Thread 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. My properties file: script_dir

Re: Newbie question: importing properties from XML file via command line

2009-09-13 Thread Francis GALIEGUE
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 >

Re: Newbie question: importing properties from XML file via command line

2009-09-13 Thread Joe Schmetzer
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

RE: Newbie question: importing properties from XML file via command line

2009-09-11 Thread 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 use ${file.separator}... Scott

RE: Newbie question: importing properties from XML file via command line

2009-09-11 Thread Scott Stark
"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

RE: Newbie question: importing properties from XML file via command line

2009-09-11 Thread Thomas Boyles
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

Newbie question: importing properties from XML file via command line

2009-09-11 Thread Scott Stark
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

Re: Newbie question concerning ant javac

2009-06-01 Thread a1slowhand
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

Re: Newbie question concerning ant javac

2009-05-30 Thread David Weintraub
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

Re: Newbie question concerning ant javac

2009-05-29 Thread a1slowhand
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

Re: Newbie question concerning ant javac

2009-05-29 Thread Chuck Burgess
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

Newbie question concerning ant javac

2009-05-29 Thread a1slowhand
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. -

Re: newbie question regarding setting environment variables

2008-07-07 Thread Henning Bredel
> 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

RE: newbie question regarding setting environment variables

2008-07-07 Thread Frank D. Gunseor
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

Re: newbie question regarding setting environment variables

2008-07-04 Thread supareno
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:

newbie question regarding setting environment variables

2008-07-04 Thread Frank Gunseor
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

Re: newbie question: variable scope

2007-12-13 Thread Hudson Ansley
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

Re: newbie question: variable scope

2007-12-11 Thread Chuck Holzwarth
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

Re: newbie question: variable scope

2007-12-11 Thread Hudson Ansley
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

Re: newbie question: variable scope

2007-12-11 Thread Krzysztof Kucybala
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

Re: newbie question: variable scope

2007-12-11 Thread Hudson Ansley
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

Re: newbie question: variable scope

2007-12-11 Thread David Weintraub
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

Re: newbie question: variable scope

2007-12-11 Thread Peter Reilly
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,

newbie question: variable scope

2007-12-11 Thread Hudson Ansley
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,

RE: Newbie Question About Wrapping A Python Script

2007-10-29 Thread Rebhan, Gilbert
-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

Re: AW: Newbie Question About Wrapping A Python Script

2007-10-29 Thread Steve Loughran
-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

AW: Newbie Question About Wrapping A Python Script

2007-10-29 Thread Jan.Materne
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

Newbie Question About Wrapping A Python Script

2007-10-29 Thread tom . x . purl
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

RE: A newbie question: how not to do anything

2005-11-03 Thread Anderson, Rob (Global Trade)
> 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

Re: A newbie question: how not to do anything

2005-11-03 Thread Matt Benson
--- "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

A newbie question: how not to do anything

2005-11-03 Thread Marc H. Graham
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

Re: Newbie question

2005-09-18 Thread Steve Loughran
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

Re(2): Newbie question

2005-09-17 Thread Sylvain Perchaud
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 : +

Re: Newbie question

2005-09-16 Thread Steve Loughran
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

RE: Re(2): Newbie question

2005-09-15 Thread RADEMAKERS Tanguy
>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

Re(2): Newbie question

2005-09-15 Thread Sylvain Perchaud
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

Re: Newbie question

2005-09-15 Thread Jeffrey E Care
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

Newbie question

2005-09-15 Thread Sylvain Perchaud
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

RE: newbie question emailing build file

2004-04-01 Thread Edward Peloke
, 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 >

Re: newbie question emailing build file

2004-04-01 Thread Matt Benson
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

newbie question emailing build file

2004-04-01 Thread Edward Peloke
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

Newbie question.

2003-10-03 Thread Jesús Gutiérrez Ramírez
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

Re: newbie question re srcdir and destdir (edg)

2003-08-10 Thread Stefan Bodewig
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