Re: NoSuchMethodError when building a task

2008-12-01 Thread Gilbert Rebhan
Greg Roodt schrieb: > The ejbgen task seems to be a Weblogic specific task. I think you would have > more luck asking BEA for support. > BTW, setting the source attribute=2.18 seems incorrect to me, I would try > 1.5, but thats a major guess. I have no knowledge of this task. Is the ejbgen task in

Re: NoSuchMethodError when building a task

2008-12-01 Thread Greg Roodt
The ejbgen task seems to be a Weblogic specific task. I think you would have more luck asking BEA for support. BTW, setting the source attribute=2.18 seems incorrect to me, I would try 1.5, but thats a major guess. I have no knowledge of this task. Cheers Greg On Mon, Dec 1, 2008 at 4:50 PM, <[E

RE: NoSuchMethodError when building a task

2008-12-01 Thread dave.alvarado
Actually I had been mistaken earlier when I said Ant 1.6. I do have 1.7. This is the folder in my C:\eclipse\plugins directory org.apache.ant_1.7.0.v200706080842 Thanks, - Dave > ---Original Message--- > From: Ammar Khalid <[EMAIL PROTECTED]> > Subject: RE: NoSuchMethodError when

RE: NoSuchMethodError when building a task

2008-12-01 Thread Ammar Khalid
Upgrade to Ant 1.7.1, as Ant 1.6 is the root of a lot of Evil! You will need to update the ANT plugin of your eclipse for the newer version. Ammar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 01 December 2008 15:20 To: user@ant.apache.org Subject: NoSuchMeth

NoSuchMethodError when building a task

2008-12-01 Thread dave.alvarado
Hi, I'm using Eclipse 3.4 on Windows XP to run my Ant build script (Ant 1.6). When running my build.xml file, I get the error ... Buildfile: C:\Temp\CedarPoint_Service\build.xml check-weblogic: check-javadoc: check-ejbgen: generate-query-ejb: [delete] Deleting directory C:\Temp\CedarPoint_Se

RE: ANT failing from command line

2008-12-01 Thread Ammar Khalid
Nothing really there except for exe files. I have removed this from the classpath and my new CLASSPATH is: "C:\Program Files\Documentum\dctm.jar;C:\Documentum\config" However, my ant -version still shows 1.6.2. N:\>ant -version Apache Ant version 1.6.2 compiled on July 16 2004 Thanks Ammar

RE: ANT failing from command line

2008-12-01 Thread Ammar Khalid
Thanks Mike for helping me so far. I don't get a System Properties section. The only output that I get is: N:\>ant -version Apache Ant version 1.6.2 compiled on July 16 2004 N:\>ant -diagnostics --- Ant diagnostics report --- Apache Ant version 1.6.2 compiled on July 16 2004 -

RE: ANT failing from command line

2008-12-01 Thread Mike Stewart
Just a thought - you have a classpath environment variable set up - CLASSPATH=C:\ProgramFiles\Documentum\dctm.jar;C:\Documentum\config;C:\Program Files\Documentum\java\1.4.2_11\bin;C:\installations\apache-ant-1.7.1\lib\ant.jar Whats in those directories particularly C:\Program Files\Document

RE: ANT failing from command line

2008-12-01 Thread Mike Stewart
When you run the ant diagnostics what does it return in the system properties section? Mike S. >>> "Ammar Khalid" <[EMAIL PROTECTED]> 01/12/2008 13:18:19 >>> I have checked the manifest file of my ant.jar and it shows: Manifest-Version: 1.0 Ant-Version: Apache Ant 1.7.1 Created-By: 10.0-b22 (

RE: ANT failing from command line

2008-12-01 Thread Ammar Khalid
I have checked the manifest file of my ant.jar and it shows: Manifest-Version: 1.0 Ant-Version: Apache Ant 1.7.1 Created-By: 10.0-b22 (Sun Microsystems Inc.) Main-Class: org.apache.tools.ant.Main Name: org/apache/tools/ant/ Extension-name: org.apache.tools.ant Specification-Title: Apache Ant Spec

RE: ANT failing from command line

2008-12-01 Thread Rebhan, Gilbert
-Original Message- From: Ammar Khalid [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 12:35 PM To: user@ant.apache.org Subject: ANT failing from command line /* I have written an ANT script and tested in my eclipse environment and it works fine from within eclipse environment.

RE: ANT failing from command line

2008-12-01 Thread Mike Stewart
It must be picking up another installation of ANT from somewhere, do a search for ant on the hard drive and open the ant.jar file and inside there open the manifest.mf file that will give you the version of the ant installation. Mike S. >>> "Ammar Khalid" <[EMAIL PROTECTED]> 01/12/2008 11:56:

Re: ANT failing from command line

2008-12-01 Thread Greg Roodt
How sure are you that you are have Ant 1.7.1? Here is my output and there are size differences in the jars. U:\>ant -diagnostics --- Ant diagnostics report --- Apache Ant version 1.7.1 compiled on September 23 2008 --- Implementation Version ---

RE: ANT failing from command line

2008-12-01 Thread Ammar Khalid
1- After running the SET at DOS, as you can see ANT_HOME is set to: C:\installations\apache-ant-1.7.1 2- Also in the PATH env variable, you can see, the path to ant is: C:\installations\apache-ant-1.7.1\bin 3- I also ran ant -diagnostics and the output is below after the output to SET --

Re: ANT failing from command line

2008-12-01 Thread Greg Roodt
Yes. Ammar, you need to ensure that the ANT_HOME environment variable is set to the file system location where you extracted Ant 1.7.1. You also need to ensure that %ANT_HOME%\bin is earlier in your PATH than any other installations of Ant. Greg On Mon, Dec 1, 2008 at 11:42 AM, Mike Stewart <[E

Re: ANT failing from command line

2008-12-01 Thread Mike Stewart
in the DOS window type SET and see what the environment variable ANT_HOME is set to, also check the PATH variable as this could be causing issues. Mike S. >>> "Ammar Khalid" <[EMAIL PROTECTED]> 01/12/2008 11:34:55 >>> I have written an ANT script and tested in my eclipse environment and it wor

ANT failing from command line

2008-12-01 Thread Ammar Khalid
I have written an ANT script and tested in my eclipse environment and it works fine from within eclipse environment. When I run the script using command line command: N:\tasks\ant task for juliet>ant -buildfile build.xml Buildfile: build.xml On checking the web, I saw that this maybe due to old

NullPointer bug IvyDE 2.0.0.beta1

2008-12-01 Thread Goldspink, Matt (IT)
Hi, I hit the NullPointer issue this morning in Jira: http://issues.apache.org/jira/browse/IVYDE-133. I took a quick look at the problem and it looks pretty straight forward to fix. Is it possible to get this fix added before 2.0.0.beta1 goes live? I've copied my comment from the Jira below fo

Re: Target overriding inside imported files.

2008-12-01 Thread Alfredo Perez
Thank you very much Jan 2008/12/1 <[EMAIL PROTECTED]> > >I'm working with Eclipse and I have auto generated the > >build.xml file. There > >is a way to automatically import your own buildfiles by adding > > on the top. > >My question: ¿Is it possible to override the definition of a > >target in