AW: Replacing value in an XML file using replaceregexp

2019-10-19 Thread jhm
Simple solution Another possibility is using a template file and . The simple solution is based on your "requirement" > Replace: > 12467abc => 34567abc > 12467def => 34567def > 12467xyz => 34567xyz For heavy

Replacing value in an XML file using replaceregexp

2019-10-16 Thread Om Omkar
ef", "/servlet/servlet.FileDownload?file=12467xyz")) I want to replace below values in above lines using build.xml file. Replace: 12467abc => 34567abc 12467def => 34567def 12467xyz => 34567xyz I have made this query please suggest. I will use below query two times as there is two numbers to replace.

Re: NoSuchMethodException using ant junit task against junit 5 5.3.1

2018-10-03 Thread Jaikiran Pai
Hello Dave, Can you add some details like what jars (especially the ones that contain the Ant JUnit task classes) are present in the classpath? An output of ant -v might also be useful. There was an unintentional change in one of 1.10.x releases which affected the signature of the clone() method

NoSuchMethodException using ant junit task against junit 5 5.3.1

2018-10-03 Thread Dave Brosius
I am running ant 1.10.5 against the 5.3.1/1.3.1 of junit 5 and getting java.lang.NoSuchMethodError: org.apache.tools.ant.types.CommandlineJava.clone()Lorg/apache/tools/ant/types/CommandlineJava; Anyone know what i'm missing? It works fine with 5.2.0/1.2.0. -- ---

Using Ant with JSPs - Jasper JSPC task with an excluded list of JSP files to compile

2017-08-11 Thread M. Manna
Hello, Just running this by Apache Ant user group since I am not sure whether anyone has a workaround for this yet. i am not sure if Jasper (JSPC) currently supports excluding a list of JSP files using typical or directive. Jpsc is a directory based task so it does have pathname include

Re: Extracting individual tokens after using stringtokenizer

2015-05-25 Thread Al Le
but it seems to be overly complicated for getting individual tokens out when I am able to separate them using stringtokenizer. Isn't there any other simplere way to do what I am after? I have not fully understood your case, but I generally use the 'script' task (with JavaScri

RE: Extracting individual tokens after using stringtokenizer

2015-05-25 Thread WebServices Development
Thanks. I had seen that link before, but it seems to be overly complicated for getting individual tokens out when I am able to separate them using stringtokenizer. Isn't there any other simplere way to do what I am after? -Original Message- From: Peter West [mailto:li...@pbw.

Re: Extracting individual tokens after using stringtokenizer

2015-05-25 Thread Peter West
xtract individual tokens in ANT after using stringtokenizer > to separate the tokens out. Is it possible? How do I do it without using any > other external ant libraries like ant-contrib? > > I attempted to do below, but am stuck at

Extracting individual tokens after using stringtokenizer

2015-05-25 Thread WebServices Development
I am trying to extract individual tokens in ANT after using stringtokenizer to separate the tokens out. Is it possible? How do I do it without using any other external ant libraries like ant-contrib? I attempted to do below, but am stuck at extracting individual tokens

mail task results in authentication failure when using gmail as smtp server

2015-02-22 Thread jason mazzotta
To whom it may concern, I am trying to use gmail as an smtp server with the ant mail task. I have set up the task as follows: This worked a few months ago, but these days, when I run my ant build file I get the follow error: Failed to send email: 53

RE: Error about "Provider xx not a subtype" from using Ant XJC task

2015-01-29 Thread Martin Gainty
> From: dk0...@att.com > To: user@ant.apache.org > Subject: RE: Error about "Provider xx not a subtype" from using Ant XJC task > Date: Thu, 29 Jan 2015 17:54:40 + > > > -Original Message- > > From: KARR, DAVID > > Sent: Tuesday, Janua

RE: Error about "Provider xx not a subtype" from using Ant XJC task

2015-01-29 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Tuesday, January 20, 2015 10:59 AM > To: Ant Users List > Subject: RE: Error about "Provider xx not a subtype" from using Ant XJC > task > > > -Original Message- > > From: KARR, DAVID

RE: Error about "Provider xx not a subtype" from using Ant XJC task

2015-01-20 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Friday, January 16, 2015 9:44 AM > To: user@ant.apache.org > Subject: Error about "Provider xx not a subtype" from using Ant XJC task > > I'm using the Ant XJC task, and attempting to load two JAXB exte

Error about "Provider xx not a subtype" from using Ant XJC task

2015-01-16 Thread KARR, DAVID
I'm using the Ant XJC task, and attempting to load two JAXB extensions. One is a local copy of the "element wrapper" plugin, and the other the "fluent api". When I run this, I get the following error: Caused by: java.util.ServiceConfigurationError:

Re: using ant for non build tasks

2014-01-15 Thread Carlos Araya
> >> currently, it's on a windows server, but we have linux servers in our >> environment too. i was thinking of using an ant script to handle/drive >> most of this execution. as ant is primarily using for building (java >> appliations), does a

Re: using ant for non build tasks

2014-01-15 Thread Grüner Heinrich
ed a process to do the following, archive the input, unzip the zip files, and execute some transformation on some of the data. currently, it's on a windows server, but we have linux servers in our environment too. i was thinking of using an ant script to handle/drive most of this execution.

Re: using ant for non build tasks

2014-01-15 Thread Jay Bryant
some zip files are > pulled from a vendor. i need a process to do the following, archive the > input, unzip the zip files, and execute some transformation on some of the > data. > > currently, it's on a windows server, but we have linux servers in our > environment to

Re: using ant for non build tasks

2014-01-15 Thread Rusi Popov
formation on some of the data. currently, it's on a windows server, but we have linux servers in our environment too. i was thinking of using an ant script to handle/drive most of this execution. as ant is primarily using for building (java appliations), does anyone see issues with usi

RE: using ant for non build tasks

2014-01-15 Thread McNish, Budd
Message- From: Mark Lybarger [mailto:mlybar...@gmail.com] Sent: Wednesday, January 15, 2014 8:36 AM To: Ant Users List Subject: using ant for non build tasks hi, i'm putting together a simple business "flow" process. some zip files are pulled from a vendor. i need a pr

using ant for non build tasks

2014-01-15 Thread Mark Lybarger
e have linux servers in our environment too. i was thinking of using an ant script to handle/drive most of this execution. as ant is primarily using for building (java appliations), does anyone see issues with using ant to drive this file processing and manipulation? thoughts/ideas are very welcome! thanks, -mark-

Re: getting information out of the source file and using it in apply tasks

2013-08-03 Thread Graydon Saunders
On Fri, Aug 2, 2013 at 2:11 AM, Jan Matèrne (jhm) wrote: > My idea is reading the SGML file using some filterchains and regexps for > extracting the DTD-name. > But I dont know any way to inject that into . > > So the workaround here is iterating over the for yourself >

Re: getting information out of the source file and using it in apply tasks

2013-08-03 Thread Graydon Saunders
On Fri, Aug 2, 2013 at 7:19 AM, Peter West wrote: > If you're ok with including an extra couple of build files you can have a > look at > > http://codepulsive.blogspot.com.au/2013/05/ant-edit-property-values.html > and > > http://codepulsive.blogspot.com.au/2013/05/ant-process-elements-in-list.ht

Re: getting information out of the source file and using it in apply tasks

2013-08-02 Thread Peter West
c/ant/editstring.xml and http://pbw.id.au/src/ant/listutils.xml All standard ant, no compiled components. Peter West "Ask and it will be given you; seek, and you will find; knock, and it will be opened to you." On 02/08/2013, at 6:35 AM, Graydon Saunders wrote: > Hi -- > > I&

AW: getting information out of the source file and using it in apply tasks

2013-08-01 Thread jhm
My idea is reading the SGML file using some filterchains and regexps for extracting the DTD-name. But I dont know any way to inject that into . So the workaround here is iterating over the for yourself - antcontrib: for, foreach - loop using script (bsh, groovy, javascript) inside the buildfile

getting information out of the source file and using it in apply tasks

2013-08-01 Thread Graydon Saunders
Hi -- I'm using ant 1.9.2 via a Fedora rawhide package on Linux. I have bunch of SGML files (in complex, arbitrary directory structures which I must preserve) that have different SGML DTDs; these need to be normalized to XML. One of the pieces of information required by the program that

AW: Automate saving reports using ANT in multiple folder/directory

2013-06-06 Thread jhm
t.apache.org > Betreff: Automate saving reports using ANT in multiple folder/directory > > Hi, i am trying to run a testng.xml file whereby i will get to automate > the saving of reports using build.xml However i am not too sure how to > use ANT. This will be my first ANT project. Any a

Automate saving reports using ANT in multiple folder/directory

2013-06-06 Thread Shin ta
Hi, i am trying to run a testng.xml file whereby i will get to automate the saving of reports using build.xml However i am not too sure how to use ANT. This will be my first ANT project. Any advice will be appreciated. my build.xml are as followed

Re: ANT Custom tasks - difference between using getProject() and "new Project()"

2013-05-27 Thread Antoine Levy Lambert
related to Ant, you would create a new Project instance. Regards, Antoine On May 26, 2013, at 10:41 AM, WebServices Development wrote: > I am trying to create a custom ant task to copy files to a specified location > based on some criteria provided to the task. > > I am usin

ANT Custom tasks - difference between using getProject() and "new Project()"

2013-05-26 Thread WebServices Development
I am trying to create a custom ant task to copy files to a specified location based on some criteria provided to the task. I am using ANT's Copy task for my custom task. I have seen some discussion about using one of the two - getProject() and "new Project()" but hav

AW: AW: Automating cvs modules checkout with build.psf using Ant Script

2013-02-24 Thread jhm
> Sorry. I am not getting your point. I am trying to use the > projectSetImport to get the project names from the build.psf which is > below. > > > > Loaded projects = ${ImportedProjectNames} > Have a look at the documentation http://publib.boulder.ibm.com/infocenter/radhelp/v8

Re: AW: Automating cvs modules checkout with build.psf using Ant Script

2013-02-24 Thread salt2012
://ant.1045680.n5.nabble.com/Automating-cvs-modules-checkout-with-build-psf-using-Ant-Script-tp5713862p5713865.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org

AW: Automating cvs modules checkout with build.psf using Ant Script

2013-02-23 Thread jhm
> I am able to checkout the projects directly in ant script using cvs > commands but i need an sample for the following requirement. Please > help. > > Need to run build.xml ant script with project name as argument. Ihe > script should take the build.psf and needs to che

Automating cvs modules checkout with build.psf using Ant Script

2013-02-22 Thread salt2012
Hi All, I am able to checkout the projects directly in ant script using cvs commands but i need an sample for the following requirement. Please help. Need to run build.xml ant script with project name as argument. Ihe script should take the build.psf and needs to checkout the required projects

FW: Using jdk 1.6 wildcard in classpath using Ant 1.8.4

2013-01-10 Thread Prakash, Dharma
Hi, I am trying to load external library by using jdk1.6 wild card syntax in Ant 1.8.4 and I get the below error, can anyone help me how to resolve this issue? Below is my error and build script I am using.. Buildfile: C:\CCSTG\Workspace_V7\AntBuildTest\build.xml init: compile: [echo

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

2012-11-23 Thread abhishek2803
You can try something like this as well. -- View this message in context: http://ant.1045680.n5.nabble.com/Error-message-while-using-ant-contrib-jar-taskdef-A-class-needed-by-class-net-sf-antcontrib-platform-tp1356639p5713690.html Sent from the Ant - Users mailing list archive at Nabble.com

Re: Unable to send a attachement through mail using ANT

2012-10-06 Thread Ajay
Hi Siva, I am still facing the same problem. Could you please tell me what is the latest version of .jar file you have used? Thanks in advance, Ajay -- View this message in context: http://ant.1045680.n5.nabble.com/Unable-to-send-a-attachement-through-mail-using-ANT-tp5713538p5713588.html

Re: Unable to send a attachement through mail using ANT

2012-09-23 Thread mcasivakumar
Hi, I solved this problem by adding the latest .jar file to the library. Now it works fine Regards, Siva -- View this message in context: http://ant.1045680.n5.nabble.com/Unable-to-send-a-attachement-through-mail-using-ANT-tp5713538p5713575.html Sent from the Ant - Users mailing list

Re: Problems using URL tasks

2012-09-14 Thread Harold Putman
fileName=c:/Users/marvin/Documents/B2Development/LINF-test.war&clean=true&available=true On Fri, Sep 14, 2012 at 3:09 PM, Rob Tanner wrote: > Hi, > > I have a project where I need to do a specific GET request to a server to > let it know that a new application has been copied to a mounted partit

Problems using URL tasks

2012-09-14 Thread Rob Tanner
Hi, I have a project where I need to do a specific GET request to a server to let it know that a new application has been copied to a mounted partition and needs to be installed (I was doing this manually, but would like to automate it). If I to the GET without any parameters, the request works

RE: java.security.AccessControlException when using Ant, but runs ok when invoking java from console

2012-09-01 Thread Martin Gainty
. > Date: Sun, 2 Sep 2012 01:32:51 +0300 > Subject: java.security.AccessControlException when using Ant, but runs ok > when invoking java from console > From: mperdik...@gmail.com > To: user@ant.apache.org > > I have the following *Ant < java >* task: >

java.security.AccessControlException when using Ant, but runs ok when invoking java from console

2012-09-01 Thread Menelaos Perdikeas
I have the following *Ant < java >* task: When I run *Ant* the execution of the **task fails (see trace below my signature). When I copy-paste the echoed classpath and run my code from the command line with *java -classpath ..* the execution succeeds! I was a

Re: What is the exact way to generate WSDL2Java code using Ant ?

2012-06-27 Thread Scot P. Floess
If you are using JDK 1.6+, you can probably call out to wsimport... On Wed, 27 Jun 2012, Andun Gunawardena wrote: Please help me about the subject. Thanks AndunSLG Scot P. Floess RHCT (Certificate Number 605010084735240) Chief Architect FlossWare http://sourceforge.net

What is the exact way to generate WSDL2Java code using Ant ?

2012-06-27 Thread Andun Gunawardena
Please help me about the subject. Thanks AndunSLG

Re: AntUnit - Using assertResourceExists to check URL

2012-06-08 Thread Stefan Bodewig
On 2012-06-08, Pascal Schumacher wrote: > I opened a bugzilla issue: > https://issues.apache.org/bugzilla/show_bug.cgi?id=53383 Great, thanks Stefan - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additiona

Re: AntUnit - Using assertResourceExists to check URL

2012-06-08 Thread Pascal Schumacher
Hello Stefan, thanks for the quick response. :-) I opened a bugzilla issue: https://issues.apache.org/bugzilla/show_bug.cgi?id=53383 Pascal -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de ---

Re: AntUnit - Using assertResourceExists to check URL

2012-06-07 Thread Stefan Bodewig
On 2012-06-07, Pascal Schumacher wrote: > Hello everybody, > according to the AntUnit 1.2 documentation > "assertResourceExists > Asserts that a given resource exists. This is a generalization of > assertFileExists and allows to test for arbitrary resources." > it should be possible to check if

AntUnit - Using assertResourceExists to check URL

2012-06-07 Thread Pascal Schumacher
Hello everybody, according to the AntUnit 1.2 documentation "assertResourceExists Asserts that a given resource exists. This is a generalization of assertFileExists and allows to test for arbitrary resources." it should be possible to check if a URL exists. But I can't figure out how to do i

Re: Trouble building using bcel

2012-03-05 Thread Jacob Silterra
y. Is there a possibility of >> a path conflict? > > The class behind classfileset is defined in ant-apache-bcel.jar and > requires classes from bcel-5.2.jar - so you need both jars. > >> This is the error mesage: >> Unable to load dependency analyzer: >> org.apache.t

Re: Trouble building using bcel

2012-03-02 Thread Stefan Bodewig
FullAnalyzer > Platform: > Mac OS X 10.7 > Apache Ant(TM) version 1.8.2 compiled on October 14 2011 > Using bcel-5.2.jar, in ~/.ant/lib and also /usr/share/ant/lib Is this a system installed Ant? There may be an additional package for optional tasks that didn't install. Stefan

Trouble building using bcel

2012-03-02 Thread Jacob Silterra
rly. Is there a possibility of a path conflict? This is the error mesage: Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.FullAnalyzer Platform: Mac OS X 10.7 Apache Ant(TM) version 1.8.2 compiled on October 14 2011 Using bcel-5.2.jar, in ~/.ant/lib and also /usr/sh

Re: Question about using Tar with Hadoop files

2011-12-22 Thread Stefan Bodewig
On 2011-12-22, Stefan Bodewig wrote: > On 2011-12-19, Frank Astier wrote: > Later versions of tar support workarounds (namely ustar later used by > GNU tar and BSD tar aswell) and even later the newer POSIX standard > added PAX extension headers to address this (and other things like file > names

Re: Question about using Tar with Hadoop files

2011-12-22 Thread Stefan Bodewig
On 2011-12-19, Frank Astier wrote: > I’m trying to use the Apache Tar package (1.8.2) for a Java program > that tars large files in Hadoop. I am currently failing on a file > that’s 17 GB long. First of all, do yourself a favor and use Commons Compress rather than Ant's tar package. Traditional

Re: Question about using Tar with Hadoop files

2011-12-20 Thread Andy Stevens
You didn't mention what version of Ant was involved... Andy. On 20 Dec 2011 05:31, "Frank Astier" wrote: > Hi - > > I’m trying to use the Apache Tar package (1.8.2) for a Java program that > tars large files in Hadoop. I am currently failing on a file that’s 17 GB > long. Note that this code wor

Question about using Tar with Hadoop files

2011-12-19 Thread Frank Astier
Hi - I’m trying to use the Apache Tar package (1.8.2) for a Java program that tars large files in Hadoop. I am currently failing on a file that’s 17 GB long. Note that this code works without any problem for smaller files. I’m tarring smaller HDFS files all day long without any problem. It fail

Using zipfileset and exporting targets

2011-11-01 Thread Daniel Becroft
Hi, We are currently generating a zip file using multiple targets as follows. A requirement has come up in that we need to generate (and include) a list of the included files and their corresponding MD5 checksum values. If we use a // combination, I can get a text file

Re: problem using "" when using with DIRECTORY location

2011-10-25 Thread Scot P. Floess
ect value should be as below *set TEST_DIR=C:\home\dir2* .. i am using this command in my ant build file.. " " .. ..PLZ help -- View this message in context: http://ant.1045680.n5.nabble.com/problem-using-replaceregexp-when-using-with-DIRECTORY-location-tp4935408p4935408.

Re: problem using "" when using with DIRECTORY location

2011-10-25 Thread Scot P. Floess
to *TEST_DIR* but when i use in my ant script..it escapes forward slashes.. and gives this result *set TEST_DIR=C:homedir2* but correct value should be as below *set TEST_DIR=C:\home\dir2* .. i am using this command in my ant build file.. " " .. ..PLZ help -- View this messag

Having trouble using replaceregexp with DIR locations as string to replace

2011-10-25 Thread himanshu
correct value should be as below *set TEST_DIR=C:\home\dir2* .. i am using this command in my ant build file.. " " .. ..PLZ help -- View this message in context: http://ant.1045680.n5.nabble.com/Having-trouble-using-replaceregexp-with-DIR-locations-as-string-to-replace-tp4935484p49

problem using "" when using with DIRECTORY location

2011-10-25 Thread himanshu
correct value should be as below *set TEST_DIR=C:\home\dir2* .. i am using this command in my ant build file.. " " .. ..PLZ help -- View this message in context: http://ant.1045680.n5.nabble.com/problem-using-replaceregexp-when-using-with-DIRECTORY-location-tp4935408p4935408.html Sen

RE: Problems using properties containing multiple dollar signs.

2011-08-17 Thread Holman, Chris
--Original Message- From: David Weintraub [mailto:qazw...@gmail.com] Sent: 17 August 2011 17:32 To: Ant Users List Subject: Re: Problems using properties containing multiple dollar signs. On Wed, Aug 17, 2011 at 11:04 AM, Holman, Chris wrote: > This ant script snip

Re: Problems using properties containing multiple dollar signs.

2011-08-17 Thread David Weintraub
ariable seems correct, but the echo is wrong. However, this does work: So, by declaring a variable equal to "$" and using that instead of dollar signs seems to work. -- Da

Problems using properties containing multiple dollar signs.

2011-08-17 Thread Holman, Chris
This ant script snippet: Prints out: [echo] $ $ $$ $$ $$$ $$$ I think its related to this PropertyExpander definition org.apache.tools.ant.PropertyHelper.SKIP_DOUBLE_DOLLAR

Re: Classloader not collected using junit4 in ant 1.8.1

2011-07-10 Thread Stefan Bodewig
On 2011-07-07, Markus Oley wrote: > I have a problem which classloading and ant 1.8.1, junit 4.8.2 and > log4j 1.2.16 or any third-party libraries: Any chance you could try 1.8.2? I vaguely recall we fixed something there but can't find any evidence for it in svn. It would also be good if you c

Classloader not collected using junit4 in ant 1.8.1

2011-07-07 Thread Markus Oley
Hi all, I have a problem which classloading and ant 1.8.1, junit 4.8.2 and log4j 1.2.16 or any third-party libraries: . with the classpath: Following target is called: only.junit4.example1 and only.junit4.example2 both call the target with junit-call above

Re: verifying encoding value using xmlvalidate task

2011-06-07 Thread Vimil Saju
with '' From: Grüner Heinrich To: Ant Users List Sent: Tuesday, June 7, 2011 6:22 AM Subject: Re: verifying encoding value using xmlvalidate task Hi Dominic, maybe you should check out the xmltask. http://www.oopsconsultancy.com/software/xmltask/ I don't know exa

Re: verifying encoding value using xmlvalidate task

2011-06-07 Thread Grüner Heinrich
intent to validate the XML files using the encoding ? Thanks in advance, Parag Doke Save paper, save trees. Do not print emails/documents unless absolutely necessary. On Mon, Jun 6, 2011 at 8:38 PM, dominic Tippabattuni wrote: Hi, I am working on a task which can verify xml encoding value. All xml

Re: verifying encoding value using xmlvalidate task

2011-06-07 Thread dominic Tippabattuni
e in XML files ? > Or is your intent to validate the XML files using the encoding ? > > Thanks in advance, > Parag Doke > Save paper, save trees. Do not print emails/documents unless > absolutely necessary. > > > > On Mon, Jun 6, 2011 at 8:38 PM, dominic Tippabattuni >

Re: verifying encoding value using xmlvalidate task

2011-06-06 Thread Parag Doke
Hi Dominic. I'm no ant expert, but just trying to understand the requirement. If you intent to check presence of encoding value in XML files ? Or is your intent to validate the XML files using the encoding ? Thanks in advance, Parag Doke Save paper, save trees. Do not print emails/docu

verifying encoding value using xmlvalidate task

2011-06-06 Thread dominic Tippabattuni
Hi, I am working on a task which can verify xml encoding value. All xml files in the project should be verified. It would be great if someone can point me in the right direction. The line in the xml file which needs to be verified is Thanks Nick

Re: Using as a resource collection in

2011-04-08 Thread Steele, Richard
eed a different entry name in my zip file. If using the is the correct solution then we can go with that, but it's really far from obvious; perhaps some additional documentation to the effect of "if using concat as a resource collection then you must use a ", etc. I was hoping

Re: Using as a resource collection in

2011-04-05 Thread Matt Benson
hard-coded name for the Resource it contains: > > public String getName() { >   return "concat (" + String.valueOf(c) + ")"; > } > > I can't imagine such a construction is ever useful. > > I was able to work around this issue by using a : > &g

Using as a resource collection in

2011-04-01 Thread Steele, Richard
ne such a construction is ever useful. I was able to work around this issue by using a : but this is IMHO clunky and not terribly obvious. I propose two changes: 1. Allow the resource name to be specified when is used as a ResourceCollection; e.g., someth

Re: error while using project helper

2011-03-17 Thread lindy512
Hi, seems this is an old issue here. It also occured to me from cmd .While it's ok from eclipse and hudson. I changed it to be ,and it works for me . thanks for your note. -- View this message in context: http://ant.1045680.n5.nabble.com/error-while-using-project-helper-tp1341859p3869623

Re: Error parsing ivy.xml files using Jenkins

2011-02-25 Thread David Goblirsch
anders.jacobs...@gmail.com wrote: Hi! The Jenkins Ivy plugin uses Ivy 2.1 internally so yes, it would not allow version="2.2". Ivy 2.1 only allows "1.0", "1.1", "1.2", "1.3", "1.4" and "2.0". Good to know, but the manual doesn't say that the ivy-module version tracks the release number.

Re: Wisdom of using ":" in property name

2011-02-01 Thread Andreas Krey
On Tue, 01 Feb 2011 13:48:52 +, Steele, Richard wrote: ... > I think I really have no choice but to use "." as it's the only character > guaranteed to work in Ant, various extensions and tools, property files, and > command lines--unless someone has a better choice? You may turn the colon onto

Re: Wisdom of using ":" in property name

2011-02-01 Thread Steele, Richard
not a namespace issue: I want properties which are private to a particular build file. Someone else pointed out , which I've been using in targets and macrodefs (and it's awesome). I didn't even think it could be used outside of those blocks, but the documentation does say Note

Re: Wisdom of using ":" in property name

2011-02-01 Thread Steele, Richard
This pretty much confirms that I shouldn't be using ":" in my property names. (If I once knew that ":" could be used in property files, I don't remember it.) Thanks, Rich On Tue, Feb 1, 2011 at 10:41 AM, Stephen Connolly < stephen.alan.conno...@gmail.com> w

Re: Wisdom of using ":" in property name

2011-02-01 Thread Stephen Connolly
2011 at 2:37 PM, Vimil Saju wrote: >> you're nuts, don't use : in property names! :P >> >> --- On Tue, 2/1/11, Steele, Richard wrote: >> >>> From: Steele, Richard >>> Subject: Wisdom of using ":" in property name >>> To: user@ant.ap

Re: Wisdom of using ":" in property name

2011-02-01 Thread Niklas Matthies
On Tue 2011-02-01 at 14:41h, Peter Reilly wrote on user: > : and = and ' ' are used to separate the key from value in java property > files. Only when they are unescaped, see http://download.oracle.com/javase/6/docs/api/java/util/Properties.html#load%28java.io.Reader%29. > so, not a good thing t

Re: Wisdom of using ":" in property name

2011-02-01 Thread Peter Reilly
le, Richard wrote: > >> From: Steele, Richard >> Subject: Wisdom of using ":" in property name >> To: user@ant.apache.org >> Date: Tuesday, February 1, 2011, 5:53 AM >> For better or for worse, I'm using >> ":" as a separator character

Re: Wisdom of using ":" in property name

2011-02-01 Thread Vimil Saju
you're nuts, don't use : in property names! :P --- On Tue, 2/1/11, Steele, Richard wrote: > From: Steele, Richard > Subject: Wisdom of using ":" in property name > To: user@ant.apache.org > Date: Tuesday, February 1, 2011, 5:53 AM > For better or for wo

Wisdom of using ":" in property name

2011-02-01 Thread Steele, Richard
For better or for worse, I'm using ":" as a separator character in my property names as part of a set of reusable build files. The part before the ":" indicates which build file the property is defined in. I've come across at least one incompatibility doing this,

RE: how to exclude a basedir while looping using foreach

2011-01-31 Thread rhea
Thanks alot that really helped and I dint even have to add the excludes statement. -- View this message in context: http://ant.1045680.n5.nabble.com/how-to-exclude-a-basedir-while-looping-using-foreach-tp3364313p3365697.html Sent from the Ant - Users mailing list archive at Nabble.com

RE: how to exclude a basedir while looping using foreach

2011-01-31 Thread rhea
i tried everything else earlier but not "*" what does "*" actually stand for? -- View this message in context: http://ant.1045680.n5.nabble.com/how-to-exclude-a-basedir-while-looping-using-foreach-tp3364313p3365698.html Sent from the Ant - Users mailing list a

RE: how to exclude a basedir while looping using foreach

2011-01-31 Thread Murray, Mike
You could try something like includes="*", but I'm not sure of the intent of your excludes. -Original Message- From: rhea [mailto:karissacab...@gmail.com] Sent: Monday, January 31, 2011 5:18 AM To: user@ant.apache.org Subject: how to exclude a basedir while loopin

how to exclude a basedir while looping using foreach

2011-01-31 Thread rhea
inner directories. Have any ideas? -- View this message in context: http://ant.1045680.n5.nabble.com/how-to-exclude-a-basedir-while-looping-using-foreach-tp3364313p3364313.html Sent from the Ant - Users mailing list archive at Nabble.com

RE: using ivy iwth artifactory

2010-12-14 Thread James Carr
James From: Maarten Coene [maarten_co...@yahoo.com] Sent: Monday, December 13, 2010 6:11 PM To: ivy-u...@ant.apache.org Subject: Re: using ivy iwth artifactory Could it be that your "jpa-generic-dao" module has a dependency on the "test" configura

Re: Using shell command in ANT script

2010-11-29 Thread David Weintraub
but the is easier to use and is good enough for 90% of this type of situations. (And look, there's an example of using a Mapper in a task!) Using "Mappers" is a bit esoteric and most Ant users aren't experts at them. And, most users would include me personally. I usually hav

Re: Using shell command in ANT script

2010-11-28 Thread jhoomsharabi
Subject: Re: Using shell command in ANT script On Wed, Nov 24, 2010 at 12:33 PM, Ludwig, Michael michael.lud...@delphi-mb.de> wrote: It's , not . And you could also use : Thanks for that tip of . You can also use the flattenmapper/> to remove directory names if yo

RE: Using shell command in ANT script

2010-11-25 Thread Ludwig, Michael
> Thanks for that tip of . You can also use the > to remove directory names if you so choose: Or even (starting with 1.8.2 or building from trunk) the newly introduced ! Lots of options ... http://ant.apache.org/manual/Types/mapper.html Michael

Re: Using shell command in ANT script

2010-11-24 Thread David Weintraub
On Wed, Nov 24, 2010 at 12:33 PM, Ludwig, Michael wrote: > It's , not . > > And you could also use : Thanks for that tip of . You can also use the to remove directory names if you so choose: That should be able to replace t

Re: Using shell command in ANT script

2010-11-24 Thread Dominique Devienne
On Wed, Nov 24, 2010 at 3:48 AM, wrote: > I want to use the following shell command in my build.xml file > ls -l ../../../jobs/ | awk '{ print $9 }' > content.txt AFAIK, the 9th field of ls -l is the filename, so your "ls -l path | awk '{ print $9 }'" is better replaced with simply "ls -1". The

RE: Using shell command in ANT script

2010-11-24 Thread Ludwig, Michael
> > > > > > > It's , not . And you could also use : You'll probably get absolute pathnames then. (At least that's what I get.) Michael - To unsubscribe, e-m

Re: Using shell command in ANT script

2010-11-24 Thread David Weintraub
> Hi All, > > I want to use the following shell command in my build.xml file > > ls -l ../../../jobs/ | awk '{ print $9 }' > content.txt The problem is that your particular command requires two shells. When you pipe the output of the "ls" command to the "grep" command, you literally need two execu

Re: Using shell command in ANT script

2010-11-24 Thread Sony Antony
Put the command inside a shell script and exec the shell script from your build.xml --sony On Wednesday, November 24, 2010, Tim Visher wrote: > On Wed, Nov 24, 2010 at 4:48 AM,   wrote: >> I want to use the following shell command in my build.xml file >> >> ls -l ../../../jobs/ | awk '{ print $9

Re: Using shell command in ANT script

2010-11-24 Thread Tim Visher
On Wed, Nov 24, 2010 at 4:48 AM, wrote: > I want to use the following shell command in my build.xml file > > ls -l ../../../jobs/ | awk '{ print $9 }' > content.txt > > is there any way I can use the above mentioned command. Read up on [Exec](http://ant.apache.org/manual/Tasks/exec.html). -

Using shell command in ANT script

2010-11-24 Thread jhoomsharabi
Hi All, I want to use the following shell command in my build.xml file ls -l ../../../jobs/ | awk '{ print $9 }' > content.txt is there any way I can use the above mentioned command. Can anyone help me out in this regard? Thanks, Saha

RE: How to script database upgrade using ANT script

2010-11-09 Thread Ludwig, Michael
> I have tried using the and other examples > from Google but I can't get it to work. Then you should try a little harder, it is not difficult, certainly way less difficult than anything involving JBoss. Start with a minimum script and the Ant manual. You shouldn't need

RE: How to script database upgrade using ANT script

2010-11-09 Thread Java Jboss
Hi Michael, I have tried using the and other examples from Google but I can't get it to work. I just want the "db-upgrade:" bit to stop when it cant meet the next condition. At the moment it still tries to run the script looking for dir2 and dir3 even though these don't

RE: How to script database upgrade using ANT script

2010-11-09 Thread Ludwig, Michael
> having difficulty scripting a > routine to tell it that when a condition is not met it should exit. Look at the docs for to see how to set the property. Michael - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For

  1   2   3   4   5   6   7   8   9   10   >