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

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

2009-08-11 Thread RaviVerma
Hi, This is my earnest request and appeal to all ANT users. Please help me as I am unable to resolve this error. Initially this was the error message: [taskdef] Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found. init: [echo] initupdate Build Sta

CVS authontication ANT + Unix + extssh

2009-08-11 Thread Pritesh Agrawal
Hi, I am having problem in configuring Cruise control on server. We like to checkout source code from CVS in Linux box by using ssh connection by ANT build file. I am not able to login to the cvs server. Please give me direction Thanks, Pritesh Agrawal

Re: XML Parser give "bad version number in .class file"

2009-08-11 Thread jdeisenberg
jdeisenberg wrote: > > > Steve Loughran wrote: >> Scot P. Floess wrote: >>> so unless you are setting any kind of factory for the xml parser, it >>> should use the stock XML parser that comes with Java. >>> >> ant -diagnostics finds the XML parser >> >> > > That's the problem. diagnostics en

Re: XML Parser give "bad version number in .class file"

2009-08-11 Thread jdeisenberg
Steve Loughran wrote: > > > > 0. What is printed up to that point? > > 1. what does java -version say > > 2. what's in ANT_HOME/lib > That was the problem. I installed the binary of the latest ant, and exported ANT_HOME to point to that directory. It seems to be working now. -- View th

Re: Problem with the classpath

2009-08-11 Thread Brian Pontarelli
I was definitely referring to removing the env variable. The issue you are encountering is that java tends to favor the env. variable. I would suggest telling all your developers to remove the variable as well as editing the ant script to clear out the variable prior to invoking ant. Someth

RE: Another options

2009-08-11 Thread Martin Gainty
parce que je suis plus courant sur Java ou Javascript j'ai codé une solution dans JS. Ce que vous avez fourni est une solution bien meilleure pour la fourmi build.xml Merci Monsieur Galiegue! Martin Gainty __ Note de déni et de confidentialité Ce

Re: Another options

2009-08-11 Thread Francis GALIEGUE
On Tue, Aug 11, 2009 at 16:20, Redondo Gallardo, Raul Maria wrote: > Well, I'll try it: > > For example: In a main folder C: with different subfolders structure I need > to find the folder(s) which contain the file with name filev2.txt. After I > must to copy all the files of this directory to an

Re: AW: help with filterchain: using regex filter...

2009-08-11 Thread weiji
Jan.Materne wrote: > > Wouldnt be a XSLT easier? > > Jan > > > >version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform";> > > > generated file - do not change > > > > > > > > > > > > > > > > > > > > > >

[ANN] Virtualization Plugins Version 0.0.3: Testers for Bleeding Edge first release wanted

2009-08-11 Thread Stephen Connolly
Apologies for cross posting.  Please do not reply to this message on any of the cross-posted lists.  Please send replies to us...@vcc.dev.java.net The VCC team at https://vcc.dev.java.net/ is pleased to announce our first bleeding edge pre-alpha release of the Virtual Computer Control API (version

Re: AW: help with filterchain: using regex filter...

2009-08-11 Thread weiji
Hi Jan, It does look easier... let me try it out and I'll let you know how it goes. Thanks! KaJun -- View this message in context: http://www.nabble.com/help-with-filterchain%3A-using-regex-filter...-tp24912535p24922974.html Sent from the Ant - Users mailing list archive at Nabble.com.

RE: Another options

2009-08-11 Thread Martin Gainty
intente esto… el substituto incluye para los incluya los archivos localización substituta para la localización del directorio en donde se copian los archivos

Re: Problem with the classpath

2009-08-11 Thread espinha
Hello Brian, The problem is exactly that: we don't want to use the environment variable. In fact, we want it to be ignored by Ant, which is proving to be difficult. What I'm trying to achieve is that Ant always picks up the jars defined in the classpath **attribute** on the build.xml rather than

Re: Another options

2009-08-11 Thread David Weintraub
Once you have the list, you can use Ant's or task to execute stuff on these files. You can use the task to get the directory name of each file too. Somehow you should be able to use as part of the to remove the file name, but I haven't figured out how to do that. On Tue, Aug 11, 2009 at 2:19

Re: XML Parser give "bad version number in .class file"

2009-08-11 Thread Steve Loughran
jdeisenberg wrote: Steve Loughran wrote: Scot P. Floess wrote: so unless you are setting any kind of factory for the xml parser, it should use the stock XML parser that comes with Java. ant -diagnostics finds the XML parser That's the problem. diagnostics ends with this ---

Re: XML Parser give "bad version number in .class fi

2009-08-11 Thread Scot P. Floess
I see your point... when I run w/ diagnostics I see the following xml section: --- XML Parser information --- XML Parser : org.apache.xerces.jaxp.SAXParserImpl XML Parser Location: /home/sfloess/Tools/apache-ant-1

RE: Another options

2009-08-11 Thread Redondo Gallardo, Raul Maria
Well, I'll try it: For example: In a main folder C: with different subfolders structure I need to find the folder(s) which contain the file with name filev2.txt. After I must to copy all the files of this directory to another folder and launch a java program from ANT. Is this possible?. For ex

Re: XML Parser give "bad version number in .class file"

2009-08-11 Thread jdeisenberg
Steve Loughran wrote: > > Scot P. Floess wrote: >> >> so unless you are setting any kind of factory for the xml parser, it >> should use the stock XML parser that comes with Java. >> > > ant -diagnostics finds the XML parser > > That's the problem. diagnostics ends with this

Re: Another options

2009-08-11 Thread Francis GALIEGUE
On Tue, Aug 11, 2009 at 10:00, Redondo Gallardo, Raul Maria wrote: > Hello Francis, > > Yes, you are right, but my problem (may be I'm express wrong) is that I don't > know exactly the structure folder and in spite of use de dirset option, I get > the searched folders with a Fileset and I want to

Re: XML Parser give "bad version number in .class file"

2009-08-11 Thread Steve Loughran
Scot P. Floess wrote: so unless you are setting any kind of factory for the xml parser, it should use the stock XML parser that comes with Java. ant -diagnostics finds the XML parser - To unsubscribe, e-mail: user-unsubscr

Re: XML Parser give "bad version number in .class file"

2009-08-11 Thread Scot P. Floess
so unless you are setting any kind of factory for the xml parser, it should use the stock XML parser that comes with Java. Is there anything in your build.xml that is processing xml or you are setting the xml factory (off the top of my head I can't remember the factory name/property one sets

Re: XML Parser give "bad version number in .class file"

2009-08-11 Thread jdeisenberg
Scot P. Floess-2 wrote: > > > It almost looks like what ever version of the XML parser you are using was > compiled with a newer VM? > > [snip] > > I am not sure *where* to find the XML parser so that I might update it. What is ant's default classpath, or where should I look? -- View th

Re: XML Parser give "bad version number in .class file"

2009-08-11 Thread Scot P. Floess
It almost looks like what ever version of the XML parser you are using was compiled with a newer VM? On Tue, 11 Aug 2009, jdeisenberg wrote: Not that I doubt you ;) But from the command line, what do you get doing: java -version Just wanting to make sure you somehow don't have a JDK 1

Re: XML Parser give "bad version number in .class file"

2009-08-11 Thread jdeisenberg
Not that I doubt you ;) But from the command line, what do you get doing: java -version Just wanting to make sure you somehow don't have a JDK 1.4 or less... [snip old info] [da...@localhost android_app]$ java -version java version "1.5.0_15" Java(TM) 2 Runtime Environment, Standard Editio

Re: XML Parser give "bad version number in .class file"

2009-08-11 Thread Scot P. Floess
Not that I doubt you ;) But from the command line, what do you get doing: java -version Just wanting to make sure you somehow don't have a JDK 1.4 or less... On Tue, 11 Aug 2009, jdeisenberg wrote: Using Java 1.5 (and also have tried Java 1.6) on Mandriva Spring 2008. When trying to bui

XML Parser give "bad version number in .class file"

2009-08-11 Thread jdeisenberg
Using Java 1.5 (and also have tried Java 1.6) on Mandriva Spring 2008. When trying to build an android app using ant -debug I get this output: = java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoad

AW: help with filterchain: using regex filter...

2009-08-11 Thread Jan.Materne
Wouldnt be a XSLT easier? Jan http://www.w3.org/1999/XSL/Transform";> generated file - do not change >-Ursprüngliche Nachricht- >Von: weiji [mailto:nabbl...@h

RE: Another options

2009-08-11 Thread Redondo Gallardo, Raul Maria
Hello Francis, Yes, you are right, but my problem (may be I'm express wrong) is that I don't know exactly the structure folder and in spite of use de dirset option, I get the searched folders with a Fileset and I want to split the result and extract the path to move across the folders. I've lo

Re: Another options

2009-08-11 Thread Francis GALIEGUE
On Tue, Aug 11, 2009 at 08:19, Redondo Gallardo, Raul Maria wrote: > Thank you very much, David, > > This is exactly which I need, but... Is it possible to split each record of > the fileset and do something with it? I'm new with ANT and I think I want to > do things quite advanced. > > I've got: