Re: Classpath generation (migrating from old to new)

2020-03-25 Thread Stefan Bodewig
On 2020-03-24, Pennington, Dale wrote: > The particular issue is the classpath generated. On the old system, the > classpath included all the local user defined .jars, as well as a large > number of jars from /usr/share/java, that were not specified in the build.xml > file. The new system only

Re: @classpath

2013-04-10 Thread Peter West
Thank you all. I see I was instantly swamped with responses. Sign of a good list. Peter West "Have you believed because you have seen me? Blessed are those who have not seen and yet believe." On 10/04/2013, at 11:37 PM, Peter West wrote: > Where can I find documentation for usage like > >

Re: @classpath

2013-04-10 Thread Peter West
Ok, it's a macro expansion. When you forget things like this, they are extremely difficult to track down. Peter West "Have you believed because you have seen me? Blessed are those who have not seen and yet believe." On 10/04/2013, at 11:37 PM, Peter West wrote: > Where can I find documentat

RE: @classpath

2013-04-10 Thread Milliken, Rob
Google xpath or xslt -Original Message- From: Peter West [mailto:li...@pbw.id.au] Sent: Wednesday, April 10, 2013 9:37 AM To: user@ant.apache.org Subject: @classpath Where can I find documentation for usage like ? Likewise for the other uses of "@"? Thanks. Peter West "Have you beli

Re: @classpath

2013-04-10 Thread Peter Reilly
It is described in: http://ant.apache.org/manual/Tasks/macrodef.html On Wed, Apr 10, 2013 at 2:37 PM, Peter West wrote: > Where can I find documentation for usage like > > ? > > Likewise for the other uses of "@"? > > Thanks. > > Peter West > > "Have you believed because you have seen me? Bl

Re: @classpath

2013-04-10 Thread Vimil Saju
Those are macrodef attributes. Look for macrodefs in ant's manual From: Peter West To: user@ant.apache.org Sent: Wednesday, April 10, 2013 6:37 AM Subject: @classpath Where can I find documentation for usage like ? Likewise for the other uses of "@"? Than

Re: Classpath for taskdef'd tasks

2012-06-10 Thread Peter West
Thanks Rainer. I'll take a look. Peter West "Are not all these who are speaking Galileans?" On 11/06/2012, at 4:55 AM, Rainer Noack wrote: > Maybe you will take a look at > > http://enitsys.sourceforge.net/ant-classloadertask/ > > a little older, but works fine. > (classloaderreport is broken

Re: Classpath for taskdef'd tasks

2012-06-10 Thread Rainer Noack
Maybe you will take a look at http://enitsys.sourceforge.net/ant-classloadertask/ a little older, but works fine. (classloaderreport is broken with ant 1.8.x) Am 10.06.2012 11:54, schrieb Peter West: I'm looking at a complex build that builds a jar file with a collection of classes, then runs

Re: 'classpath url' in settings

2011-04-20 Thread Nicolas Lalevée
Le 19 avr. 2011 à 17:08, Felix Drueke a écrit : > Can anyone confirm that the " http://ant.apache.org/ivy/history/latest-milestone/settings/classpath.html > actually works with IvyDE under Windows? > > I got it to work with ant and with IvyDE in Eclipse under Linux, but it > doesn't > work unde

RE: Classpath and taskdef

2009-11-17 Thread Martin Gainty
javap bytecode listing of xercesImpl.jar which i have that is packaged with $ANT_HOME/lib/xercesImpl.jar 09/08/2009 07:16 PM 1,223,877 xercesImpl.jar public class org.apache.xerces.util.XMLAttributesImpl extends java.lang.Object i mplements org.apache.xerces.xni.XMLAttributes{ prot

RE: Classpath Wildcards

2009-03-12 Thread Murray, Mike
https://issues.apache.org/bugzilla/show_bug.cgi?id=46842 -Original Message- From: Paul King [mailto:pa...@asert.com.au] Sent: Thursday, March 12, 2009 6:16 AM To: user@ant.apache.org Subject: RE: Classpath Wildcards +1 for a bug report/enhancement requrest. I need this functionality

RE: Classpath Wildcards

2009-03-12 Thread Paul King
; I'll submit a bug report if I don't receive any feedback contrary to my > analysis. > > Thanks, Mike > > PS - I'm looking for a solution for developers who do not want to use > mapped drives. > > -----Original Message- > From: David Weintraub [mailt

RE: Classpath Wildcards

2009-02-26 Thread Murray, Mike
alysis. Thanks, Mike PS - I'm looking for a solution for developers who do not want to use mapped drives. -Original Message- From: David Weintraub [mailto:qazw...@gmail.com] Sent: Thursday, February 26, 2009 11:26 AM To: Ant Users List Subject: Re: Classpath Wildcards There's

Re: Classpath Wildcards

2009-02-26 Thread David Weintraub
There's one solution: Don't use Windows! (The above statement was brought to you by Linux Geeks with no Social Life.) You can't use because it actually verifies your includes. That's no good as you pointed out. I've tried and that appears as a literal when I print it out. However, it could be t

RE: Classpath Wildcards

2009-02-26 Thread Murray, Mike
I'm setting up a classpath for a forked . I understand how Ant wildcards work. I was previously using ant wildcards to define the classpath, but the cmd line exceeds the windows limit when ${srclib} is deep. I want the classpath to include the literal string "wnc/*", which is a

Re: Classpath with a path located on a distant server

2008-12-30 Thread Nan Null
Add to Martin's suggestion, if none of his solutions fits your case, then you can always look into class loader. A class loader can load classes from anywhere, so that will guarantee to work. If you define a task, here's a snippet I got off the net: On Tue, Dec 30, 2008 at 10:29 AM,

RE: Classpath with a path located on a distant server

2008-12-30 Thread Martin Gainty
if you want to browse you will need an directory access mechanism such as ActiveDirectory for Windows http://www.serverwatch.com/tutorials/article.php/1474461 or Samba for Unix http://www.samba.org/ (you will need to supply the authentication credentials) you can always try scp http://www.hypexr

Re: Classpath problem / getting StarTeam tasks to work...

2008-03-12 Thread Ken Turner
I use StarTeam successfully simply by using the following -lib parameter when I call Ant: -lib "C:\Program Files\Borland\StarTeam SDK 2005\Lib" -- View this message in context: http://www.nabble.com/Classpath-problem---getting-StarTeam-tasks-to-work...-tp15499112p16001862.html Sent from the Ant

Re: classpath order wierdness

2007-11-20 Thread Peter Reilly
On Nov 20, 2007 1:36 AM, Hunter Peress <[EMAIL PROTECTED]> wrote: > *First the build file: > * > > > > > > > > > > println "HELLO" > > > > > --

RE: classpath order wierdness

2007-11-20 Thread Rebhan, Gilbert
-Original Message- From: Hunter Peress [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 20, 2007 2:36 AM To: Ant Users List Subject: classpath order wierdness /* [ ... ] QUESTION: * How can I run it so that I don't have to explicitely call ant with -lib?? */ Simply put all those j

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

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

RE: Re: Classpath failure has me mystified.

2006-10-19 Thread cknell
Bingo! Thanks. That's exactly what I wasn't seeing. You've solved my problem. -- Charles Knell [EMAIL PROTECTED] - email -Original Message- From: James Abley <[EMAIL PROTECTED]> Sent: Thu, 19 Oct 2006 15:46:38 +0100 To: Ant Users List Subject:

Re: Classpath failure has me mystified.

2006-10-19 Thread James Abley
What's in your CLASSPATH environment variable? James [EMAIL PROTECTED] wrote: Thanks. I tried them both but didn't see anything I didn't expect to see. I am still no closer to an answer. = Execute:Java13CommandLauncher: Executing 'C:\Program Files\Java\jdk1.5.0_06\

Re: Classpath failure has me mystified.

2006-10-19 Thread James Abley
ant -v ant -d What equivalent command-line is ANT generating? James [EMAIL PROTECTED] wrote: My problem: When running a build file, I get this error message: [java] Error in FetchDataAsXML.getXML(): java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver The relevant section

Re: classpath from external jars relative to environment variable

2006-08-18 Thread Robert La Ferla
On Aug 18, 2006, at 12:34 PM, Antoine Levy-Lambert wrote: Do you have a line reading in your build file ? This is a prerequisite to access env vars with the env. prefix. Yes. In fact, it was in my reply. ;-) I am still looking for / researching a solution. ---

Re: classpath from external jars relative to environment variable

2006-08-18 Thread Antoine Levy-Lambert
Do you have a line reading in your build file ? This is a prerequisite to access env vars with the env. prefix. Regards, Antoine > I actually had "." in their too. I think my problem may actually be > related to running ant under XCode (gui tool) because I was able to > run it fine fro

Re: classpath from external jars relative to environment variable

2006-08-18 Thread Robert La Ferla
On Aug 18, 2006, at 11:54 AM, Antoine Levy-Lambert wrote: Wrong, property values expand other property values (if the props are defined). e.g. You type env. MYPROJECT should be env.MYPROJECT without space between env. and MYPROJECT That was a typo. The problem still occurs with

Re: classpath from external jars relative to environment variable

2006-08-18 Thread Antoine Levy-Lambert
Hi, Original-Nachricht Datum: Fri, 18 Aug 2006 11:18:40 -0400 Von: Robert La Ferla <[EMAIL PROTECTED]> An: Ant Users List Betreff: classpath from external jars relative to environment variable > I have several external jars that are located relative to a directory > specified

Re: classpath problem using the java task

2006-07-05 Thread James Fuller
to access env vars (http://ant.apache.org/manual/index.html) and then echo out. though its best to leave nothing to chance and completely control either via a batch script that runs Ant or definition in ant build file things like PATH, etc... gl, Jim Fuller ---

Re: classpath problem using the java task

2006-07-05 Thread James Abley
ant -v or ant -d for more verbose output as to what ANT is doing. Jeffrey E Care wrote: Check out your property definition for appserver-home. Jeffrey E. (Jeff) Care [EMAIL PROTECTED]

Re: classpath problem using the java task

2006-07-04 Thread Jeffrey E Care
Check out your property definition for appserver-home. Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Development WAS Pyxis Lead Release Engineer Douglas Dunn <

Re: classpath problem using the java task

2006-07-04 Thread Dominique Devienne
From http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/java.html#options -jar Execute a program encapsulated in a JAR file. The first argument is the name of a JAR file instead of a startup class name. In order for this option to work, the manifest of the JAR file must contain a line of the f

Re: classpath and simultaneous builds

2006-02-06 Thread Matt Benson
--- Harshal Chavda <[EMAIL PROTECTED]> wrote: >   > Hello ant fraternity, > I am a beginner in ant(version > -1.6.3) and have > absolutely no knowledge of java(I can only write > very simple java > programas in java).Can anyone please tell me "what > is classpath and > how is

Re: classpath and simultaneous builds

2006-02-06 Thread Steve Loughran
Harshal Chavda wrote: Hello ant fraternity, I am a beginner in ant(version -1.6.3) and have absolutely no knowledge of java(I can only write very simple java programas in java).Can anyone please tell me "what is classpath and how is it used"? I also wanted to know whether

Re: classpath and simultaneous builds

2006-02-05 Thread Ivan \"Rambius\" Ivanov
Hello, --- Harshal Chavda <[EMAIL PROTECTED]> wrote: > Hello ant fraternity, > I am a beginner in ant(version > -1.6.3) First, I would suggest that you upgrade to the latest version of Ant which is 1.6.5. > and have > absolutely no knowledge of java(I can only write > very si

RE: classpath and simultaneous builds

2006-02-05 Thread Stephen McConnell
> -Original Message- > From: Harshal Chavda [mailto:[EMAIL PROTECTED] > Sent: Monday, 6 February 2006 5:36 AM > To: user@ant.apache.org > Subject: classpath and simultaneous builds > >   > Hello ant fraternity, > I am a beginner in ant(version -1.6.3) and > have abs

RE: Classpath

2006-01-13 Thread Paulo Jorge Guedes
> run ant with -lib j2ee.jar to have it stuck on Ant's classpath. It worked, thanks a lot! Paulo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Classpath

2006-01-12 Thread Steve Loughran
Paulo Jorge Guedes wrote: Hi, I created an enterprise project with NetBeans and I need to build it with ant, from the command line. I'm having a problem with the classpath. I need to import javax.ejb.* but it won't find the proper jar (j2ee.jar). The only way I can make ant to find it is setting

RE: Classpath in external file

2005-11-01 Thread Uri Zeituni
That's a good idea (how didn't I think about it?). Thanks! -Original Message- From: Jon Skeet [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 01, 2005 5:13 PM To: Ant Users List Subject: RE: Classpath in external file > I have a situation where I have a few projects,

RE: Classpath in external file

2005-11-01 Thread Burgess, Benjamin
Will this build script be imported into each project's script? You can always add a target like "display-classpath" or something like that that just echo's it to the screen. This could be useful to some. Ben -Original Message- From: Uri Zeituni [mailto:[EMAIL PROTECTED] Sent: Tuesday,

RE: Classpath in external file

2005-11-01 Thread Jon Skeet
> I have a situation where I have a few projects, each one have > its own build, but all use the same classpath reference for > compilation. > I have a huge classpath defined, and I don't want to repeat > it in every single script. What I did so far is to define the > classpath in a certain pro

Re: Classpath problem on a unix system

2005-10-26 Thread Juergen Hermann
On Wed, 26 Oct 2005 18:04:14 +0200, [EMAIL PROTECTED] wrote: >Any clue? >Any help would be really welcome. Try to find out how the shell wrapper (ant) on your system builds up the classpath. On SuSE f.x., ant has an --execdebug option to show the classpath used to launch Ant. And also there,

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
Chris, The CC does not use the ANT shipped with it (CC). The problem is the fact that ANT has an old version of 'a' library while I need a newer one Unless I missed a point in your answer ... ? \T, --- "Erskine, Chris" <[EMAIL PROTECTED]> wrote: > Rather than using ant within CC, use the ants

RE: Classpath issue

2005-10-06 Thread Erskine, Chris
Rather than using ant within CC, use the antscript attribute on the ant task. This will allow you to then use the version of ant that you install on your machine rather than the version that ships with CC. Chris Erskine EDS Consulting Services Colorado Springs, CO Phone: 719-265-5962 Cell: 7

Re: classpath problem

2005-09-05 Thread luke
Hi. 05Sep2005 @ 10:11 Petar Tahchiev thusly spake > > Probably you have to enlose the tag in your tag like > this: > > > BLAH BLAH > > Thanks! Kind regards. Luke. -- ._.. .| .| |.|/.|_ . .|__.|_|.|\.|_ . :61 421 276 282: ---

RE: classpath problem

2005-09-05 Thread RADEMAKERS Tanguy
you closed your "javac" tag (xml empty tag syntax with a closing "/"), so your classpath isn't being passed. /t >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Saturday, September 03, 2005 9:36 AM >To: user@ant.apache.org >Subject: clas

Re: classpath problem

2005-09-05 Thread Petar Tahchiev
On 03/09/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi. > > I've searched for a solution on this list, faq and google. > It's probably very simple. I am a beginner with ant. > > I want to compile some files that are part of a webapp. > So they need the servlet-api.jar file. > > When I

Re: classpath comfusion ?

2005-07-19 Thread Conor MacNeill
Thomas Matthijs wrote: > Hey, > > A few questions: > > When invoking ant with only ant-launcher.jar on the > localclasspath(java) it automaticly picks up tasks in ANT_LIB, but when > i add ant.jar or some ant-* (optional tasks) (located in ant_lib) too the > localclasspath it no longer seems to

Re: Classpath for Taskdef?

2005-04-24 Thread wolverine my
Hi, Antoine It is working now and appreciate your help! By the way, the manual (http://ant.apache.org/manual/CoreTasks/taskdef.html) does not mentioned these applicable nested elements... exactly where in the documentation we can find such info? On 4/24/05, Antoine Levy-Lambert <[EMAIL PROTECTED

Re: Classpath for Taskdef?

2005-04-24 Thread Antoine Levy-Lambert
Hello Wolverine My, yes it is possible to extend the classpath for specific tasks. The task supports the following attributes : classpath classpathref, loaderref classpathref will be followed by the ID of a path defined before in your build file with a construct like

RE: classpath for custom Ant tasks

2005-04-13 Thread Rainer Noack
patch. Rainer P.S.: if you find the task useful, vote for the patch. > -Original Message- > From: Michael Pelz Sherman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 13, 2005 8:05 PM > To: Ant Users List; [EMAIL PROTECTED] > Subject: RE: classpath for custom Ant tasks &g

RE: classpath for custom Ant tasks

2005-04-13 Thread Michael Pelz Sherman
Original Message- > > From: Michael Pelz Sherman [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, April 13, 2005 9:23 AM > > To: Ant Users List; Mark Lybarger > > Subject: Re: classpath for custom Ant tasks > > > > > > Thanks, > > > > I tried t

RE: classpath for custom Ant tasks

2005-04-13 Thread Rainer Noack
ity: If an classpath entry does not exist at the moment you define it, it will (silently) removed from the classpath. Cheers Rainer > -Original Message- > From: Michael Pelz Sherman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 13, 2005 9:23 AM > To: Ant Users List; Mark L

Re: classpath for custom Ant tasks

2005-04-13 Thread Michael Pelz Sherman
Thanks, I tried this but it doesn't seem to help. By printing out System.getProperty("java.class.path") from within my task, it seems that the taskdef classpath argument isn't picking up the values I put in there. The only way I can seem to effect changes to the classpath of the running task is by

Re: classpath for custom Ant tasks

2005-04-12 Thread Mark Lybarger
have you looked at the taskdef ? it's a typedef and as such takes a classpath On 4/12/05, Michael Pelz Sherman <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm writing a custom Ant task that has dependencies on our custom > libraries. > > Is there some way I can define or code the task so it can ta

RE: Classpath reference

2005-04-11 Thread Singh, Arti
ok thanks.LOL:) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 12:37 PM To: user@ant.apache.org Subject: RE: Classpath reference You will generally get a better response if you start a new thread for your question (with a subject that

RE: Classpath reference

2005-04-11 Thread Kajsa.Anderson
Monday, April 11, 2005 11:05 AM > To: Ant Users List > Subject: RE: Classpath reference > > > hi all, > I am an ant newbie with a silly question.I have > a set of jar files that I need to get compiled.Should I > unzip each jar file to compile It??OR can I

RE: Classpath reference

2005-04-11 Thread Singh, Arti
PROTECTED] Sent: Monday, April 11, 2005 5:33 AM To: 'user@ant.apache.org' Subject: RE: Classpath reference >> >> >> >> >> > >> >> >> > >>

RE: Classpath reference

2005-04-11 Thread Dominique Devienne
> From: Mark Harris [mailto:[EMAIL PROTECTED] > > This was half the solution. The other half was to not use the id > "classpath", but to call it something else, e.g. "compile.classpath". Note that 'classpath' is not a reserved ID name. I've used it myself many times. It's something else specific

RE: Classpath reference

2005-04-11 Thread Mark Harris
>> >> >> >> >> > >> >> >> > >> > location="/myadditionaljar.jar"/> >> >> ... etc... > >Fore more information on reusing paths using refid see >[1]. This was half the solution. The other h

RE: Classpath reference

2005-04-08 Thread Dominique Devienne
> From: Mark Harris [mailto:[EMAIL PROTECTED] > > > ^^ Oh, and you want here instead too. --DD > > - To unsu

RE: Classpath reference

2005-04-08 Thread Dominique Devienne
> From: Mark Harris [mailto:[EMAIL PROTECTED] > > ^ It's likely the pb is the leading slash, unless all your Jars are in the root dir or the drive root, which is unlikely. automatically removes non-valid filenames, so yours is correctly referenced,

Re: Classpath reference

2005-04-08 Thread Antoine Levy-Lambert
Hello Mark, try this : + - Cheers, Antoine > Hello, > > Apache Ant version 1.6.2 > > I have a problem with my Ant script. I create a classpath reference at > the start of the script, like this:

Re: Classpath reference

2005-04-08 Thread Ivan Ivanov
Hello Mark, Could try it in this way: > > > > > > > > > location="/myadditionaljar.jar"/> > > ... etc... Fore more information on reusing paths using refid see [1]. HTH Ivan [1]htt

Re: Classpath in javac

2005-03-11 Thread Kristian Perkins
have a look at http://ant.apache.org/manual/using.html#path Pfau Oliver FRD II wrote: Hi, I have a directory which contains many jar-files. I want to add all this jars in my class path for javac...how can I do this recursive without naming each jar ? Thanks, Oliver -

RE: classpath directory?

2005-01-05 Thread Bill Rich
The following path seems to work for me to find all the class files, dependent jar, and zip files for a compile step: I use it like this: HTH Bill Rich Wilandra Consulting LLC 1325 Addiewell Place San Jose, CA 95120-3905 phone: +1 408

RE: classpath directory? [SOLVED]

2005-01-05 Thread Woodchuck
--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > > From: Woodchuck [mailto:[EMAIL PROTECTED] > > > > i keep getting "package abc.xyz does not exist" errors when trying > to > > compile using . > > > > is this a related problem? > > Yes. > > > what is happening is that i'm trying to compil

RE: classpath directory?

2005-01-05 Thread Dominique Devienne
> From: Woodchuck [mailto:[EMAIL PROTECTED] > > i keep getting "package abc.xyz does not exist" errors when trying to > compile using . > > is this a related problem? Yes. > what is happening is that i'm trying to compile a subset of java source > files (all stored within a directory). these

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

RE: classpath

2004-12-20 Thread Rajiv Jaitly
Message- From: Radha Sangal [mailto:[EMAIL PROTECTED] Sent: 20 December 2004 15:34 To: Ant Users List Subject: RE: classpath One problem I solved of class path in eclipse was to set it in Project-->Properties->java Build-->libraries... It might help! -Original Message- Fr

RE: classpath

2004-12-20 Thread Radha Sangal
One problem I solved of class path in eclipse was to set it in Project-->Properties->java Build-->libraries... It might help! -Original Message- From: Rajiv Jaitly [mailto:[EMAIL PROTECTED] Sent: Monday, December 20, 2004 10:17 AM To: [EMAIL PROTECTED] Subject: classpath +

RE: Classpath problem with Checkstyle?

2004-10-28 Thread Dominique Devienne
> From: Roberto Juarez [mailto:[EMAIL PROTECTED] > I have in structed Checkstyle to allow the @throws tag for undeclared > exceptions in the checkstyle.xml configuration file This is not Ant-related. Just add a corresponding throws XyxException declaration to the method when you have a @throws

Re: Classpath when executing JAR

2004-10-12 Thread Ivan Ivanov
Hi, You can use properties when forming Class-Path attribute of your jar like this: where jar1 and jar2 properties holds the names of the jar files you want to include. However, I am forced to suppose that you have already constructed a classpath that holds all your properties called runtime-c

Re: Classpath when executing JAR

2004-10-12 Thread h2ooo x
ank you! From: Conor MacNeill <[EMAIL PROTECTED]> Reply-To: "Ant Users List" <[EMAIL PROTECTED]> To: Ant Users List <[EMAIL PROTECTED]> Subject: Re: Classpath when executing JAR Date: Tue, 12 Oct 2004 16:42:21 +1000 It's the same at the command line. When you run a jar with

Re: Classpath when executing JAR

2004-10-11 Thread Conor MacNeill
It's the same at the command line. When you run a jar with java -jar ... java ignores the classpath. Presumably it expects the jar to specify its classpath. Conor h2ooo x wrote: Hi! I have the following Ant (1.6.2) tasks defined, The task "run" is exec

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
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 referennces package (folder) foo Since your email did not provide package names I do not know what the specific names would be Martin -

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 appreciate a

Re: classpath

2003-08-14 Thread Antoine Levy-Lambert
- Original Message - From: "Curtis Yanko" <[EMAIL PROTECTED]> Sent: Wednesday, August 06, 2003 2:02 PM > Every time a developer adds a new project dependacy I need to manually update my > classpath for that project. This doesn't seem like any way to run a railroad! > especially since I'v

RE: classpath

2003-08-14 Thread Doug Brown
ROTECTED] Sent: Thursday, August 07, 2003 8:00 PM To: 'Ant Users List' Subject: RE: classpath Any chance you'll consider making savant open source? Sten > -Original Message- > From: Doug Brown [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 07, 2003 6:26

RE: classpath

2003-08-10 Thread Nathan Christiansen
uggest that this person is also the build and deploy person. -- Nathan Christiansen Tahitian Noni International http://www.tahitiannoni.com -Original Message- From: Keith Hatton [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 9:50 AM To: Ant Users List Subject: RE: classpa

RE: Classpath in Java task

2003-03-12 Thread Dominique Devienne
12, 2003 2:53 PM To: Ant Users List Subject: Re: Classpath in Java task > > so my question is how do i get the rt.jar into my Java object's > > classpath? > > You could add the JRE libraries to the classpath you pass in to > but i don't want to have to hunt up wh

Re: Classpath in Java task

2003-03-12 Thread Mike McNally
> the classpathref basically points to a bunch of support jars the ultimate > java class needs (e.g. antlr.jar) but not rt.jar (who ever needs to add > rt.jar to their classpath?) Well, as I understand it the crux of the matter is that your task is going to be loaded with the system classpath if

Re: Classpath in Java task

2003-03-12 Thread John Guthrie
> > so my question is how do i get the rt.jar into my Java object's > > classpath? > > You could add the JRE libraries to the classpath you pass in to > but i don't want to have to hunt up where the jre is, or require folks using my task to do so either. i want to be able to pass on the classpath

Re: Classpath in Java task

2003-03-12 Thread Mike McNally
> so my question is how do i get the rt.jar into my Java object's > classpath? You could add the JRE libraries to the classpath you pass in to is there a way to get the classpath that is in my task and pass > that on to the Java task (along with that the user specified), > and/or is that even a g

  1   2   >