AW: Conditional antcall

2006-02-20 Thread Jan.Materne
Just an idea does it has any effects to call the create-statement on an existing database? If not, just execute both. Like an on an existing directory. Maybe that depends on the database. And maybe the onerror-attribute of would help. Jan >-Ursprüngliche Nachricht- >Von: ar [ma

Fwd: ejb task issue

2006-02-20 Thread Bejoy
Hi, Sorry for troubling again. I'm getting the following exception while running an ejb task this is my ejb task I'm getting the following error: [ejbjar] Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer - dependent class

Fwd: ejb task issue

2006-02-20 Thread Bejoy
Hi, I'm getting the following exception while running an ejb task this is my ejb task I'm getting the following error: [ejbjar] Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer - dependent class not found: org/apache/bcel/c

Am I using the selector (with mapper) correctly?

2006-02-20 Thread Ninju Bohra
Hello all, I need to keep a "derived" directory tree in synch with its source tree specifically with regard to deletions in the source tree. The source tree has a collection of documents of various types (.doc, .xls, etc...). The real directory is full tree (with many sub-dirs) \Documentat

Re: Special Ant-Javadoc for own tasks?

2006-02-20 Thread David
Daniel, The only solution I know and works well is AntDoc. It is no so much live project, but it is robust, even from the new ant version features. You can find more information from the following web page: http://antdoc.free.fr/ take the version 0.8g from 2003.10.01, becau

Re: Conditional antcall

2006-02-20 Thread Nicolas Vervelle
> I'd like to access to a database, and, if it fails, create the > database > otherwise update it. > To access the database, I intend to use a sql task. If the sql > request > fails, I want to call the create-database target. If it successes, > I want > to call the update-database target.

Re: Conditional antcall

2006-02-20 Thread Ninju Bohra
Within the constraints of default ANT components it may be a bit klugely (but then you're probably used doing ANT kluges :-) A way that I found to get data into ANT from the database is to execute SQL whose result (when successful) looks like a standard JAVA property file. I then use the tas

Conditional antcall

2006-02-20 Thread ar
Hi, I'd like to access to a database, and, if it fails, create the database otherwise update it. To access the database, I intend to use a sql task. If the sql request fails, I want to call the create-database target. If it successes, I want to call the update-database target. Any idea on

AW: ¿How to split a file? Split Task?????

2006-02-20 Thread Jan.Materne
> I was looking in the web and there is an split task >supported by Antelope > > http://antelope.tigris.org/nonav/docs/manual/bk03ch23.html > > can I use this task using the Ant syntax in a build.xml ant >file. If you look in the example the syntax is a little bit >different. They use t

RE: Ant ,ftp,java

2006-02-20 Thread Jeffrey E Care
Are you REALLY sure? Because last time I checked port 22 was SSH, not FTP. Given the server reply you posted it would indeed seem that you are hitting an SSH server. Jeffrey E. (Jeff) Care [EMAIL PR

Re: �How to split a file? Split Task?????

2006-02-20 Thread David
Dear members, I was looking in to the Ant Bug database and I have found the following request: http://issues.apache.org/bugzilla/show_bug.cgi?id=37200 any way I don't know how to use the split task from Antelope in order to use it via ant build file. Thanks in advance,

�How to split a file? Split Task?????

2006-02-20 Thread David
Dear users, I would like to split a file fixing the number of lines or by size. Such utility exist on all operative sistem, but not in ANT :-(( I was looking in the web and there is an split task supported by Antelope http://antelope.tigris.org/nonav/docs/manual/bk03ch23.html

RE: Ant ,ftp,java

2006-02-20 Thread Karthik
Hi Form > but if I run the same FTP tag from ant ( ant -buildfile build.xml > ),then the task is processeed sucessfully. On running the same target using "ant -buildfile unix.xml" The ftp access is able to perform sucessfully (on the same port 22) with regards Karthik -Original

Re: one more problem

2006-02-20 Thread Paul Pogonyshev
On 20 February 2006 16:04, Markus M. May wrote: > Hi, to get the Locale from the file you can use the propertyregexp-Command: > > input="${base.in.file}" > regexp="^(.*)[_]{1}(.*)\.class$$" > select="\2" > casesensitive="false" /> Tha

Re: one more problem

2006-02-20 Thread Markus M. May
Hi, to get the Locale from the file you can use the propertyregexp-Command: This will give you the locale of the file. This could also be used, with some modifications for other transformations. Greets markus m. may > --- Ursprüngliche Nachricht --- > Von: Paul Pogonyshev <[EMAIL PROTEC

Re: Ant ,ftp,java

2006-02-20 Thread Jeffrey E Care
Double check your port numbers. Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Development WAS Pyxis Lead Release Engineer "Karthik" <[EMAIL PROTECTED]> wrote o

one more problem

2006-02-20 Thread Paul Pogonyshev
Hi, I'm stuck again :( I need to translate the following part of a shell script to Ant (with Ant-Contrib in place; using external `sed' is not an option, I want to minimize dependencies for Windows boxes): for PO_FILE in *.po; do LOCALE=$(echo "$PO_FILE" | sed -e 's/\.po$//') RESOURCE_FILE=

Special Ant-Javadoc for own tasks?

2006-02-20 Thread Daniel Lindner
Hello, i just wrote a bunch of project-specific ant tasks to use with our build system. When it came to documentation, i searched for something similar as JavaDoc is to java programmers. Can somebody point me to a product that can automatically generate ant task documentation (like in the ant

Re: Ant ,ftp,java

2006-02-20 Thread Steve Loughran
Karthik wrote: Hi form On running the ftp target (in build.xml ) from java using "org.apache.tools.ant.*" I ageeint this Exception as below. Please read the error text and think a