AW: Generating rotating file name?

2006-03-01 Thread Jan.Materne
You could try playing with AntContribs task, but I think in your case the easiest is to implement your own task using

Generating rotating file name?

2006-03-01 Thread JWM
I need to generate a 4-cycle rotating file name based on the day (first day = "file.1", second day = "file.2, .. fifth day = "file.1" (repeating). Basically I need to generate a string that is "Julian date mod 4" to append to my base filename. with the DateFormatter gives me a lot of options. B

Re: Java task

2006-03-01 Thread Guruprasad R
i have the path set properly for weblogic.ejbc. weblogic.ejbc is the ejb compiler for weblogic server, which is in weblogic.jar. FYI On 3/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Have a look at your path with id="class.path". > Can it find the class "weblogic.ejbc"? > In exact

AW: Java task

2006-03-01 Thread Jan.Materne
Have a look at your path with id="class.path". Can it find the class "weblogic.ejbc"? In exact that notation? (I guess classnames should be start upcase...) Jan >-Ursprüngliche Nachricht- >Von: Guruprasad R [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 2. März 2006 07:10 >An: Ant Use

Java task

2006-03-01 Thread Guruprasad R
Hi all, i have written a target that uses java task as below. Test Started when this target is executed from the command prompt, i dont find any issues. whereas when i execute the same target in the weblogic, i get - exectask: - WARNING: Test Sta

Re: Grep?

2006-03-01 Thread Rhino
Regexp and/or FilterChains may be the solution to your problem. Go to the Ant manual, click on "Concepts and Types", choose "Regexp" from the Core Types, and start reading. You'll probably want to click on various links within the Regexp article, like "LineContainsRegexp filer" and "ContainsReg

Grep?

2006-03-01 Thread Greg Akins
This seems like it shouldn't be a big deal, but I wasn't able to find anything after a couple Google searches. Running several ant build files through a master file (CruiseControl), I'd like to grep the output of a file to see if any errors occurred (can't through an Ant failure because the file c

Re: How can I access the environtment variable JAVA_HOME?

2006-03-01 Thread Xar
Well, i printed out the java.home and I found what the error was: java.home = /usr/software/jdk1.5.0_02/jre I only need to change the problematic line to: Thank you all!! :D 2006/3/1, Xar <[EMAIL PROTECTED]>: > > Well, i tried both ideas and the first one works fine but the second one > no. >

Re: How can I access the environtment variable JAVA_HOME?

2006-03-01 Thread Xar
Well, i tried both ideas and the first one works fine but the second one no.

AW: How can I access the environtment variable JAVA_HOME?

2006-03-01 Thread Jan.Materne
>Also all of the java system properties(the one you can get with >System.getProperties) are available in Ant: > >"file.separator" - File separator (for example, "/") >"java.class.path" - Java classpath "java.class.version" - Java >class version number "java.home" - Java installation directory >

Re: How can I access the environtment variable JAVA_HOME?

2006-03-01 Thread Petar Tahchiev
On 01/03/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >Betreff: How can I access the environtment variable JAVA_HOME? > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] Also all of the java system properties(the one you can get with Syst

Re: How can I access the environtment variable JAVA_HOME?

2006-03-01 Thread Xar
Wow, i will try later! Thanks! You were really fast :) 2006/3/1, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > >Betreff: How can I access the environtment variable JAVA_HOME? > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >

AW: How can I access the environtment variable JAVA_HOME?

2006-03-01 Thread Jan.Materne
>Betreff: How can I access the environtment variable JAVA_HOME?

How can I access the environtment variable JAVA_HOME?

2006-03-01 Thread Xar
Hello there. I am still working with JNI and build.xml, and it's working well but i need to use the gcc compiler as an SO command (if there is another way of using the C compiler i'll be gratefull if any of you could tell me), and i need to specify the include dir inside the java directory. I tried

RE: TASK does not work

2006-03-01 Thread Shweta Bodade
Thanks a lot well Ant really does not have a direct task like So finally a wrote this and my wsdl file is getting converted to java file and the code is like

Re: Ant FTP Hangs -- Additional Info

2006-03-01 Thread Steve Loughran
JWM wrote: Just trying to change things to see if it fixes it or if it caused the symptoms to change to perhaps something more obvious, I changed the ant task to use passive ftp. Still fails randomly after a while each run. But now I get this error message each time. Can someone interpret this

Re: AW: TASK does not work

2006-03-01 Thread Steve Loughran
[EMAIL PROTECTED] wrote: I am using Eclipse 3.0.0 And I want to convert wsdl file to java file which we can do easily using AXIS but the same thing fails in ANT I want to make use of ANT task Usually these are not enough information to help. We usually need - the failing snippet of the bui

Re: Ant FTP Hangs

2006-03-01 Thread Steve Loughran
JWM wrote: Rhino, Thanks for the reply. I'm certain the space is there. Also, the first time it transferred a bunch of files and hung. Restarted and it transferred a bunch more files before it hung, etc. Ditto several times. If it was a target space problem, I suspect it would hit a wall at

AW: TASK does not work

2006-03-01 Thread Jan.Materne
>I am using Eclipse 3.0.0 > >And I want to convert wsdl file to java file which we can do >easily using AXIS but the same thing fails in ANT > >I want to make use of ANT task Usually these are not enough information to help. We usually need - the failing snippet of the buildfile - the error mess

TASK does not work

2006-03-01 Thread Shweta Bodade
Hello, I am using Eclipse 3.0.0 And I want to convert wsdl file to java file which we can do easily using AXIS but the same thing fails in ANT I want to make use of ANT task Can anyone be of any help Cheers Shweta.