AW: R: [newbie] excute multiple jar files

2012-11-23 Thread RZF, SG 481
[mailto:virgilio.rava...@ansaldo-sts.com] Gesendet: Mittwoch, 14. November 2012 11:18 An: Ant Users List Betreff: R: R: [newbie] excute multiple jar files Well, there are several ways to do what you want. I'll show you just one of these ways, I'm using it: It's my build.xml, it's

R: R: [newbie] excute multiple jar files

2012-11-14 Thread Ravagli Virgilio
martedì 13 novembre 2012 11.09 A: Ant Users List Oggetto: Re: R: [newbie] excute multiple jar files Hi, Yes. That is what I want to do Von meinem iPad gesendet Am 13.11.2012 um 10:13 schrieb Ravagli Virgilio : > Hi, > Can you make an example of what you're willing to do, please ? &g

Re: R: [newbie] excute multiple jar files

2012-11-13 Thread Nam Truong Le
he same build.xml ? > > Regards, > Virgilio > > -Messaggio originale- > Da: lenamtru...@gmail.com [mailto:lenamtru...@gmail.com] > Inviato: venerdì 9 novembre 2012 21.49 > A: user@ant.apache.org > Oggetto: [newbie] excute multiple jar files > > Hi, >

R: [newbie] excute multiple jar files

2012-11-13 Thread Ravagli Virgilio
viato: venerdì 9 novembre 2012 21.49 A: user@ant.apache.org Oggetto: [newbie] excute multiple jar files Hi, do you know how to excute multiple jar files using just only one ant build.xml? - To unsubscribe, e-mail: user-uns

[newbie] excute multiple jar files

2012-11-09 Thread Nam Trường Lê
Hi, do you know how to excute multiple jar files using just only one ant build.xml?

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

Newbie questions

2012-04-12 Thread Carlos Araya
I have two questions: 1. Is there a way I can force ant to honor the latest version of the build file? Is it cached somewhere? When trying to copy a resource to a directory before ziping it I can't get it to copy or it appears to copy to multiple locations. This may be due to changes I've made to

RE: Newbie: task can't find my source files

2011-08-25 Thread XiaoWei Zhang
turn bring you problem. Regards, -Xiaowei Zhang -Original Message- From: Ego [mailto:m47841-mailingli...@yahoo.it] Sent: Thursday, August 25, 2011 9:17 PM To: Ant Users List Cc: Scot P. Floess Subject: Re: Newbie: task can't find my source files SOLVED: Still I can't say why a

Re: Newbie: task can't find my source files

2011-08-25 Thread Ego
SOLVED: Still I can't say why all / statements fail in my configuration, but at last I found a workaround. I'll post it in case someone had similar issues. build.properties src.dir=${basedir}/projects/modules/src # I overlooked subpackage sr2 previously, but that's not essential

Re: Newbie: task can't find my source files

2011-08-25 Thread Ego
Update: Finally I managed to compile and jar the content of the src dir. This is the updated build.properties file: src.dir=${basedir}/projects/modules/src build.dir=${basedir}/projects/WEB-INF/build dist.dir=${basedir}/projects/WEB-INF/dist project.name=gdv main-class=apps.gdv.GDVLauncher jar-cl

Re: Newbie: task can't find my source files

2011-08-23 Thread Ego
> You might try to compute the dir and hand that value to > javac... > > For example: > > property="basedir.basename"/> > > > .../> > > > Not sure that will fix it...but it may :) It didn't in fact. Thanks anyway for all the help. -

Re: Newbie: task can't find my source files

2011-08-22 Thread Scot P. Floess
You might try to compute the dir and hand that value to javac... For example: Not sure that will fix it...but it may :) On Mon, 22 Aug 2011, Ego wrote: I bet basename will yield src? Exactly. I typed in the following lines, as suggested: dir = [${basedir.dir}] base =

Re: Newbie: task can't find my source files

2011-08-22 Thread Ego
> I bet basename will yield src? Exactly. I typed in the following lines, as suggested: dir = [${basedir.dir}] base = [${basedir.basename}] Side notes: - versose output contains the line Project base dir set to: D:\Workspaces\Java - source code for project's main class begins

Re: Newbie: task can't find my source files

2011-08-22 Thread Scot P. Floess
I bet basename will yield src? On Mon, 22 Aug 2011, Ego wrote: Good news: yields: D:\Workspaces\Java\projects\modules instead of the expected: D:\Workspaces\Java\projects\modules\src Surely something's going wrong when processing the includes="" property (or the nested elements, it's

Re: Newbie: task can't find my source files

2011-08-22 Thread Ego
Good news: yields: D:\Workspaces\Java\projects\modules instead of the expected: D:\Workspaces\Java\projects\modules\src Surely something's going wrong when processing the includes="" property (or the nested elements, it's the same).

Re: Newbie: task can't find my source files

2011-08-22 Thread Scot P. Floess
D'oh, I should have guessed the src.dir would emit as it did ;) How about taking the dirname task on src.dir and echoing that? If memory serves, when I kick off my its usually from a "root" directory and not a relative one. On Mon, 22 Aug 2011, Ego wrote: Woah, thanks Scot! That's a F

Re: Newbie: task can't find my source files

2011-08-22 Thread Ego
Woah, thanks Scot! That's a FAST reply, and a good one I think. If nothing else, it helped me to rule out some possible causes of error. To answer your question, I intend to collect my buildfiles in a separate folder, sibling to the projects root, and that's the current dir when I fire "ant".

Re: Newbie: task can't find my source files

2011-08-20 Thread Scot P. Floess
Took a quick look through your whole email. I'd suggest, putting this in your compile target:   Obviously, don't use the ellipses ;) Really all I mean is insert the echo statement as I've done above... You'll probably see the problem right away :) It may be you need to insert the

Newbie: task can't find my source files

2011-08-20 Thread Ego
I've read thoroughly the manual and examples but still can't find the reason for this behavior. First, some pointers to state my case. - Environment: Windows XP SP3, Ant 1.8.1, jdk1.6.0_02 - My project builds and run fine from the cmdline, provided that the CLASSPATH env. variable is set. I can

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] Nice way of concatenating files

2010-07-19 Thread Matthew Jaggard
uld be very close to gthe answer. > > -- > Jonathan Rosenberg > Founder & Executive Director, Tabby's Place > http://www.tabbysplace.org/ > > > > > -Original Message- > From: Matthew Jaggard [mailto:matt...@jaggard.org.uk] > Sent: Monday, July 19,

RE: [Newbie] Nice way of concatenating files

2010-07-19 Thread Jonathan Rosenberg
abbysplace.org/ -Original Message- From: Matthew Jaggard [mailto:matt...@jaggard.org.uk] Sent: Monday, July 19, 2010 11:40 AM To: Ant Users List Subject: Re: [Newbie] Nice way of concatenating files I saw this but couldn't work out how to apply it to a selection of files as my scrip

RE: [Newbie] Nice way of concatenating files

2010-07-19 Thread Shawn Castrianni
in the root element. --- Shawn Castrianni -Original Message- From: Matthew Jaggard [mailto:matt...@jaggard.org.uk] Sent: Monday, July 19, 2010 10:40 AM To: Ant Users List Subject: Re: [Newbie] Nice way of concatenating f

Re: [Newbie] Nice way of concatenating files

2010-07-19 Thread Matthew Jaggard
g/manual/index.html > > -- > Jonathan Rosenberg > Founder & Executive Director, Tabby's Place > http://www.tabbysplace.org/ > > > -Original Message- > From: matt...@jaggard.org.uk [mailto:matt...@jaggard.org.uk] On Behalf Of > Matthew Jaggard > Sent:

RE: [Newbie] Nice way of concatenating files

2010-07-19 Thread Jonathan Rosenberg
w Jaggard Sent: Monday, July 19, 2010 11:00 AM To: user Subject: [Newbie] Nice way of concatenating files Hi, Sorry for the newbie question. I have written a task to concatenate files but want to do it better (in a more platform independent way) as it currently relies on "cat" being

[Newbie] Nice way of concatenating files

2010-07-19 Thread Matthew Jaggard
Hi, Sorry for the newbie question. I have written a task to concatenate files but want to do it better (in a more platform independent way) as it currently relies on "cat" being an available executable. Can anyone tell me how to do this using the task o

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: why does log4j pull down all sorts of files?

2009-02-04 Thread Brown, Carlton
...@ant.apache.org Subject: RE: newbie: why does log4j pull down all sorts of files? conf="default->master" worked great. what is that trying to say exactly? pull the default conf from the log4j dependency? whats "->master" do? many thx Brown, Carlton-2 wrote: > >

RE: newbie: why does log4j pull down all sorts of files?

2009-02-04 Thread eqe99
e99 [mailto:eq...@yahoo.com] > Sent: Tuesday, February 03, 2009 6:53 PM > To: ivy-u...@ant.apache.org > Subject: newbie: why does log4j pull down all sorts of files? > > > > -- View this message in context: http://www.nabble.com/newbie%3A-why-does-log4j-pull-down-all-sorts-of-files--tp21821665p21834213.html Sent from the ivy-user mailing list archive at Nabble.com.

Re: Newbie: How to skip publish to local repository

2009-01-20 Thread David Goblirsch
Archie Cobbs wrote: This is really an ant question, not an ivy question (I say that for clarification, not to be annoying :-) The simplest way would be to set some property "jar.published" in your jar task (via ) and then make your publish task conditional on this property being set (e.g., via )

Re: Newbie: How to skip publish to local repository

2009-01-20 Thread David Goblirsch
Mitch Gitman wrote: David, forgive me beforehand for answering your question (A) with another question and then (B) by sidestepping it. Could you clarify what you mean by "local repository"? I think in the usual Ivy parlance, this means local to an individual developer's machine. Do you mean loc

Re: Newbie: How to skip publish to local repository

2009-01-20 Thread Archie Cobbs
This is really an ant question, not an ivy question (I say that for clarification, not to be annoying :-) The simplest way would be to set some property "jar.published" in your jar task (via ) and then make your publish task conditional on this property being set (e.g., via ). I might have the syn

Re: Newbie: How to skip publish to local repository

2009-01-20 Thread Mitch Gitman
David, forgive me beforehand for answering your question (A) with another question and then (B) by sidestepping it. Could you clarify what you mean by "local repository"? I think in the usual Ivy parlance, this means local to an individual developer's machine. Do you mean local to your machine or

Newbie: How to skip publish to local repository

2009-01-20 Thread David Goblirsch
If I have no changes to my source code or ivy.xml, my build will do nothing EXCEPT that the "publish" task still wants to push them to the local repository. In order to get the build to not fail, I have to set overwrite to "true". My guess is I am missing something here. My "publish" task depen

Re: newbie: Instructions on hosting enterprise repository

2008-10-15 Thread Adrian Woodhead
Garry Smith wrote: That is good to hear. We currently have jars in our SVN that are organised in the same way you mention (by organisation/module/version). To move to the Ivy way of resolving dependencies it sounds like we just have to include the appropriate ivy metatdata for each existing

Re: newbie: Instructions on hosting enterprise repository

2008-10-15 Thread Garry Smith
be the recommended setup? Are people using Apache2 and Webdav to do this natively from Ivy? Is there another recommended way that works natively from Ivy? Thanks and regards Garry Garry Smith wrote: Hi, Apologies for the newbie question. I want to set up an enterprise repository tha

Newbie settings file question

2008-10-08 Thread Partridge, Michael
In my project build.xml, I'm trying to load my ivy settings file from my ivy user dir, but the ivy user dir properties don't appear to be replaced in the file attribute of the settings tag. I've tried a couple of different ones that I found in the Ivy doc: Is this possible? Specifying an abso

Re: [newbie] Why doesn’t my fileset get deleted?

2008-07-25 Thread Dominique Devienne
On Fri, Jul 25, 2008 at 9:12 AM, Hendrik Maryns <[EMAIL PROTECTED]> wrote: > but I'd be happy if people could point me to other ways to to this. Not easy to setup the first time indeed. I used lots of custom tasks when I did that in a previous life, but it'd be too long to explain it all, sorry.

[newbie] Why doesn’t my fileset get delete d?

2008-07-25 Thread Hendrik Maryns
Hi, I am struggling to set up my JNI project with Ant. I already have makefiles for the C part and for now, I resort to using but I’d be happy if people could point me to other ways to to this. make invokes gcc, sets some platform-dependent

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

Newbie - Ant JMeter Task Question

2008-02-26 Thread Z W
Hi I have an Ant script on Windows and Jmeters and its jmx files are installed on another Linux machine. My question is how do I invoke a test plan/run using your task on that Linux box from my Windows Ant script. I couldn't figure out the runremote and proxy attributes. A simple example in my con

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: newbie help: conditional exec

2007-09-12 Thread Madunic, Marijan \(RBI-US\)
dunic -Original Message- From: Bruce Atherton [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 9:23 AM To: Ant Users List Subject: Re: newbie help: conditional exec Better to adopt the Way of Ant (tm) rather than fighting against it. Think of your problem this way, and restructure

Re: newbie help: conditional exec

2007-09-12 Thread Bruce Atherton
ed, but in fact nothing is determined about whether the "upload-to-db" target will execute until all of its dependencies have been executed. Mario Madunic wrote: Sorry I didn't give enough info. Since I'm a relative newbie to ant I create a pipeline task not relying on any ot

Re: newbie help: conditional exec

2007-09-12 Thread David Weintraub
age- > From: David Weintraub [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 11, 2007 4:20 PM > To: Ant Users List > Subject: Re: newbie help: conditional exec > > Two steps: > > 1). After your test, do an to call a new target > 2). Us an "if" parameter i

Re: newbie help: conditional exec

2007-09-12 Thread Peter Reilly
On 9/12/07, David Weintraub <[EMAIL PROTECTED]> wrote: > Two steps: > > 1). After your test, do an to call a new target > 2). Us an "if" parameter in that target: For example: > > > > > It is not good practice to use . The normal way is just to have the target in the dependence list as normal,

AW: newbie help: conditional exec

2007-09-11 Thread Knuplesch , Jürgen
Geschäftsführer: Uwe Seltmann HRB Stuttgart 17655 USt-IdNr.: DE 811944121 -Ursprüngliche Nachricht- Von: Madunic, Marijan (RBI-US) [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. September 2007 01:29 An: Ant Users List Betreff: RE: newbie help: conditional exec David, Thank you. I'll give

RE: newbie help: conditional exec

2007-09-11 Thread Madunic, Marijan \(RBI-US\)
David, Thank you. I'll give it a try later when I have a moment. Where can I download antContrib? Marijan (Mario) Madunic -Original Message- From: David Weintraub [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 11, 2007 4:20 PM To: Ant Users List Subject: Re: newbie

Re: newbie help: conditional exec

2007-09-11 Thread David Weintraub
Two steps: 1). After your test, do an to call a new target 2). Us an "if" parameter in that target: For example: ... The other solution is to use the antContrib tasks which includes an task: ... I like a lot of the antContrib stuff, but you do have to make sure it

RE: newbie help: conditional exec

2007-09-11 Thread Mario Madunic
Sorry I didn't give enough info. Since I'm a relative newbie to ant I create a pipeline task not relying on any other target. So in the example below my workflow looks like the following: unzip archive of xml files filter xml files parse xml files (will create CSV\csvArt.xml if the

RE: newbie help: conditional exec

2007-09-11 Thread Anderson, Rob (Global Trade)
[EMAIL PROTECTED] > Sent: Tuesday, September 11, 2007 10:40 AM > To: user@ant.apache.org > Subject: newbie help: conditional exec > > I have the following in my ant task to test for the existence > of an xml file after processing > > > > What I want to do is run

newbie help: conditional exec

2007-09-11 Thread Mario Madunic
I have the following in my ant task to test for the existence of an xml file after processing What I want to do is run based on the above property value of true. I can't seem to find a task to do this. Any help will be appreciated. -

Re: newbie...log4j problem; exception enclosed

2006-11-02 Thread Shailesh Sharma
Iam so sorry. This has nothing to do with ANT. It's apache's log4j only. "Scot P. Floess" <[EMAIL PROTECTED]> wrote: I am not trying to be smart here...but how does this relate to ant? Do you feel like this is a deployment problem caused by your ant build script? If so, can you elaborate m

Re: newbie...log4j problem; exception enclosed

2006-11-02 Thread Scot P. Floess
I am not trying to be smart here...but how does this relate to ant? Do you feel like this is a deployment problem caused by your ant build script? If so, can you elaborate more on how you are creating your war file? Shailesh Sharma wrote: iam getting following exception in my weblogic log f

newbie...log4j problem; exception enclosed

2006-11-02 Thread Shailesh Sharma
iam getting following exception in my weblogic log file when i deploy the application WAR file. please help me understand the problem...help please finding the solution. log4j:WARN No such property [datePattern] in org.apache.log4j.RollingFileAppender. ValidateVendorLogger:initLogger

Re: NEWBIE: Dir-attribute/script problem

2006-06-20 Thread kindsol
Thanks, DD! I had to use project.resolveFile(), but that got it going! yes! -Sol On Jun 20, 2006, at 12:52 PM, Dominique Devienne wrote: I have never used p.resolveFile() and am having a hard time finding documentation on it. Is it Ant api or python? Ant API. org.apache.tools.ant.Project#

Re: NEWBIE: Dir-attribute/script problem

2006-06-20 Thread Dominique Devienne
I have never used p.resolveFile() and am having a hard time finding documentation on it. Is it Ant api or python? Ant API. org.apache.tools.ant.Project#resolveFile(String), returns File or String, I don't recall. --DD Would you use it directly inside

Re: NEWBIE: Dir-attribute/script problem

2006-06-20 Thread kindsol
Thank a bunch for the reply! I have never used p.resolveFile() and am having a hard time finding documentation on it. Is it Ant api or python? Would you use it directly inside ? Would you use it for the sys.path.append() calls? If so, how?



Re: NEWBIE: Dir-attribute/script problem

2006-06-20 Thread Alexey N. Solofnenko
I got that problem too, but my solution maybe too low level. In Jython import folders are hard coded and read only, so I wrote my own launcher that understood -M option and a special Java property and put them into PySystemState.path list (for example, state.path.append(new PyString(path));). I

Re: NEWBIE: Dir-attribute/script problem

2006-06-20 Thread Dominique Devienne
The 'cwd' is never changed. What changes in the project's basedir, based on the various attributes that accepts. See the table in 's documentation for details. Personally, I always use instead of , to avoid messing up the 'basedir'. You probably also want to use p.resolveFile(relative_filename)

NEWBIE: Dir-attribute/script problem

2006-06-20 Thread Sol Kindle
Hey now, This is my first Ant project (so please bear with me). My goal here is to have a single Ant file to build all of my sub-projects. I am having some trouble getting a third party Ant project (call it "foo") to run as a subproject to my "top-level" build project. The Foo build runs j

newbie: facing a problem with build file

2006-03-27 Thread ilango
Hi I am a newbie to Ant. I recently wrote this build file to compile a Portlet application. The problem is, it simply does not compile any of the java files in my web folders. I am sure that all the paths are right. Could somebody help me out by pointing out what could be wrong thanks ilango

Complete Newbie Need Hand With Classpath

2006-03-03 Thread Scott Purcell
I am using struts so I was able to take the struts-blank starter build.xml file as a basis. I am creating a web-app here is my structure: Myapp Build.xml WEB-INF/src WEB-INF/lib WEB-INF/classes Inside the above lib directory are libs that could be included with the webapplic

Re: Subant supposed to do this??? (newbie)

2005-11-08 Thread Dominique Devienne
> > >verbose="true" > target="compile"> > > > > > Which of course fails, since that file isn't xml. I don't see anything > in the subant documentation that leads me to expect this behavior. The > examples contain: I think you might need to specify directories instead

Subant supposed to do this??? (newbie)

2005-11-07 Thread Marc H. Graham
I am using subant like this: When I run it with -v I get: subant: [subant] calling target(s) [compile] in build file K:\BuildDir\WebHeatmaps\Server\SeverEventLogging\makefile.mak parsing buildfile K:\BuildDir\WebHeatmaps\Server\SeverEventLogging\makefile.mak with URI = file://

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

  1   2   >