Re: Javac target="1.4" not complaining about a method new in 1.5

2004-12-03 Thread Jeffrey E Care
Wendy Smoak <[EMAIL PROTECTED]> wrote on 12/03/2004 04:44:12 PM: > > I have Java 1.5 on my development machine, and just deployed a webapp to > the HP-UX server which has 1.4.2. And it broke, because I used > String.replace(String,String) which is new in 1.5. The documentation for @target says:

Javac target="1.4" not complaining about a method new in 1.5

2004-12-03 Thread Wendy Smoak
I have Java 1.5 on my development machine, and just deployed a webapp to the HP-UX server which has 1.4.2. And it broke, because I used String.replace(String,String) which is new in 1.5. So I went back and changed my javac task to include target="1.4". But it still compiles with no errors.

Non-Existent Target Exception

2004-12-03 Thread Satish Jeejula
Hi All, Is there any way, we can customize the message output when non-existent target is provided at the command prompt. Custom output should be like: Target provided 'wrongTarget' does not exist. Following are the available targets along with brief descriptions: Target1 - Target1 Description T

Ant / JavaSpace integration

2004-12-03 Thread Brian Agnew
AntSpace 0.1 has just been released. This is an initial attempt to integrate Ant with JavaSpaces to allow scripting of distributed tasks. It currently supports JavasSpace write/read/take/notify behaviour with simple entries. Transactionality is not supported yet. http://www.oopsconsultancy.com/

RE: sshexec and shell scripts

2004-12-03 Thread Anderson, Rob (Global Trade)
Can you execute the script successfully via ssh... ssh [EMAIL PROTECTED] 'yourscript.sh' if that does not work, try sourcing your .profile before executing the script... ssh [EMAIL PROTECTED] '. ~/.profile ; yourscript.sh' If that works, modify your ant build file. -Rob Anderson > -Origin

sshexec and shell scripts

2004-12-03 Thread David Katz
I am executing a shell script using the sshexec task in order to compile some Oracle libraries, forms and menus. When I invoke the shell script from the command line it works perfectly. When I invoke the script from sshexec, numerous compilation errors occur. The compilation errors result from som

RE: RMI's with ANT

2004-12-03 Thread Anderson, Rob (Global Trade)
I would recommend scp and sshexec. -Rob Anderson > -Original Message- > From: Velagapudi, Murali [mailto:[EMAIL PROTECTED] > Sent: Friday, December 03, 2004 10:14 AM > To: Ant Users List > Subject: RE: RMI's with ANT > > > try task > > thanks > Murali > > > -Original Message

RE: RMI's with ANT

2004-12-03 Thread Velagapudi, Murali
try task thanks Murali -Original Message- From: Peter Neu [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 11:46 AM To: Ant Users List Subject: RMI's with ANT Hello, I'm trying to write an ant script which does the compiling on the localhost and the deployment on another c

RMI's with ANT

2004-12-03 Thread Peter Neu
Hello, I'm trying to write an ant script which does the compiling on the localhost and the deployment on another computer. Is it possible to tell ant to copy a war file into the webapps directory of a different computer and then to start tomcat there? What do I have do? Regards, Peter -

Re: Split XML file into seperate files with XSLT and ANT

2004-12-03 Thread Brian Agnew
You should be able to do something like the below (from the sourcecode download tests/examples). This creates named xml files output-n1.out.xml, output-n2.out.xml from the input Number 1 Number 2 Any more queries drop me a line direct or there's an xmltask mailing list. See the web page for

RE: Split XML file into seperate files with XSLT and ANT

2004-12-03 Thread Robert Soesemann
Sounds perfect. Thanks for this hint. Did you every do something like this? Do you have sample snippets ;-) Best regards, Robert -Original Message- From: Brian Agnew [mailto:[EMAIL PROTECTED] Sent: Freitag, 3. Dezember 2004 16:03 To: Ant Users List Subject: Re: Split XML file into sepe

Re: Split XML file into seperate files with XSLT and ANT

2004-12-03 Thread Brian Agnew
You can use xmltask with the instruction. See http://www.oopsconsultancy.com/software/xmltask Robert Soesemann wrote: Hello, I don't know if there is a standard way to do this, but maybe you have an idea. I have many XML files which hold multiple XML fragments of a specific type .. For an easy

an ant task that does logging

2004-12-03 Thread Jason Novotny
Hi, I'm trying to run an Ant task which uses Log4J (maybe commons-logging as well) and I get this: create-database: [dbtask] log4j:WARN No appenders could be found for logger (org.gridlab.gridsphere.core.persistence.hibernate.DBTask). [dbtask] log4j:WARN Please initialize the log4j system

FW: Split XML file into seperate files with XSLT and ANT

2004-12-03 Thread Robert Soesemann
Hello, I don't know if there is a standard way to do this, but maybe you have an idea. I have many XML files which hold multiple XML fragments of a specific type .. For an easy import of those seperate contentitems into a CMS it would be better to split those fragments up into different file (one

Split XML file into seperate files with XSLT and ANT

2004-12-03 Thread Robert Soesemann
Hello, I don't know if there is a standard way to do this, but maybe you have an idea. I have many XML files which hold multiple XML fragments of a specific type .. For an easy import of those seperate contentitems into a CMS it would be better to split those fragments up into different file

Problem with classpath in javac task

2004-12-03 Thread Mikael Petterson \(KI/EAB\)
Hi, I am using ant 1.6.2 I have a common.xml with a compile target: In my proj1.xml I have the following: Do anyone have an idea why not "additional.classpath" is added to "common.classpath"

AW:

2004-12-03 Thread Jan . Materne
project.setNewProperty("propName", "propValue"); Jan > -Ursprüngliche Nachricht- > Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 3. Dezember 2004 11:40 > An: ant_user (E-Mail) > Betreff:

-verbose > log.log shows different behaviour

2004-12-03 Thread Markus Dettori
Hi all involved, Please excuse, but due to the complex targets, I can only described my problem in general. No exception or error message is shown during the build process. We run some complex ant targets with a lot of delegation and therefore a lot of inherited properties. Actually ant 1.6.

user@ant.apache.org

2004-12-03 Thread Rebhan, Gilbert
Hi, i want to scan a txtfile with

RE: ZIP task å,ä and ö

2004-12-03 Thread Peter Wåhlander
>> This directories which names contains the character å,ä and ö. When I unzip >> VitaNovaHemma.zip using Windows XP:s built in unzipper these caracters are >> lost. I have tried: > The problem is almost definitely related to the unzipper. I have a > similar problem with Tomcat: Tomcat is unable

Re: ZIP task å,ä and ö

2004-12-03 Thread Jochen Wiedmann
Stefan Bodewig wrote: That's exactly why we've added the encoding attribute to our zip task family - and part of the reason that we've written our own zip class library. Yes, and it has been a great idea. Unfortunately the Tomcat team refuses to use it in their deployment code. :-( Jochen ---

RE: Delete XML Files depending on content

2004-12-03 Thread Robert Soesemann
Cool, that's easy. Thanks, Robert -Original Message- From: Peter Reilly [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 2. Dezember 2004 18:35 To: Ant Users List Subject: Re: Delete XML Files depending on content Peter Robert Soesemann wrote: >Hello, > >I am looking