Re: Ant properties

2011-06-15 Thread Gilbert Rebhan
Original Message Subject: Ant properties From: thapelo.kekana To: user@ant.apache.org Date: Wed Jun 15 2011 16:42:33 GMT+0200 (CET) > I have a issue retrieving a value for a dynamically created property. see Ant FAQ = http://ant.apache.org/faq.html#propertyvalue-as-name-for-pr

[Announce] Flaka 1.2.2 released

2011-06-14 Thread Gilbert Rebhan
.com/files/flaka-javadoc-1.02.02.zip Sources http://flaka.googlecode.com/files/flaka-sources-1.02.02.zip Issues should be reported to http://code.google.com/p/flaka/issues/list More information on Flaka at http://code.google.com/p/flaka http://workbench.haefelinger.it/flaka Enjoy !!

[Announce] Flaka 1.02.01 released

2011-03-24 Thread Gilbert Rebhan
formation on Flaka at http://code.google.com/p/flaka http://workbench.haefelinger.it/flaka Regards, Wolfgang Häfelinger Gilbert Rebhan - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Question on Clearcase task - ccupdate

2011-03-24 Thread Gilbert Rebhan
Original Message Subject: Re: Question on Clearcase task - ccupdate From: Gilbert Rebhan To: Ant Users List Date: Thu Mar 24 2011 20:12:42 GMT+0100 (CET) > Original Message > Subject: Re: Question on Clearcase task - ccupdate > From: Savoy, Meli

Re: Question on Clearcase task - ccupdate

2011-03-24 Thread Gilbert Rebhan
Original Message Subject: Re: Question on Clearcase task - ccupdate From: Savoy, Melinda To: 'Ant Users List' Date: Thu Mar 24 2011 17:47:01 GMT+0100 (CET) > Thanks Dominique. I have posted on the CC forum however, I'm assuming not > too many will respond as there were not ma

Re: How to combining patternset

2011-03-05 Thread Gilbert Rebhan
Original Message Subject: How to combining patternset From: Dave Cherkassky To: user@ant.apache.org Date: Sat Mar 05 2011 06:21:14 GMT+0100 (CET) > Dear ANT community: > > I have one patternset like this: > > > > > And a second patterset like this: > > >

Re: i have on question

2011-02-22 Thread Gilbert Rebhan
Original Message Subject: i have on question From: Alexandre Priou To: user@ant.apache.org Date: Tue Feb 22 2011 21:18:09 GMT+0100 (CET) > hi > > it's possible to open a dialog box in the ant task ? > i need an answer for continued to run one task, it's possible ? > > thanks

Re: Change property value

2011-02-19 Thread Gilbert Rebhan
Original Message Subject: Re: Change property value From: Scot P. Floess To: Ant Users List Date: Sat Feb 19 2011 00:56:10 GMT+0100 (CET) > Beanshell is pretty good as well...and may as well be Java ;) > > >> solution 2, use some scripting language running in JVM >> and make

Re: Change property value

2011-02-18 Thread Gilbert Rebhan
Original Message Subject: Change property value From: shaffic To: user@ant.apache.org Date: Fri Feb 18 2011 14:24:22 GMT+0100 (CET) > > is the any alter method to change the property value which is initializd > > Thanks > Shaffic In core ant properties are immutable - for go

Re: diff between ant 1.8.1 and 1.8.2

2011-02-16 Thread Gilbert Rebhan
Original Message Subject: diff between ant 1.8.1 and 1.8.2 From: chandu uppu To: user@ant.apache.org Date: Wed Feb 16 2011 19:05:22 GMT+0100 (CET) > Hi, > > Please let me know the main difference between ant 1.8.1 and ant 1.8.2? > > Thanks, > Chandra see = http://www.apa

Re: Dual Java Compilers/Replacement for antcontrib

2011-02-15 Thread Gilbert Rebhan
Original Message Subject: Dual Java Compilers/Replacement for antcontrib From: David Weintraub To: Ant Users List , jenkinsci-users+subscr...@googlegroups.com Date: Tue Feb 15 2011 20:38:32 GMT+0100 (CET) > I've got two questions: [..] > Replacement for AntContrib > ==

Re: How to retrieve IP address

2011-01-31 Thread Gilbert Rebhan
Original Message Subject: Re: How to retrieve IP address From: Dominique Devienne To: Ant Users List Date: Mon Jan 31 2011 16:08:21 GMT+0100 (CET) > On Mon, Jan 31, 2011 at 2:03 AM, hezjing wrote: >> May I know if it is possible to retrieve the IP address of the running >> se

Re: exec (and apply) tasks cut off the output

2011-01-19 Thread Gilbert Rebhan
Original Message Subject: exec (and apply) tasks cut off the output From: Hudson To: user@ant.apache.org Date: Wed Jan 19 2011 15:10:39 GMT+0100 (CET) > Hello, > > I try to build my project with the following ant statement. >resultproperty="buildresult"> > >

Re: launch Ant from Java code

2011-01-13 Thread Gilbert Rebhan
Original Message Subject: launch Ant from Java code From: Patrick Martin To: Ant User Date: Wed Jan 12 2011 14:08:35 GMT+0100 (CET) > Hello and happy new year to you all, > > What is the recommended way for launching an Ant script/task from Java code ? > > It seems to me tha

Re: Problems with and - (directory path issues)

2011-01-10 Thread Gilbert Rebhan
Original Message Subject: Re: Problems with and - (directory path issues) From: Laurence To: user@ant.apache.org Date: 01.01.2011 21:31 Hi, Laurence > Gilbert, > > I was basically having the same problem you were (I discovered your post > when I was trying to find a better

Re: make a string lowercase

2011-01-10 Thread Gilbert Rebhan
Original Message Subject: Re: make a string lowercase From: halfsetgelly To: user@ant.apache.org Date: 07.01.2011 14:19 > You could use http://ant.apache.org/manual/Tasks/pathconvert.html > and a > http://ant.apache.org/manual/Types/mapper.html#script-mapper scriptmapper >

Re: How to script database upgrade using ANT script

2010-11-05 Thread Gilbert Rebhan
Original Message Subject: Re: How to script database upgrade using ANT script From: Java Jboss To: user@ant.apache.org Date: 05.11.2010 11:48 > This is rather urgent so I would appreciate any assistance. I need to create > a recursive loop which I can't do and also some error c

Re: echo a property

2010-10-30 Thread Gilbert Rebhan
Original Message Subject: Re: echo a property From: Vimil Saju To: Ant Users List Date: 31.10.2010 00:29 > I was wondering why you can't upgrade to ant 1.8.1? will upgrading to ant 1.8.1 solve his problem ? Maybe, he may use the props antlib = http://ant.apache.org/antlibs/p

Re: echo a property

2010-10-27 Thread Gilbert Rebhan
Original Message Subject: Re: echo a property From: Matt Benson To: Ant Users List Date: 27.10.2010 23:07 > Are you talking about the props antlib? > http://ant.apache.org/antlibs/props/index.html any way to make your props antlib work with ant 1.7.1 ? Regards, Gilbert --

Re: echo a property

2010-10-27 Thread Gilbert Rebhan
Original Message Subject: Re: echo a property From: Matt Benson To: Ant Users List Date: 27.10.2010 23:07 > > On Oct 27, 2010, at 4:05 PM, Vimil Saju wrote: > >> You will need to enable nested property expansion.ant-contrib has a Property >> Helper class to expand nested pr

Re: echo a property

2010-10-27 Thread Gilbert Rebhan
Original Message Subject: Re: echo a property From: ritchie To: user@ant.apache.org Date: 27.10.2010 22:44 > -> does not work [..] > I expect the echo to display 1. It does not happen. How else can i access > that value? see = http://ant.apache.org/faq.html#propertyvalu

Re: Number expression in Ant?

2010-10-25 Thread Gilbert Rebhan
Original Message Subject: Number expression in Ant? From: hezjing To: ant-users Date: 25.10.2010 04:31 > Hi > > Imagine that I have a property with the value "100", then I want to add 50 > to it and get the result as 150. > > How can I do this in Ant? Not with vanilla ant.

Re: Problems with and

2010-09-23 Thread Gilbert Rebhan
Original Message Subject: Re: Problems with and From: Stefan Bodewig To: user@ant.apache.org Date: 23.09.2010 06:16 > On 2010-09-22, Gilbert Rebhan wrote: > >> My workflow (Env : ant1.7.1,sun jdk1.6.0_17,windows) >> dynamically creates an antfile. >

Problems with and

2010-09-22 Thread Gilbert Rebhan
My workflow (Env : ant1.7.1,sun jdk1.6.0_17,windows) dynamically creates an antfile. The antfile has nothing special, only a task and some for logging purposes. foobar.xsd resides under path/to/generated/antfile, means = /path/to/generated/antfile antfile.xml foobar.xsd

[antxtras] Turn off verifying content on start ?

2010-09-12 Thread Gilbert Rebhan
Using antxtras anyone ? Env = antxtras 2.0.1, ant171, jdk 1.6.0_18 My antscript imports some files with macrodefs right on start via . Some of these macrodefs have attributes that contain properties as desfault value, f.e. attribute="someattr" default="${someproperty} When those macrodefs get

Re: ant-contrib 1.0b3 broken?

2010-09-08 Thread Gilbert Rebhan
Original Message Subject: Re: ant-contrib 1.0b3 broken? From: Jacob Beard To: Ant Users List Date: 08.09.2010 04:03 > Thanks for the replies. XML namespace mapping does work fine, as is > written in the docs included with later ant-contrib. For the record, > here's what I have

Re: How to show the current, real executed commands in an ANT script?

2010-08-03 Thread Gilbert Rebhan
Original Message Subject: How to show the current, real executed commands in an ANT script? From: Ben Stover To: Ant Users Date: 03.08.2010 15:28 > During the execution of an Ant script a couple of real commands with real > parameter values e.g. > for javac, jar, are exec

Re: Remove duplicate JAR file names from an XML file

2010-07-31 Thread Gilbert Rebhan
Original Message Subject: Re: Remove duplicate JAR file names from an XML file From: Michael Ludwig To: Ant Users List Date: 31.07.2010 19:19 > Looks like the is not needed in this case as > seems to imply removal of duplicates. yep, you're right :-)

Re: Remove duplicate JAR file names from an XML file

2010-07-31 Thread Gilbert Rebhan
Original Message Subject: Re: Remove duplicate JAR file names from an XML file From: Michael Ludwig To: Ant Users List Date: 31.07.2010 13:21 > Gilbert Rebhan schrieb am 31.07.2010 um 00:47 (+0200): > >> Whenever some kind of xml processing occurs within your

Re: Remove duplicate JAR file names from an XML file

2010-07-30 Thread Gilbert Rebhan
Original Message Subject: Re: Remove duplicate JAR file names from an XML file From: To: user@ant.apache.org Date: 27.07.2010 08:32 >> I have an xml file which lists JAR file names in it with space >> specified as a delimiter. There are duplications of JAR files >> name in th

Re: Looping number of times

2010-04-12 Thread Gilbert Rebhan
Original Message Subject: Looping number of times From: Jan To: Ant Users List Date: 12.04.2010 21:08 > Hi All, > > Is there any task available to loop for number of times ? > > I know we can use ant-contrib for loop for the comma seperated list, instead > of it i want to me

Re: To set property on any build status

2010-04-09 Thread Gilbert Rebhan
Original Message Subject: Re: To set property on any build status From: Pooja Ganapathi To: user@ant.apache.org Date: 09.04.2010 09:39 > > Hey Gilbert, > > Thanks, that was a useful info on try\catch. I implemented it in my script, > and it was good. > However, when I tried t

Re: To set property on any build status

2010-04-08 Thread Gilbert Rebhan
Original Message Subject: To set property on any build status From: Pooja Ganapathi To: user@ant.apache.org Date: 08.04.2010 14:14 > > hi, > > I need my ant build to sent mails based on success or failure of build. > > In brief, after the build, i want to capture the status

Re: Proposal to have an Ant task to resolve ecllipse projects' classpath dependencies at runtime.

2010-04-07 Thread Gilbert Rebhan
Original Message Subject: Re: Proposal to have an Ant task to resolve ecllipse projects' classpath dependencies at runtime. From: Ravi Roy To: Ant Users List Date: 07.04.2010 15:38 [...] >>> Since people love Ant and also Eclipse being an standard IDE, I feel at >>> time

Re: Proposal to have an Ant task to resolve ecllipse projects' classpath dependencies at runtime.

2010-04-04 Thread Gilbert Rebhan
Original Message Subject: Proposal to have an Ant task to resolve ecllipse projects' classpath dependencies at runtime. From: Ravi Roy To: user@ant.apache.org Date: 04.04.2010 11:05 > Hi, [...] > Since people love Ant and also Eclipse being an standard IDE, I feel at >

Re: Error message while using ant-contrib.jar - "taskdef A class needed by class net.sf.antcontrib.platform.ShellScriptTask cannot be found: ExecTask"

2010-03-24 Thread Gilbert Rebhan
Original Message Subject: Re: Error message while using ant-contrib.jar - "taskdef A class needed by class net.sf.antcontrib.platform.ShellScriptTask cannot be found: ExecTask" From: Ritu Ritu To: Ant Users List Date: 23.03.2010 22:00 > Thanks a lot Srikanth! > > No luck eve

Re: ant+soap+ssl

2010-03-17 Thread Gilbert Rebhan
Original Message Subject: Re: ant+soap+ssl From: Antoine Levy-Lambert To: a...@schillbaer.de Date: 16.03.2010 02:12 > > Hi, > > > > in fact there is a document at this location > > http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.javadoc.

ant+soap+ssl

2010-03-15 Thread Gilbert Rebhan
Hi, i want to access a IBM DataPower xml management interface from within ant to send status and configuration requests via soap messages. Has anyone experience with such a setting ? @IBM site only has an article that uses curl and openssl as external commands called with exec from ant = http://w

Re: Ant xmlproperty question

2010-02-26 Thread Gilbert Rebhan
Original Message Subject: Re: Ant xmlproperty question From: canadatom To: user@ant.apache.org Date: 26.02.2010 15:43 > > thanks for reply, I used xmlproperty, now I am trying to extract url from > psf.project.reference > > > http://blahblahblah1,desc1"/> > http://blahbl

Re: [ANN] AntXtras 2.0.0 (and sub-projects) released.

2009-12-09 Thread Gilbert Rebhan
Wascally Wabbit wrote: > ANNOUNCEMENT: > > The 2.0.0 release of AntXtras and its major sub-projects > has been posted to SourceForge.net for download. > > Location: http://sf.net/projects/antxtras/ > > The 2.0.0 release includes a full refresh of all > User Guides and improved online documentation.

Re: Slash issue in ANT script

2009-11-27 Thread Gilbert Rebhan
jhudson schrieb: > hi, > > My script should work both in Unix and winddows, I don't know how to handle > slash (\) in ANT script in this case. Could some one please help me. The use of the unix slash '/' is strongly recommended, whether you're on windows or not., ant(java) will handle it correctl

Re: How to do a custon task return a string

2009-11-25 Thread Gilbert Rebhan
Júlio Cesar Bueno Cotta schrieb: > Hello people, > I need your help again. > I coded a custon task in Java and I need return a String to the build.xml > where the task is called. > How can I do that? > I am thinking in send write the string into a property file and so read the > file from the ant b

Re: Set value if directory exists

2009-09-11 Thread Gilbert Rebhan
Mikael Petterson schrieb: > Hi, > > How can I set the value of out.dir to /local/tmp/ if it exists. > Currently the second option when /tmp exists set the value out.dir to > /tmp/myuser > > I know that /local/tmp exists. > > //mike > >file="/local/tmp" /> >type="dir" f

Re: Does mail task work on Eclipse on Mac OSX 10.6?

2009-09-10 Thread Gilbert Rebhan
Gilbert Rebhan schrieb: > > Maybe there are problems on MacOS X - i've read from issues with > java and MacOS X - , i wish i had an Apple around > to test it, but .. P.S.: might be a problem with Ant 1.7.0 too, never used that version. If using an Eclipse Version that ships

Re: Does mail task work on Eclipse on Mac OSX 10.6?

2009-09-10 Thread Gilbert Rebhan
Chris Kimball schrieb: [..] > Does this script run [...] > - > > MailTest.xml ANT_HOME: ${ant.home} > > > ---

Re: Proposal for improving Ant output (post-1.7)

2009-09-03 Thread Gilbert Rebhan
Ernst de Haan schrieb: > Here's an initial proposal for improving Ant output, making it less > verbose: > http://ernstdehaan.blogspot.com/2009/09/improving-ant-output.html > > What do you think? Do you consider the current Ant output too verbose or > just fine? Sometimes it's too verbose as some

Re: antcontrib or antelope

2009-09-02 Thread Gilbert Rebhan
Raja Nagendra Kumar schrieb: > Hi, > > I see similar tasks from AntContrib and antelope. > > Which one is the right one and the latest one which is in having active > development.. > > Some of the tasks in both seem to be different in signature too. = Release dates = http://sourceforge.net/proj

Re: Space issues in PATH variable

2009-09-02 Thread Gilbert Rebhan
Rajesh Kumar (IN4774) schrieb: > Hi All, > > I am facing some issues in terms of white space in PATH in ant script. Can > you please help me with below line in unix env? > > try = file='"${VSSCheckout}/CICS_REPORTS/Message Handler/C++ Programs/run.sh"' Regards, Gilbert

Re: Basic question about ant

2009-08-31 Thread Gilbert Rebhan
veena pandit schrieb: > Hi, > > I was able to fix the environment variable and run ant from the command > line. I tried the things you listed below but from eclipse it still gives > me an error saying it does not recognize the program wsgen. > did you try the absolute path, f.e. ... ... ??

Re: Basic question about ant

2009-08-28 Thread Gilbert Rebhan
veena pandit schrieb: > Well, I wonder why I cant run ant from the command line. Even though the > path is set. > Do I have to set classpath as well? i assume your're on windows .. ant installation in general = set ANT_HOME=path/to/root/of/your/antinstalldirectory set PATH=%PATH%;%ANT_HOME%/b

Re: Help needed regarding Java task

2009-08-27 Thread Gilbert Rebhan
Nadun Herath schrieb: ... > I have to run a Java program Called MiniJavaParser using different file > names as arguements several > times using Java Task. When it runs it gives the message > > "MiniJava program parsed successfully" or Encountered errors during > parse. > > I wan

Re: quiete mode for

2009-08-26 Thread Gilbert Rebhan
Michael Hüttermann schrieb: > Hello, > > how can I use the tasks cvs, exec and xslt in a quiet mode, that the > complete output is only written to a file or totally hidden/deleted? > > Or: how can I configure an Ant script to write all its output to a file, > or delete it completely? Then, it has

Re: ANT: Build Script Error: net/sf/antcontrib/antlib.xml. It could not be found

2009-08-12 Thread Gilbert Rebhan
RaviVerma schrieb: > Hi, > Initially the error was follows: > ***E 1 ** [...] > Ant could not find the task or a class this task relies upon. [...] > ***E 1 ** > > The build script for the above mentioned error contained these lines: > ** Script 1 *** >

Re: ANT: Build Script Error: net/sf/antcontrib/antlib.xml. It could not be found

2009-08-11 Thread Gilbert Rebhan
RaviVerma schrieb: > BUILD FAILED > file:/u06/bacms/xml/clean_build.xml:72: taskdef class "ignore"/> cannot be > found haven't heard of a taskdef named ignore either, maybe a typo or a self written task ?! Regards, Gilbert - T

Re: where to keep jar files

2009-08-06 Thread Gilbert Rebhan
Raagu schrieb: > In my build script, I have made use of , and other tasks > which made use of external jars . I have kept those jar files in > ${ANT_HOME}\lib directory.. But I dont want to keep those jar files in Ant > Lib's directory.. So Is there any way to keep those jar files in other > dire

Re: Problem while sending Mail through ANT

2009-07-23 Thread Gilbert Rebhan
Ajit Dusane schrieb: > Hi, > > I want to send one file as an attachment while sending mail through ANT. > But I am getting one error while sending mail. Could you please tell me the > way it can be resolved??? > > I am using Ant version 1.7.1 > > Error: > Email: > [mail] Failed to initiali

Re: oddity

2009-06-17 Thread Gilbert Rebhan
Stefan Bodewig schrieb: > On 2009-06-17, Rebhan, Gilbert wrote: > >> It wasn't an issue with jdk, but the processNode Method in XmlProperty > >> if (nodeText.trim().length() != 0 || emptyNode) { >> addProperty(prefix, nodeText, id); >> } > >> when trim removes all whi

Re: AW: ant 1.7.1 bug in with antcall !?

2009-06-10 Thread Gilbert Rebhan
Hi Markus, Grimm, Markus schrieb: > Hi Gilbert, > > at that time I found a workaround for my problem at > http://marc.info/?l=ant-user&m=123900769210029&w=2 > > If we look at the same sample script, so you have to open the log-file in the > first target, that is > executed and close it in the

ant 1.7.1 bug in with antcall !?

2009-06-09 Thread Gilbert Rebhan
Hi, after (finally) upgrading from ant 1.6.5 to ant 1.7.1 a teammate discovered some strange behaviour = He makes heavy use of antcall and uses the task. Now with ant 1.7.1 there are a lot of 0 byte lines in the logs, his editor jumps automatically in hexmode when opening such a logfile. Compa

Re: Final Target

2009-05-25 Thread Gilbert Rebhan
Knuplesch, Juergen schrieb: > Hello, > > I just implemented a logger that runs a final Target. > In this target I save the logfile to a buildresult location in our network. > > 1.Is there an other way to do this (The logger knows, when the build is > finished, and so he can run the final target)

Re: Delete N directories that match a regexp

2009-03-26 Thread Gilbert Rebhan
Michael Delaney schrieb: > I'm look for a way, with using ant "out of the box", to find a list of > directories and sort them via date then deleted the oldest three > directories. i would go with antcontrib , see = http://ant-contrib.sourceforge.net/tasks/tasks/timestampselector.html ok, it's no

Re: How to combine the values of 2 property files and putting into another property name

2009-03-24 Thread Gilbert Rebhan
Gilbert Rebhan schrieb: > Gilbert Rebhan schrieb: >> David Weintraub schrieb: >>> On Tue, Mar 24, 2009 at 6:21 AM, NR031 wrote: >>>> >>> That doesn't work. See: >>> http://ant.apache.org/faq.html#propertyvalue-as-name-for-property >&

Re: How to combine the values of 2 property files and putting into another property name

2009-03-24 Thread Gilbert Rebhan
Gilbert Rebhan schrieb: > David Weintraub schrieb: >> On Tue, Mar 24, 2009 at 6:21 AM, NR031 wrote: >>> >> That doesn't work. See: >> http://ant.apache.org/faq.html#propertyvalue-as-name-for-property > [...] > > you may try the task from an

Re: How to combine the values of 2 property files and putting into another property name

2009-03-24 Thread Gilbert Rebhan
David Weintraub schrieb: > On Tue, Mar 24, 2009 at 6:21 AM, NR031 wrote: >> > > That doesn't work. See: > http://ant.apache.org/faq.html#propertyvalue-as-name-for-property [...] you may try the task from antcontrib, i believe the variable task from antelope will work too. see= http://marc

Re: Read property based on another property

2009-03-13 Thread Gilbert Rebhan
Daniel Modin schrieb: > Hi! > I want to read a property based on another property. [...] there's also a hack via task from antcontrib, see = http://marc.info/?l=ant-user&m=121318477419672&w=2 Regards, Gilbert - To unsubscribe

Re: Invoking Ant programmatically with an Java-String

2009-03-08 Thread Gilbert Rebhan
Jan Bartel schrieb: > Is there any possibility to invoke ant with an Java-String without using a > real build.xml ??? if you want to use Ant without xml you may try = 1.Groovy / AntBuilder http://groovy.codehaus.org/Ant+Integration+with+Groovy or 2.Leafcutter https://leafcutter.dev.java.net/

Re: Task replace - how to use a XML property file

2009-01-20 Thread Gilbert Rebhan
Lars Ohlén schrieb: > Hi, > I have done some string substitution on a set of files using the task > replace > > (with a replacefilterfile refereeing to property file) > > > > Everything works like expected but the users would prefer to be able to > > enter the properties in XML instead th

Re: problem: how to copy multiple directories in ant

2009-01-20 Thread Gilbert Rebhan
bmilbr...@outstart.com schrieb: > Worked great. Thanks gilbert. I had used ant-contrib's looping before, > but felt surely ant offered a 'native' way to solve this problem, just > that I hadn't mastered dirset/fileset/pathconvert, etc. I intuited wrong. > > a suggestion for the ant-team: > The doc

Re: execute the final target always

2009-01-16 Thread Gilbert Rebhan
Leo Arias F. schrieb: [...] > > So, when test.integration.smoke fails, report is not executed. Todo mal :( > > I'll appreciate your help a lot. > thanks, > pura vida. maybe try/catch/finally from antelope or antcontrib is an option !? see = http://antelope.tigris.org/ http://antelope.tigris.or

Re: NoSuchMethodError when building a task

2008-12-01 Thread Gilbert Rebhan
Greg Roodt schrieb: > The ejbgen task seems to be a Weblogic specific task. I think you would have > more luck asking BEA for support. > BTW, setting the source attribute=2.18 seems incorrect to me, I would try > 1.5, but thats a major guess. I have no knowledge of this task. Is the ejbgen task in

Re: call another program with ant

2008-11-28 Thread Gilbert Rebhan
Kate McCole schrieb: > Is there any task for ant to call other scripts or files? > Thanks call other scripts, programs ... with task, see= http://ant.apache.org/manual/CoreTasks/exec.html call other ant scripts with task, see= http://ant.apache.org/manual/CoreTasks/ant.html also subant, see= h

Re: rapc problem

2008-11-22 Thread Gilbert Rebhan
Patrick Waugh schrieb: > Hi guys, > > I'm using this: > > > > > > > > > and trying to add the quiet attribute, but get this: > > BUILD FAILED > /home/patrick/repo/dib/common/build.xml:170: The following error > occurred while executing this line: > /home/pa

Upgrade from 1.6.5 to 1.7.1

2008-11-20 Thread Gilbert Rebhan
Hi, i want to upgrade from ant 1.6.5 to 1.7.1 Some questions, hope for some answers/tips due to your practical experience. Given is a workflow, with a bunch of selfwritten tasks, macrodefs/scriptdefs (mostly ruby),running on windows 2000/ 2003/XP and AIX, with sun jdk 1.5.0_11 1. Are there any

Re: smoke testing after ant?

2008-11-10 Thread Gilbert Rebhan
jpyork schrieb: >> some links to get you started = >> >> CruiseControl >> http://luntbuild.javaforge.com/ >> >> Luntbuild >> http://luntbuild.javaforge.com/ >> >> http://confluence.public.thoughtworks.org/display/CC/CI+Feature+Matrix >> > I thought these programs were for building, I currently use

Re: smoke testing after ant?

2008-11-10 Thread Gilbert Rebhan
jpyork schrieb: > I am just wondering if anyone does automated smoke testing after a build and > if so...what program do they use and do they have ant triggering it? I am > looking to do a very basic smoke test after my builds and trigger it with > ANT...so maybe a login and then hit some basic pa

Re: scriptdef with nested fileset and mapper

2008-10-19 Thread Gilbert Rebhan
Stefan wrote = > /* > I'm trying to write a custom copy task using scriptdef & ruby > but I don't find the documentation I need. The script should > (as an example) do the same as the copy task. How do I access > the original file and the mapped file ? Like in this skeleton: > > > ??? > >

Re: scriptdef with nested fileset and mapper

2008-10-17 Thread Gilbert Rebhan
Gilbert Rebhan schrieb: > Stefan wrote = > /* > I'm trying to write a custom copy task using scriptdef & ruby > but I don't find the documentation I need. The script should > (as an example) do the same as the copy task. How do I access > the original file an

Re: scriptdef with nested fileset and mapper

2008-10-17 Thread Gilbert Rebhan
Stefan wrote = /* I'm trying to write a custom copy task using scriptdef & ruby but I don't find the documentation I need. The script should (as an example) do the same as the copy task. How do I access the original file and the mapped file ? Like in this skeleton: ???

Re: how to copy and edit a section of a text file

2008-10-16 Thread Gilbert Rebhan
Rebhan, Gilbert schrieb: > > -Original Message- > From: ca_iancu [mailto:[EMAIL PROTECTED] > Sent: Friday, October 10, 2008 2:11 AM > To: user@ant.apache.org > Subject: Re: how to copy and edit a section of a text file > > /* > No, I mean copy the entire section as written down before: fr

Re: how to copy and edit a section of a text file

2008-10-09 Thread Gilbert Rebhan
ca_iancu schrieb: >> Can you provide a little more details, xmlfile how it is and how it > More details, certainly! I need to find/read/duplicate a section of an xml > file, then append it and make a simple change to the added section. I need > to go from: > > > > > >

Re: how to copy and edit a section of a text file

2008-10-09 Thread Gilbert Rebhan
ca_iancu schrieb: > This is a commercial library. I want to use existing functionality from Ant > to accomplish this task. I am certain it is possible, I just do not know Ant no, it's free, you even get the sources :-) Of course there are many ways to Rome, but when dealing with xml i recommend th

Re: failonerror and forking

2008-07-15 Thread Gilbert Rebhan
Gilbert Rebhan schrieb: [EMAIL PROTECTED] schrieb: Hello everybody, I am running a forked task as part of my ant job using the following arguments. When I run the job, ant ends with "BUILD SUCCESSFULL" even if there was an exception raised in the forked task. But I would need

Re: failonerror and forking

2008-07-15 Thread Gilbert Rebhan
[EMAIL PROTECTED] schrieb: Hello everybody, I am running a forked task as part of my ant job using the following arguments. When I run the job, ant ends with "BUILD SUCCESSFULL" even if there was an exception raised in the forked task. But I would need the job to end with an error code. Has an

Re: Continu exec task, while leaving ant

2008-07-11 Thread Gilbert Rebhan
jantje schrieb: works with apache tomcat AND with qemu, I came to this conclusion after doing some tests.. They do not work, when they are in from ant-contrib, so this does not work: RESULT: "BUILD SUCCESFUL", nothing else.. a small test [EMAIL PR

Re: How to echo the classpathref?

2008-07-09 Thread Gilbert Rebhan
Daniel Gröndal schrieb: Hi! I usually use a macro such as: --- echoing fileset @{filesetref} --- [EMAIL PROTECTED] And then: This gives me the opportunity to convert the path separator and su

Re: Continu exec task, while leaving ant

2008-07-07 Thread Gilbert Rebhan
jantje schrieb: Hi there, is it possible to start (in ant) something in a shell and let this running, while stopping ant. f.i: with antcontrib ... you may kick off a new process, see = http://ant-contrib.sourceforge.net/tasks/tasks/forget.html Regards, Gilbert -

Re: How do I call antcall once per line of file using line value as parameter?

2008-07-02 Thread Gilbert Rebhan
Hi, Matt Matt Benson schrieb: Trying to catch up on this thread. Are you saying you want to do something for each line of a file? No problem. The ResourceCollection API was designed to return an Iterator partly with the aim of maintaining compatibility with antcontrib's for and foreach task

Re: How do I call antcall once per line of file using line value as parameter?

2008-07-02 Thread Gilbert Rebhan
Paul Taylor schrieb: I dont understand Ruby so this wouldnt be an option for me. It just seems that this is such a common problem that it shoulg go into ant proper As you already noticed, (core) ant has it limits. OK, to be fair, it was never meant as a scripting language, but is often used lik

Re: Setting an absolute path to an other PC

2008-07-01 Thread Gilbert Rebhan
Stéphane Vandenbogaerde schrieb: Actually, I don't code in Java. I use Ant with Eclipse only for Buckminster (used for C++ projects). I am delighted to see that I can use the Windows syntax. i strongly recommend using the unix syntax with ant, means always use '/' instead of '\' if possible.

Re: Multiple

2008-07-01 Thread Gilbert Rebhan
Raymond Berg (ALLETE) schrieb: I've got a situation where I need to search deployment files for various server names of a variable count when moving from staging to production automatically. However, I can't seem to figure out how to handle a dynamic replace count. sorry - it's not clear to me

Re: is a property defined?

2008-06-29 Thread Gilbert Rebhan
Guy Catz schrieb: How can I tell if a property is defined? I've tried from contrib like this - if .. ${var} = "" ... That's fine for properties which was set to "", but not for properties who haven't set at all. use condition isset, see ant manual conditions, f.e. = Regards, Gilbert

Re: How do I escape the " in the replace command?

2008-06-24 Thread Gilbert Rebhan
Simon Jeffrey schrieb: This version below works :) !!! Very good to know, and really the easiest, most straight-forward way to handle double qoutes in your source and target strings. token='JAVA_OPTIONS="${JAVA_OPTIONS}"' value='JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.ProductionMo

Re: How do I escape the " in the replace command?

2008-06-24 Thread Gilbert Rebhan
Rick Genter schrieb: The HTML entity for " is ", not "e; (http://www.w3.org/TR/html401/sgml/entities.html#h-24.4.1). Did the OP have a typo in his e-mail, or did he try the wrong entity? don't know if he had a typo in it, but you're right, of course it should be " instead of "e; but i think =

Re: How do I escape the " in the replace command?

2008-06-24 Thread Gilbert Rebhan
Gilbert Rebhan schrieb: Simon Jeffrey schrieb: I am trying to execute the command below as part of our weblogic install. Yes the string is part of a file. I have tried using "e;, \", and \Q \E, but none of these options has worked. I was not aware of the regexp option. untested

Re: How do I escape the " in the replace command?

2008-06-24 Thread Gilbert Rebhan
Simon Jeffrey schrieb: I am trying to execute the command below as part of our weblogic install. Yes the string is part of a file. I have tried using "e;, \", and \Q \E, but none of these options has worked. I was not aware of the regexp option. untested, try with = if that doesn't wor

Re: How do I escape the " in the replace command?

2008-06-24 Thread Gilbert Rebhan
Simon Jeffrey schrieb: I am new to ant and I am trying to use the replace command to replace a string that contains the " character. you have to provide more details = What did you try already ? Have you tried with regexp ? Where comes that string from, is it part of a file ? How does the file

Re: Handling files without extension with Fileset

2008-06-14 Thread Gilbert Rebhan
Stefano Nichele schrieb: Hi all, is there a way to define a FileSet for the files in a given directory without extension ? I'm using ANT 1.6.5. Regards, Gilbert - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: how to check that a property exist

2008-06-12 Thread Gilbert Rebhan
[EMAIL PROTECTED] schrieb: but I don't know how to use it. My ant version is: Apache Ant version 1.6.5 compiled on June 2 2005 and I read that script task depends on external libraries not included in the Ant distribution. it's only the BeanScriptingFramework = bsf.jar and the language specifi

Re: Reading XML

2008-06-02 Thread Gilbert Rebhan
Steven Guitar schrieb: Is it possible for ant to read an XML file and package binaries according to what the XML file dictates at run time? Or would i have to create a custom task for that? Ant can handle a xmlproperty file and your ant script may be driven by the properties defined in that fi

Re: how to echo propertyset to file?

2008-06-02 Thread Gilbert Rebhan
Hi, David David Weintraub schrieb: Just curious... Where is the ${tostring:} function and other types of functions documented in Ant Once i've read here on the list about it and from that on i've used it all the time. It's not documented in the manuals, but well known among experienced ant us

  1   2   >