RE: Advice on making a new task class

2006-04-28 Thread Russell, Archie
Thanks a lot, I'll give it a try -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Thursday, April 27, 2006 8:55 PM To: user@ant.apache.org Subject: Re: Advice on making a new task class On Thu, 27 Apr 2006, Archie Russell <[EMAIL PROTECTED]> wrote: > I'm new to

Re: Compiling error

2006-04-28 Thread Sanae Benchaaboun
Thanks Sanae Benchaaboun Webmaster Supervisor Maryland Insurance Administration Tel: (410)468-2077 [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 4/28/2006 3:32 PM >>> That's a bummer... OK, I am gonna see about getting a wscompile tomorrow and see what I can figure out... Sanae Benchaaboun wrote: >

Re: Compiling error

2006-04-28 Thread Scot P. Floess
That's a bummer... OK, I am gonna see about getting a wscompile tomorrow and see what I can figure out... Sanae Benchaaboun wrote: I got this now!! I added the export JAVA_HOME and Path, also sat the fork to false.. Still not working Sanae Benchaaboun Webmaster Supervisor Maryland Insuranc

Re: Compiling error

2006-04-28 Thread Sanae Benchaaboun
I got this now!! I added the export JAVA_HOME and Path, also sat the fork to false.. Still not working Sanae Benchaaboun Webmaster Supervisor Maryland Insurance Administration Tel: (410)468-2077 [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 4/28/2006 3:20 PM >>> I looked over the documentation a littl

Re: Compiling error

2006-04-28 Thread Scot P. Floess
I looked over the documentation a little more (for wscompile) - and looked at your build.xml. I do see where you have set forking = "true" Maybe see what results you get when forking is set to false. In looking at the stack trace - I see this: at java.lang.ClassLoader.resolveClass0(java.lan

Re: External tools and tasks: why not add Tom and Gom tasks ?

2006-04-28 Thread Matt Benson
Please feel free to add these to http://wiki.apache.org/ant/AntExternalTaskdefs . br, Matt --- Antoine Reilles <[EMAIL PROTECTED]> wrote: > Hi, > > Tom (http://tom.loria.fr) is a software environment > for defining > transformations in Java. It is an extension of Java > designed to > manipulate

Re: Compiling error

2006-04-28 Thread Scot P. Floess
Check this link out: https://jax-rpc.dev.java.net/whitepaper/1.1/index-part1.html#2.1 And I quote: "The |wscompile| tool generates various client-side and server-side artifacts required by the JAX-RPC runtime to develop, deploy, and invoke a Web Service. It is available as a shell script and

External tools and tasks: why not add Tom and Gom tasks ?

2006-04-28 Thread Antoine Reilles
Hi, Tom (http://tom.loria.fr) is a software environment for defining transformations in Java. It is an extension of Java designed to manipulate tree structures and XML documents. Tom 2.3 was released today, and contains many new improvements: https://gforge.inria.fr/forum/forum.php?forum_id=1166

Re: Compiling error

2006-04-28 Thread Scot P. Floess
What I am trying to say is this... My ~/.bashrc resembles the following: # .bashrc # User specific aliases and functions # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi This is of course a stock ~/.bashrc file... I am saying, make the ~/.bashrc look some

Re: Compiling error

2006-04-28 Thread Sanae Benchaaboun
What did you mean by putting all the export in a bashrc? Here is the build.xml Sanae Benchaaboun Webmaster Supervisor Maryland Insurance Administration Tel: (410)468-2077 [EMAIL PROTECTED]

Re: Compiling error

2006-04-28 Thread Scot P. Floess
Is it possible for me to get your build.xml? I had to do some searching to find wscompile and what it is. As I have never used it, I don't know anything about it...but I bet something is shelling out and a new .bashrc / new environment is happening when shelling out. Try this: put all those

Re: Compiling error

2006-04-28 Thread Sanae Benchaaboun
Thanks for your help Sanae Benchaaboun Webmaster Supervisor Maryland Insurance Administration Tel: (410)468-2077 [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 4/28/2006 2:27 PM >>> OK..sorry just trying to figure it all out :) Rerun the command and send me the output (including how you are executing

Re: Compiling error

2006-04-28 Thread Scot P. Floess
OK..sorry just trying to figure it all out :) Rerun the command and send me the output (including how you are executing from the command line)... I just want to make extra sure now that you are in fact getting the same error... Sanae Benchaaboun wrote: Yes I do use the same shell Sanae Be

Re: Compiling error

2006-04-28 Thread Sanae Benchaaboun
Yes I do use the same shell Sanae Benchaaboun Webmaster Supervisor Maryland Insurance Administration Tel: (410)468-2077 [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 4/28/2006 2:21 PM >>> OK, I am almost at a loss... All seems correct... :( So, again with all this set you still get the same results?

Re: Compiling error

2006-04-28 Thread Scot P. Floess
OK, I am almost at a loss... All seems correct... :( So, again with all this set you still get the same results? Are you using the same shell when you execute using ant? By that I mean in the same window where you have shown me the results of "which java" etc you are also running the ant co

Re: Compiling error

2006-04-28 Thread Sanae Benchaaboun
# echo $JAVA_HOME /opt/SUNWappserver/jdk Sanae Benchaaboun Webmaster Supervisor Maryland Insurance Administration Tel: (410)468-2077 [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 4/28/2006 2:08 PM >>> Hmm - that seems correct. What about: echo $JAVA_HOME Sanae Benchaaboun wrote: > # which java > /

Re: Compiling error

2006-04-28 Thread Scot P. Floess
Hmm - that seems correct. What about: echo $JAVA_HOME Sanae Benchaaboun wrote: # which java /opt/SUNWappserver/jdk/bin/java # java -version java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)

Re: Compiling error

2006-04-28 Thread Sanae Benchaaboun
# which java /opt/SUNWappserver/jdk/bin/java # java -version java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode) Sanae Benchaaboun Webmaster Supervisor Maryland Insurance Administration Tel: (410

Re: Compiling error

2006-04-28 Thread Scot P. Floess
When you did the exports...did you: a) Use the same shell (for instance bash) b) From that same shell execute using ant? Do this for me: type: which java -and- java -version I will be curious to see... I don't think your environment is set up correctly... Sanae Benchaaboun wrote: I did

Re: Compiling error

2006-04-28 Thread Sanae Benchaaboun
I did what you saidt, I got the same error Sanae Benchaaboun Webmaster Supervisor Maryland Insurance Administration Tel: (410)468-2077 [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 4/28/2006 1:30 PM >>> See where that version of java is installed... And add that as the first entry in your PATH and JA

Re: Compiling error

2006-04-28 Thread Scot P. Floess
See where that version of java is installed... And add that as the first entry in your PATH and JAVA_HOME... Sounds to me like its not stored in /usr/bin (for instance its not symbolically linked). I'm guessing you installed using the executable installer versus RPM's... Let's say you insta

Re: Compiling error

2006-04-28 Thread Sanae Benchaaboun
Actually the version of Java I have is from Sun. I am using redhat for Linux. Sanae Benchaaboun Webmaster Supervisor Maryland Insurance Administration Tel: (410)468-2077 [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 4/28/2006 1:17 PM >>> I am guessing you are probably running something like Fedora Core

Re: Compiling error

2006-04-28 Thread Scot P. Floess
I am guessing you are probably running something like Fedora Core? It looks like gcc java problem - Fedora certainly comes with gcc java. If you have Sun's (or better yet IBM's) JVM installed, make sure they can be found in your path and JAVA_HOME... Sanae Benchaaboun wrote: Hi, I using Ant

Re: Compiling error

2006-04-28 Thread Peter Reilly
It looks like you are using gcc java (shudder). """ /libgcj.so.4.0.0 """ Try using Sun's version. Peter On 4/28/06, Sanae Benchaaboun <[EMAIL PROTECTED]> wrote: Hi, I using Ant to build a project under Linux (using Redhat software) and I am getting a ClassNotFoundException. If I try to

RE: Ant Task for Creating weblogic domain

2006-04-28 Thread Anderson, Rob (Global Trade)
If there is such a task, it is not part of the standard Ant distribution. Check with BEA or search the weblogic documentation. -Rob A > -Original Message- > From: Row M, Vishal [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 27, 2006 11:17 PM > To: Ant Users List > Subject: Ant Task fo

Compiling error

2006-04-28 Thread Sanae Benchaaboun
Hi, I using Ant to build a project under Linux (using Redhat software) and I am getting a ClassNotFoundException. If I try to build the same project under Windows, it compiles successfuly. Can you please help me!! Attached you'll find the message given by Linux when compiling. Thanks a lot. P.S. I

Re: Scope of scripts -> workaround

2006-04-28 Thread Alexey N. Solofnenko
With you can define the same task differently in different targets or you can provide the expression as a parameter into that . with even allows text substitution inside the script text - parameters will be inlined by using @{} notation.

- Alexey.

M

Re: Scope of scripts -> workaround

2006-04-28 Thread Peter Reilly
Each script command creates a new BSFManager, so there is little sharing between the scripts. (This is a different model from HTML + script) The only sharing is via ant core objects (references or properties or (as Alexey indiciates) tasks/types. Peter On 4/28/06, Marcel Ruff <[EMAIL PROTECTED

Re: Scope of scripts -> workaround

2006-04-28 Thread Marcel Ruff
Alexey N. Solofnenko wrote: Can you use instead? See: http://ant.apache.org/manual/OptionalTasks/scriptdef.html . i have tried already with no success (probably not hard enough :-), thanks, Marcel - Alexey. Marcel Ruff wrote: After fiddling further i have found this workaround: --

Re: Scope of scripts -> workaround

2006-04-28 Thread Alexey N. Solofnenko
Can you use instead? See: http://ant.apache.org/manual/OptionalTasks/scriptdef.html . - Alexey. Marcel Ruff wrote: After fiddling further i have found this workaround: - var expr = 'function doPrecond() { project.log("HELLO PRECOND"); }' <

Re: Scope of scripts -> workaround

After fiddling further i have found this workaround: - var expr = 'function doPrecond() { project.log("HELLO PRECOND"); }' project.setProperty("expr", expr); eval(""+project.getProperty("expr")); doPrecond(); ---

Re: Sending Success or Failure mail

[EMAIL PROTECTED] wrote: Hi All, I trying to send a mail which will contain the success or failure message of Build, I stuck to one problem which is like this: I collect the build logs in various log files, but there is one build.msg file where I collect the summary of builds which also

Scope of scripts

Hi, i have defined a javascript function in a "pre" task, but when i want to call it later i get: ReferenceError: "doPrecond" is not defined Here is the xml, i call it with 'ant y': - function doPrecond() { project.log("HELLO PRECOND"); } doPrecond();

Re: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

Huxi LI wrote: **Hi everyone, I would like to launch a discussion about implementation of self-discovery feature in Ant. The idea is that when users drop a jar in share directory, all custiom tasks and datatypes should be discovered automatically by Ant. The same is true when jars are removed fr

Re: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

Auto loading has already been discussed on the developer list; please check the archives and take any further discussion there instead of the user list. Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IB

Re: Converting a shell script part to ant target

Pritesh: No problem :) [EMAIL PROTECTED] wrote: I am really sorry for that... -Original Message- From: Scot P. Floess [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 5:09 PM To: Ant Users List Subject: Re: Converting a shell script part to ant target Pritesh: Are you being sa

RE: Converting a shell script part to ant target

I am really sorry for that... -Original Message- From: Scot P. Floess [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 5:09 PM To: Ant Users List Subject: Re: Converting a shell script part to ant target Pritesh: Are you being sarcastic? Certainly all of us here who know ant hav

AW: Property Task's timestamp

Maybe with an empty comment Jan >-Ursprüngliche Nachricht- >Von: Vinny [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 25. April 2006 18:07 >An: user@ant.apache.org >Betreff: Property Task's timestamp > >Is there anyway Ant to not put timestamps on the top of a >created/modified proper

Re: Converting a shell script part to ant target

Pritesh: Are you being sarcastic? Certainly all of us here who know ant have had to read the documentation so I sincerely hope your comment regarding "instead of giving solutions" isn't meant as I see it... And, to whom do you refer when stating "please be quite?" Scot [EMAIL PROTECTED] w

Re: How do to conditional javac executable fork?

Robert: You shouldn't need multiple javac tasks - you can do some work with condition's. I have a similar need in a project I am working on where I want to be able to set some properties to default values if not set (either by the current ant task or the environment). I am using ant contrib

Sending Success or Failure mail

Hi All, I trying to send a mail which will contain the success or failure message of Build, I stuck to one problem which is like this: I collect the build logs in various log files, but there is one build.msg file where I collect the summary of builds which also contains the failed messa

RE: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

A good thought , its really a good feature -Original Message- From: Huxi LI [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 1:54 PM To: user@ant.apache.org Subject: Asking for new feature: Self-Discovery of service to make Ant a real extensible system **Hi everyone, I would like

Asking for new feature: Self-Discovery of service to make Ant a real extensible system

**Hi everyone, I would like to launch a discussion about implementation of self-discovery feature in Ant. The idea is that when users drop a jar in share directory, all custiom tasks and datatypes should be discovered automatically by Ant. The same is true when jars are removed from the share dire

Re: Ant task

no sayed...it's an open sourceppl keep on adding tasks...refer sourceforge/ant-contrib . all tasks which are shipped in ant.jar by apache can be accessed at : http://ant.apache.org/manual/tasksoverview.html cheers!! Ankur Agarwal Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED]

RE: Ant task

> -Original Message- > From: Irfan J Sayed [mailto:[EMAIL PROTECTED] > Sent: Friday, 28 April 2006 4:10 PM > To: user@ant.apache.org > Subject: Ant task > > Hi, > > What all the no. of task that we can do with the Ant . I mean > is there any command / link which shows the listing of