Re: How to avoid long classpath issue in windows

2012-04-03 Thread vijayaratha vijayasingam
Hi Jarek; Thanks for the help.. I fixed it using *"Manifestclasspath task"*, which is used to avoid long classpath issue... I have written a small blog[1] entry with the sample for others reference.. http://vvratha.blogspot.com/2012/04/avoiding-long-classpath-issue-in-ant.html Thanks -

Re: How to avoid long classpath issue in windows

2012-04-02 Thread Jarek Czekalski
.. Any idea how can i overcome this issue? On 2 April 2012 10:39, vijayaratha vijayasingam wrote: Hi all; Im facing a long classpath issue in windows with my build.xml. If i define the build.xml as follows[1

Re: How to avoid long classpath issue in windows

2012-04-02 Thread vijayaratha vijayasingam
tory/components/**plugins/*.jar ../../lib/*.jar >> ../../lib/endorsed/*.jar"/> >> >> >> >> >> > includeantruntime="false"> >> >

Re: How to avoid long classpath issue in windows

2012-04-02 Thread Jarek Czekalski
rcome this issue? On 2 April 2012 10:39, vijayaratha vijayasingamwrote: Hi all; Im facing a long classpath issue in windows with my buil

Re: How to avoid long classpath issue in windows

2012-04-02 Thread vijayaratha vijayasingam
? On 2 April 2012 10:39, vijayaratha vijayasingam wrote: > Hi all; > Im facing a long classpath issue in windows with my build.xml. > If i define the

derby Classpath issue

2012-01-19 Thread Knuplesch, Juergen
Hello, I was creating an ANT-task that is using derby.jar as jdbc driver. I put derby.jar in the front of the classpath of my task. But every time I tried to reload sth. into my derby database it failed: sth. like "JDBC driver not found" Yesterday I found a workaround for my problem: I

Classpath issue with javac task

2009-06-17 Thread Zanzerkia, Robert
I am using Ant 1.6.5. The problem I am running into is that a wrong class is loaded. I have IBM RAD installed on the system and it is using the class from that directory tree. I have setup my own classpath in the build.xml and it does not include C:\IBM... entries. So how can I prevent javac pic

RE: junit task classpath issue, can't find jdbc drivers?

2007-09-10 Thread Preston, Brian
Re: junit task classpath issue, can't find jdbc drivers? Preston, Brian wrote: > Is there a common 'gotcha' with running the junit task and classpaths? > Because I'm having a problem where my tests run against the database, > so they need the drivers on the classpath, and

Re: junit task classpath issue, can't find jdbc drivers?

2007-09-10 Thread Steve Loughran
Preston, Brian wrote: Is there a common 'gotcha' with running the junit task and classpaths? Because I'm having a problem where my tests run against the database, so they need the drivers on the classpath, and they're not being found. Here's the error : java.sql.SQLException: No suitable drive

junit task classpath issue, can't find jdbc drivers?

2007-09-07 Thread Preston, Brian
Is there a common 'gotcha' with running the junit task and classpaths? Because I'm having a problem where my tests run against the database, so they need the drivers on the classpath, and they're not being found. Here's the error : java.sql.SQLException: No suitable driver at java.sql.DriverMana

Re: Re: javac task with classpath issue

2007-06-14 Thread query
Reformatted one is available in:  20070612125513.17951.qmail () webmail6 ! rediffmail ! com On Tue, 12 Jun 2007 Scot P.Floess wrote : >Can you reformat and show some samples? > >query wrote: >>Sorry for the mail format. >> >>The issue with recompilation is not with jar file, but with class files.

Re: Re: javac task with classpath issue

2007-06-14 Thread query
Reformatted one is available in:  20070612125513.17951.qmail () webmail6 ! rediffmail ! com On Tue, 12 Jun 2007 Scot P.Floess wrote : >Can you reformat and show some samples? > >query wrote: >>Sorry for the mail format. >> >>The issue with recompilation is not with jar file, but with class files.

Re: Re: javac task with classpath issue

2007-06-14 Thread query
Reformatted one is available in:  20070612125513.17951.qmail () webmail6 ! rediffmail ! com On Tue, 12 Jun 2007 Scot P.Floess wrote : >Can you reformat and show some samples? > >query wrote: >>Sorry for the mail format. >> >>The issue with recompilation is not with jar file, but with class files.

Re: Re: Classpath issue with task

2007-06-14 Thread query
  Definitions are as given below: On Tue, 12 Jun 2007 Scot P.Floess wrote : >First off what is the value of dst? > >Second, what is the definition of app.path? > >query wrote: >> Hi, >> >>I have been using ANT tool to compile java source files. >> >>>includes="**/*.jav

Re: Re: Classpath issue with task

2007-06-14 Thread query
  Definitions are as given below: On Tue, 12 Jun 2007 Scot P.Floess wrote : >First off what is the value of dst? > >Second, what is the definition of app.path? > >query wrote: >> Hi, >> >>I have been using ANT tool to compile java source files. >> >>>includes="**/*.jav

Re: Classpath issue with task

2007-06-12 Thread Peter Reilly
On 12 Jun 2007 12:55:13 -, query <[EMAIL PROTECTED]> wrote: Hi, I have been using ANT tool to compile java source files. In the log file, it is displaying the destination folder also in the classpath though I have not defined it in classpath. The destination folder has always been

Re: Classpath issue with task

2007-06-12 Thread Scot P. Floess
First off what is the value of dst? Second, what is the definition of app.path? query wrote: Hi, I have been using ANT tool to compile java source files. In the log file, it is displaying the destination folder also in the classpath though I have not defined it in classpath. Is it

Classpath issue with task

2007-06-12 Thread query
  Hi, I have been using ANT tool to compile java source files. In the log file, it is displaying the destination folder also in the classpath though I have not defined it in classpath. Is it task bug? Log file: [javac] Using modern compiler [javac] Compilation arguments: [java

Re: javac task with classpath issue

2007-06-12 Thread Scot P. Floess
Can you reformat and show some samples? query wrote: Sorry for the mail format. The issue with recompilation is not with jar file, but with class files. When I have already mentioned eg1.jar in classpath, hence compiler shouldn't recompile the common java files while compiling eg2 source files.

Re: Re: javac task with classpath issue

2007-06-12 Thread query
Sorry for the mail format. The issue with recompilation is not with jar file, but with class files. When I have already mentioned eg1.jar in classpath, hence compiler shouldn't recompile the common java files while compiling eg2 source files. This issue is arising only with ANT tool. What can

Re: javac task with classpath issue

2007-06-08 Thread David Weintraub
Please, please change your email preferences to not send HTML email messages! This is a text only list, and I simply cannot read your email. I think what you're saying is that you have two directories: eg1 and eg2. You compile a JAR in ej1, and need that JAR in eg2. However, eg2 recompiles and re

javac task with classpath issue

2007-06-08 Thread query
I have already compiled some java source files using ANT task and created a jar file(eg1.jar). I am using eg1.jar in the classpath to compile files in E:\\ANTBUILD\\eg\\eg2\\sources.The log shows that in the classpath, it is also including the destination folder as a classpath. Is it an

Re: Re :Re: classpath issue in task

2007-06-01 Thread Peter Reilly
Please try to configure your email client not to send html encoded line noise Peter On 1 Jun 2007 12:49:01 -, query <[EMAIL PROTECTED]> wrote: Log file and build file sample is given below.Log file:

Re :Re: classpath issue in task

2007-06-01 Thread query
Log file and build file sample is given below.Log file:\\ [javac] Using modern compiler\\    [ja

RE: Re: classpath issue in task

2007-06-01 Thread Saurabh Dave
, 2007 6:08 PM To: user@ant.apache.org Subject: Re :Re: classpath issue in task Below is the sample log file and build fileLog file: [javac] Using modern compiler    [javac] Compilation arguments:    [javac] \'-d\'    [javac] \'E:\\samplebuild\\eg\\eg2\\classfiles\'    [javac] \&#x

Re :Re: classpath issue in task

2007-06-01 Thread query
Below is the sample log file and build fileLog file: [javac] Using modern compiler    [javac] Compilation arguments:    [javac] \'-d\'    [javac] \'E:\\samplebuild\\eg\\eg2\\classfiles\'    [javac] \'-classpath\'    [javac] \'E:\\samplebuild\\eg\\eg2\\classfiles;C:\\PROGRA~1\\jdk1.5;E:\\sampleb

Re: classpath issue in task

2007-06-01 Thread David Weintraub
You didn't include a code snippet, so it is hard to see what you did. There is a nested element in the task where you can specify a classpath either through a "fileset" or via a reference. You can also use the "classpath=" parameter to specify the classpath. However, if you do not specify eith

Classpath issue in task

2007-06-01 Thread query
I have created classpath in a build file and using it in the same build file for compiling java source files. When I checked the log file I found that classfile destination folder(absolute path of class.dest) was also included in the classpath though I had not specified it in eg.class.pathAs a r

classpath issue in task

2007-06-01 Thread query
I have created classpath in a build file and using it in the same build file for compiling java source files. When I checked the log file I found that classfile destination folder(absolute path of class.dest) was also included in the classpath though I had not specified in eg.class.pathAs a res

RE: Classpath issue

2005-10-09 Thread duvelbier-tsmets
ortunity to discuss the new method of doing this (as I was never > really clear on what replaced this now deprecated feature). > > Ben > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 06, 2005 6:36 AM > To: Ant

RE: Classpath issue

2005-10-06 Thread Burgess, Benjamin
ally clear on what replaced this now deprecated feature). Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 06, 2005 6:36 AM To: Ant Users List; [EMAIL PROTECTED] Subject: RE: Classpath issue Chris, The CC does not use the ANT shipped w

RE: Classpath issue

2005-10-06 Thread duvelbier-tsmets
CO > > Phone: 719-265-5962 > Cell: 719-640-6488 > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 06, 2005 4:14 AM > To: user@ant.apache.org > Subject: Classpath issue > > > Dear, > > The ant used by Cruis

RE: Classpath issue

2005-10-06 Thread Erskine, Chris
: 719-640-6488 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 06, 2005 4:14 AM To: user@ant.apache.org Subject: Classpath issue Dear, The ant used by Cruisecontrole has a few library installed in the ${ANT_HOME}/lib There is a library that is

Classpath issue

2005-10-06 Thread duvelbier-tsmets
Dear, The ant used by Cruisecontrole has a few library installed in the ${ANT_HOME}/lib There is a library that is of a very old version while I'd need a more recent version of the task. My project file defines its own path for ALL the targets it uses but ANT uses the library in its ${ANT_HOM

Re: Classpath Issue

2004-12-27 Thread Antoine Levy-Lambert
Shane, it looks like you are using simply a class of commons-collection. Put commons-collection.jar in $ANT_HOME/lib (the simplest solution), or change your build files to put commons-collection.jar where you need it (maybe in the classpath of some custom task ???) or you can also start ant like t

Classpath Issue

2004-12-22 Thread Shane Furlong
All, I recognize that this may be an elementary question but I'm stuck with what I know is a Classpath problem and I can't figure out how to fix it. I'm trying to learn ant and I have some tutorials but they won't build. The error says: BUILD FAILED java.lang.NoClassDefFoundError:

Re: help classpath issue

2004-12-13 Thread James Abley
Can't see anything obvious, apart from the echo task nested in the java task - I don't think that will work. What differences do you see when you use the -verbose or -debug option to dump the arguments to the java task, versus the arguments that you are passing when using the java runtime on the c

help classpath issue

2004-12-13 Thread Rajiv Jaitly
Please read the disclaimer at the bottom of this e-mail. Hi, I have a task (run-jostraca) in my ant script that calls a Java class (org.jostraca.Jostraca) that in turn generates a

classpath issue

2004-12-13 Thread Rajiv Jaitly
Please read the disclaimer at the bottom of this e-mail. Hi, I have a task (run-jostraca) in my ant script that calls a Java class (org.jostraca.Jostraca) that in turn generates a

Re: Classpath Issue - Not sure why it isn't being picked up

2004-10-07 Thread Laconia Data Systems
Thats why we are here Martin- - Original Message - From: "Grand Cheng" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, October 07, 2004 9:15 AM Subject: RE: Classpath Issue - Not sure why it isn't being picked up Than

RE: Classpath Issue - Not sure why it isn't being picked up

2004-10-07 Thread Grand Cheng
Thanks to everyone for their help. Grand -Original Message- From: Laconia Data Systems [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 7:45 PM To: Ant Users List Subject: Re: Classpath Issue - Not sure why it isn't being picked up Yes It appears your javac ta

Re: Classpath Issue - Not sure why it isn't being picked up

2004-10-06 Thread Laconia Data Systems
Grand Cheng" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Wednesday, October 06, 2004 10:46 AM Subject: RE: Classpath Issue - Not sure why it isn't being picked up Hi, Thanks for the assistance. With regard to "2)resolving classepath issues

RE: Classpath Issue - Not sure why it isn't being picked up

2004-10-06 Thread Grand Cheng
ROTECTED] Sent: Wednesday, October 06, 2004 9:30 AM To: Ant Users List Subject: Re: Classpath Issue - Not sure why it isn't being picked up 1) compiling go to C:\ dir /X note the short name of the folder for folder 'PCC Source' (e.g. on my box C:\Program Files shortened name is C:\P

Re: Classpath Issue - Not sure why it isn't being picked up

2004-10-06 Thread Laconia Data Systems
kage esolutions.util located at ${basedir}\PCC Source\CAN\esolutions\util will be found Makes sense??? Martin- - Original Message - From: "Grand Cheng" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Wednesday, October 06, 2004 9:08 AM Subjec

RE: Classpath Issue - Not sure why it isn't being picked up

2004-10-06 Thread Grand Cheng
, 2004 7:31 AM To: Ant Users List Subject: Re: Classpath Issue - Not sure why it isn't being picked up Grand: Keep in mind that if your base folder is named 'base' and your package name is named 'foo' then you need to compile the source from folder 'base' which

Re: Classpath Issue - Not sure why it isn't being picked up

2004-10-06 Thread Laconia Data Systems
specific names would be Martin - Original Message - From: "Grand Cheng" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 05, 2004 4:22 PM Subject: Classpath Issue - Not sure why it isn't being picked up Hi, I am a newbie to Ant so I appreciate any

AW: Classpath Issue - Not sure why it isn't being picked up

2004-10-06 Thread Hagen, Christian
Hi, > [...] > > > > > > > > > > > try using ^^^ instead. Greetings Chris > [...] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Classpath Issue - Not sure why it isn't being picked up

2004-10-06 Thread Joshi, Saket L.
Try using this instead, Hope this helps -Original Message- From: Grand Cheng [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 1:53 AM To: [EMAIL PROTECTED] Subject: Classpath Issue - Not sure why it isn't being picked up Hi, I am a newbie to Ant so I appre

Classpath Issue - Not sure why it isn't being picked up

2004-10-05 Thread Grand Cheng
Hi, I am a newbie to Ant so I appreciate any help you can lend me. I am trying to compile a fairly large project, which has multiple packages, and has referencing between them. So when I first created the build file and ran it, I received a slew of "package not found" , and "cannot resolve