[POLL RESULT] JUnit Users

2001-07-17 Thread Stephane Bailliez
To sum up the different points that were addressed. If I forgot something, it's time to speak loud and clear. :-) @todo - remove the garbage timing reports. Do a total timing at most - address XML/XSL issues that arise from incompatibility. (xalan1/xalan2/xerces) - keep framed AND non-framed sty

Re: Optional excludesfile in javac?

2001-07-17 Thread Peter Donald
On Wed, 18 Jul 2001 15:40, Stefan Bodewig wrote: > On Tue, 17 Jul 2001, Mark Womack <[EMAIL PROTECTED]> wrote: > > I agree so much that I went in and modified the PatternSet data type > > to support and elements. > > Still think adding file attributes to and would be > even better - but you ca

Re: [antlist] How to install/configure JUnit task

2001-07-17 Thread Peter Donald
On Wed, 18 Jul 2001 15:30, Stefan Bodewig wrote: > > [2] Ant's Optional Libraries page mentions: "Library Dependencies > > The following libraries are needed in your lib/ext/ directory if you > > are using the indicated feature." > > We should rewrite this, JAVA_HOME/jre/lib/ext is evil. Pure Evi

Re: Variable access

2001-07-17 Thread Stefan Bodewig
On Wed, 18 Jul 2001, Nimesh Shah <[EMAIL PROTECTED]> wrote: > x.properties: > JAVA_HOME="C:/jdk1.3.0_02" remove the quotes (here and in all other path definitions. Stefan

Re: Problem with javadoc

2001-07-17 Thread Stefan Bodewig
On Tue, 17 Jul 2001, Peter Slade <[EMAIL PROTECTED]> wrote: > java.io.IOException: javadoc: cannot execute One of either or ? Stefan

Re: Optional excludesfile in javac?

2001-07-17 Thread Stefan Bodewig
On Tue, 17 Jul 2001, Mark Womack <[EMAIL PROTECTED]> wrote: > I agree so much that I went in and modified the PatternSet data type > to support and elements. Still think adding file attributes to and would be even better - but you can try to convince me 8-) > I will post my changes as a pat

Re: spaces and path definition

2001-07-17 Thread Stefan Bodewig
On Tue, 17 Jul 2001, T. Master <[EMAIL PROTECTED]> wrote: > You should also use \\ instead of '\' in DOS paths. Shouldn't be necessary as \ don't need to be escaped in XML. Stefan

Re: Passing dynamic XSLT parameters

2001-07-17 Thread Stefan Bodewig
On Tue, 17 Jul 2001, Tim Meals <[EMAIL PROTECTED]> wrote: > Looking at a recent nightly build of 1.4 (maybe a few weeks old > now), the XSLTProcess.java file passes inner class Param elements > directly to the XSLT processor without doing property replacement > via PropertyHandler (?, I think).

Re: [antlist] How to install/configure JUnit task

2001-07-17 Thread Stefan Bodewig
On Tue, 17 Jul 2001, T. Master <[EMAIL PROTECTED]> wrote: > I've since learnt to define a new task within build.xml using > something similar to: > > > > > > TestCase is not a task, so this taskdef wonÄt get you anywhere, sorry. > This gives an error of

Re: [antlist] How to install/configure JUnit task

2001-07-17 Thread Stefan Bodewig
On Tue, 17 Jul 2001, T. Master <[EMAIL PROTECTED]> wrote: > [1] The Ant 1.3 docs mention the JUnit task, and mention to download > and install it. This has been done, however, Ant produces this > error: > > unittests/example/build.xml [117] Unexpected element "junit" Put junit.jar into your

RE: Variable access

2001-07-17 Thread KapilSingh Pawar
I guess that the x.properties should be like: JAVA_HOME=C:/jdk1.3.0_02 TOMCAT_HOME=C:/tomcat WORK_LIB=D:/work/libs ORACLEHOME=C:/oracle/ora81 APACHE_HOME=c:/apache/apache ANT_HOME=D:/Downlo~1/jakarta/ant Kapil -Original Message- From: Nimesh Shah [mailto:[EMAIL PROTECTED]] Sent: Wednesda

Variable access

2001-07-17 Thread Nimesh Shah
Environment: Current directory: d:\work Windows 98 Ant 1.3 x.properties: JAVA_HOME="C:/jdk1.3.0_02" TOMCAT_HOME="C:/tomcat" WORK_LIB="D:/work/libs" ORACLEHOME="C:/oracle/ora81" APACHE_HOME="c:/apache/apache" ANT_HOME="D:/Downlo~1/jakarta/ant" Buildfile has:

RE: Problem with javadoc

2001-07-17 Thread Peter Slade
javadoc is in my path. and JAVA_HOME, ANT_HOME are set correctly. Any thoughts? -Original Message- From: Kamlesh Nanda Sent: Tue 7/17/2001 9:29 PM To: [EMAIL PROTECTED] Cc: Subject: Re: Problem with javadoc

RE: VSS Access problem

2001-07-17 Thread KapilSingh Pawar
Hi Nimesh, I am using something like and it works very well for me. Suggest you to change the ssdir. It should point to the dir containing ss.exe. Check the VSS path as well. Rgrds Kapil -Original Message- From: Nimesh Shah [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2

VSS Access problem

2001-07-17 Thread Nimesh Shah
I have following target: Giving me following exception: D:\work\build.xml:58: java.io.IOException: CreateProcess: "C:\Program Files\Micr osoft Visual Studio\Common\VSS\win32\SSEXP.EXE\ss" Get $/QA -I- -R error=0 --- Nested Exception --- java.io.IOException: Cr

Re: How to use a

2001-07-17 Thread Pandian . Anbunathan
If anybody is having junit.jar pls send it to me immediately. (Embedded image moved to file: pic09758.gif) "Erik Hatcher"

Re: VSS Support

2001-07-17 Thread Jesse Stockall
On 18 Jul 2001 09:12:04 +0530, Nimesh Shah wrote: > Does Ant Support VSS? If so where can I find it's jar? > > Reg, > -Nimesh. Sure does! Ant 1.3 has some support for VSS. If you want more check out Ant 1.4. Compile from cvs or get the nightly build. You will need the optional.jar It works ni

RE: problem while using

2001-07-17 Thread Pandian . Anbunathan
ok Boss. Then if I want to build the Apache XML Parser what can I do. I can't delete the org.apache.tools.ant package from ANT project and add it to Apache XML Parser project. VAJLoadroject is in org.apache.tools.ant.taskdefs.optional.ide and this package is in ANT project. how can I add this in

Re: Environement variables again

2001-07-17 Thread Conor MacNeill
Here you go: Buildfile: build.xml test: [echo] Number of Processors = 1 [echo] ANT_HOME is set to = F:\Software\Ant BUILD SUCCESSFUL Total time: 1 second - Original Message - From: "Anshul" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednes

Re: VSS Support

2001-07-17 Thread Conor MacNeill
I presume you refer to Microsoft Visual SourceSafe. Doco: http://jakarta.apache.org/ant/manual/OptionalTasks/vssget.html Jar: http://jakarta.apache.org/builds/jakarta-ant/release/v1.3/bin/jakarta-ant-1 .3-optional.jar - Original Message - From: "Nimesh Shah" <[EMAIL PROTECTED]> To: "Ant

Environement variables again

2001-07-17 Thread Anshul
Can anyone please send me a snippet of PROPERTY task where in the OS environment variable has been imported using ENVIRONEMENT tag. Honestly speaking I didn't understand this part of the documentation(ENIVIRONMENT tag). I am looking for an example use which I don't find anywhere. Thanks for your h

VSS Support

2001-07-17 Thread Nimesh Shah
Does Ant Support VSS? If so where can I find it's jar? Reg, -Nimesh.

Re: Question regarding CVS

2001-07-17 Thread Peter Donald
On Wed, 18 Jul 2001 03:26, Raj9 Nagarajan wrote: > Hi >I am trying to checkout files from CVS to my directory suing "ant" but > it is giving me an error. > > Here is what i am writing and the error. > > > >cvsRoot="[EMAIL PROTECTED]:/data/sndev003/02/home/cvsop/qsource" > packa

Re: Problem with javadoc

2001-07-17 Thread Kamlesh Nanda
HI, I think javadoc is not in the system PATH variable, to confirm this just try to execute javadoc on the prompt. If its not executing set the PATH variable to point to your usr/java/bin folder. Kam - Original Message - From: "Peter Slade" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sen

Re: spaces and path definition

2001-07-17 Thread Kamlesh Nanda
Hi, the solution is certainly what Bradley and Shankar suggested i.e. to use Progra~1 and \ in place of /. But Progra~1 may or may not be the right directory name in case u have other similar directories in the root. So go to the prompt, change the current directory to Program Files by giving cd

Re: Help with file-based task

2001-07-17 Thread Jon Eaves
Yeah, just ignore that, and use "Save attachments". It's trying to parse the XML file. Cheers, -- jon - Original Message - From: "Shyam Koppikar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 18, 2001 12:55 AM Subject: Re: Help with file-based task > I get abo

[PATCH] PatternSet - includesfile/excludesfile

2001-07-17 Thread Mark Womack
Enclosed is a patched version of PatternSet.java (cvs version 1.6). Breaking patch: no, should be compatible with existing ant build files. Changes: 1) This version of PatternSet supports 2 new elements: and . This allows a patternset to support more than just one includes or excludes file, a

Re: How to use a

2001-07-17 Thread Erik Hatcher
See: http://jakarta.apache.org/ant/manual/OptionalTasks/junit.html If you download Ant's optional.jar (from the release builds) and put it in your ANT_HOME/lib directory you won't have to anything and it'll work as the documentation shows (provided junit.jar is in your classpath also, just drop

How to use a

2001-07-17 Thread T Master
Does anyone know how to use as a task as stated by the Ant 1.3 user manual? I can only get junit to work using and passing . I've created a but get instanciation exceptions for the junit TestCase class. I also don't know which tool place my junit.jar file. The Ant docs mention a /lib/ext.

RE: spaces and path definition

2001-07-17 Thread Shankar Unni
Title: RE: spaces and path definition It's easier to just use the equivalent "short path". E.g. usually a name like "Program Files" will have a "short name" of "Progra~1". So you can say things like   C:/Progra~1/Someprod/path/to/dir To get this short name, use "dir /x" on the parent:   d

RE: spaces and path definition

2001-07-17 Thread Bradley Williams
A lot of time the problem comes from the space in the filename when it is a command-line variable. in windows if you need to pass a command-line arg to an application with a space you need to double quote the variable like: wlrun C:\Program Files\blah //This will fail because it is parsed into

Problem with javadoc

2001-07-17 Thread Peter Slade
ant -version returns: Ant version 1.3 compiled on March 2 2001 jdk is 1.3.1 OS is Redhat linux 7.0 When I try to execute the tag I get the following output. If I execute the javadoc command ant generated by looking at the -verbose/-debug on the command line then it works ok. Javadoc f

RE: spaces and path definition

2001-07-17 Thread Ed Hansen
Title: RE: spaces and path definition An alternative that I use instead of quoting the paths that contain spaces is to use the 8.3 format of the path.  For example, the path c:\Program Files would be c:\progra~1.  The only trick is if the first 6 characters of two or more subdirectories are th

RE: New launcher

2001-07-17 Thread Ed Hansen
Title: RE: New launcher There is an ant jar under the Websphere/appserver/lib install directory, but I was leary of using it versus the build directly from the Jakarta site. -Original Message- From: Glenn McAllister [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 17, 2001 8:07 AM To: [

RE: problem while using

2001-07-17 Thread Ed Hansen
Title: RE: problem while using The problem is in VAJ and your Repository.  A package can only exist in one project at a time in your workspace.  Apparently both your Apache XML Parser Xerces project and your ANT project contain the package org.apache.tools.ant.  You already have the Apache XM

Re: spaces and path definition

2001-07-17 Thread Bill . J . Fellows
Assuming the following exists in your xml, for NT 4.0 (sp6), ant 1.3, java 1.3.1 I was able to run all three just fine. Now, the escape target did exactly as I instructed it to which was to copy the build.xml to c:\Program\ Files which made a directory called Program and then a directory name

Re: spaces and path definition

2001-07-17 Thread Tim Meals
What happens if you: I haven't tried it, but it's worth a try. Tim "Shamberger, Michael" wrote: > Here is an example of what I am trying to do: > > > > > > > > > > > > > > Then, when I start weblogic with wlrun I am getting an error due to

RE: spaces and path definition

2001-07-17 Thread Shamberger, Michael
Here is an example of what I am trying to do: Then, when I start weblogic with wlrun I am getting an error due to space in the classpath MORGAN STANLEY DEAN WITTER|ONLINE Michael Shamberger Release Engineer [415-344-9338 -W] [415-290-0428 -

RE: Optional excludesfile in javac?

2001-07-17 Thread Mark Womack
Stefan, >if="build.local_excludes"/> > > The above chunk does not cause a parse exception, >It should, hmm. You know I went back to it, and it caused a parse exception. I think the difference was that if the file was not there, it would throw a file

Re: can't run ant on win2000

2001-07-17 Thread Joe Fisher
edit the ant.bat file (in c:\jakarta-ant-1.3\bin\ant.bat) and put quotes around the c:\program files\... line or the variable that expands to "program files" josh wrote: > Thank you for your prompt reply. > > this is my configuration > > ANT_HOME=c:\jakarta-ant-1.3 > JAVA_HOME=c:\jdk1.3 > P

ejbjar task problem (could not resolve)

2001-07-17 Thread Stebick, David
I am currently writing an ejbjar task using weblogic.ejbc20 compiler, Ant 1.3 with an ejb patch from a nightly build last week, weblogic 60 sp2. The error message I get when I run the task is [ejbjar] Could not resolve ( publicId: -//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN, systemId: http:

RE: can't run ant on win2000

2001-07-17 Thread Bill . J . Fellows
Hey Josh, How about ANT_HOME=c:\jakarta-ant-1.3\dist You have the source version of ant, yes? IIRC, the scripts expect ant.jar to be in $ANT_HOME/lib/ If that doesn't help, provide more input (ant -verbose || ant -debug) /bill p.s. I copied you direct because things appear to be coming in

Re: spaces and path definition

2001-07-17 Thread T Master
Used double quotes around the c:\Program Files? You should also use \\ instead of '\' in DOS paths. No excerpt was pasted so I ask. - Original Message - From: "Shamberger, Michael" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 17, 2001 11:20 AM Subject: spaces and pa

Re: can't run ant on win2000

2001-07-17 Thread Larry V. Streepy, Jr.
If your classpath has spaces in it, you need to ensure that it is properly quoted within the ant scripts. Just a guess. josh wrote: > > Thank you for your prompt reply. > > this is my configuration > > ANT_HOME=c:\jakarta-ant-1.3 > JAVA_HOME=c:\jdk1.3 > PATH=%PATH%;%ANT_HOME%\bin > > Cur

ANNOUNCE: TiniAnt 1.1.1

2001-07-17 Thread Sean Kelly
SUMMARY TiniAnt is an Ant task to support building applications for the TINI. Compatibility: Ant 1.2 and Ant 1.3 URL: http://tiniant.sourceforge.net/ Contact: [EMAIL PROTECTED] License: BSD License WHAT'S TINIANT? TiniAnt is a Java Ant extension that lets you make cross-platform and efficient

spaces and path definition

2001-07-17 Thread Shamberger, Michael
Hi, I am trying to build a path definition that I pass to the weblogic wlrun task. I am running this on NT and one of the entries in the classpath I am trying to build has a space in it. This is a 3rdparty database client jar whose standard installation is into c:\Program Files. This space in

can't run ant on win2000

2001-07-17 Thread josh
Thank you for your prompt reply. this is my configuration ANT_HOME=c:\jakarta-ant-1.3 JAVA_HOME=c:\jdk1.3 PATH=%PATH%;%ANT_HOME%\bin Currently testing it on windows 2000 5.00.2195 Gateway 2000/300mhz 128mb Again, the error, when I run ant is: Exception in thread "main" java.lang.NoClassDef

Re: [antlist] How to install/configure JUnit task

2001-07-17 Thread T Master
My workaround was not to use the property ${junit.classpath} within a , and instead hardcode the path. Apparently Ant cannot expand property names with 's. However, using the same property within a call will work. Bug within Ant? - Original Message - From: "T Master" <[EMAIL PROTECTED

Re: [antlist] How to install/configure JUnit task

2001-07-17 Thread T Master
Yup, I know how to use Ant's task to run JUnit. However I'm having huge problems defining my own task to use junit. This is my code (junit.classpath is defined correctly): This is the error: unittests/example/build.xml [36] taskdef class junit.fram

Re: [antlist] How to install/configure JUnit task

2001-07-17 Thread Lauren Commons
I, too, have found the docs a little confusing regarding the optional tasks. (Like, where does it tell you to download the optional.jar? I didn't learn this until I got an error message. by then I was on the train with my laptop, unable to download anything :-( ) Anyway, to use JUnit, I think y

Problem of using ant to start a java daemon

2001-07-17 Thread Carfield Yim
Hi, I have an problem of using ant as a java server loader. I start a java rmi server with ant, it display the following result and quit: [carfield@desktop bin]$ ant startrm Buildfile: build.xml init: startrm: RemoteServer bounded in registry BUILD SUCCESSFUL Total time: 2 seconds Seen it ca

Re: jdk 1.3.1 and ant 1.3 compatability

2001-07-17 Thread Jef Dodson
ok, I tried the export LD_ASSUME_KERNEL=2.2.5 and that did not work. Still getting the same segmentation fault when running ant. Also, I already have a libpthread.so.0 link that points to libpthread-0.9.so. So, any other ideas? Thanks. Jef From: Peter Davison <[EMAIL PROTECTED]> Reply-To

Passing dynamic XSLT parameters

2001-07-17 Thread Tim Meals
All -- Does anyone know of a way to pass a parameter into an XSL stylesheet using the task? I'd like to pass properties defined in the master build file into those being generated. For example,

Re: [antlist] How to install/configure JUnit task

2001-07-17 Thread T Master
I've since learnt to define a new task within build.xml using something similar to: This gives an error of: > unittests/example/build.xml [34] taskdef class junit.framework.TestCase cannot be found Could someone correct my usage please. T Master.

[antlist] How to install/configure JUnit task

2001-07-17 Thread T Master
[1] The Ant 1.3 docs mention the JUnit task, and mention to download and install it. This has been done, however, Ant produces this error: > unittests/example/build.xml [117] Unexpected element "junit" I can run JUnit using though, if it is appended to the classpath. [2] Ant's Optional Lib

Re: Ant on Mac OS 9?

2001-07-17 Thread Kyle Adams
A developer afraid of Unix?!? Seriously though, as a Mac user myself, I can appreciate his situation. Should Ant 2 ever come in to existence, with Antidote as a full-blown GUI, it'll make the Ant experience incredibly user-friendly - you'll be able to use MRJAppBuilder to make a nice double-c

Re: javac task compiles missing files automatically

2001-07-17 Thread Steffen Euch
Hi! I've had a look at DefaultCompilerAdapter.java: It seems to me that the behavior, that Ant always adds the destination path (destdir) to the classpath can't be switched off, without changing the source. Is that right? Steffen

Re: Websphere version of Ant (was Re: New launcher)

2001-07-17 Thread Stefan Bodewig
On Tue, 17 Jul 2001, Suchitra Deo <[EMAIL PROTECTED]> wrote: > Link to the faq regarding Ant with websphere. Yes, found it myself - seems the old FAQ system is up for a few days again. I'll change the FAQs page. Stefan

RE: Websphere version of Ant (was Re: New launcher)

2001-07-17 Thread Deo, Suchitra
Link to the faq regarding Ant with websphere. http://jakarta.apache.org:8080/jyve-faq/Turbine/screen/DisplayQuestionAnswer /action/SetAll/project_id/2/faq_id/16/topic_id/191/question_id/761 Suchitra -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Sent: Tuesday, Jul

Websphere version of Ant (was Re: New launcher)

2001-07-17 Thread Stefan Bodewig
On Tue, 17 Jul 2001, Suchitra Deo <[EMAIL PROTECTED]> wrote: > I asked this question because it was on the Ant FAQ. Hmm, I cannot find the word Websphere in . Stefan

Re: New launcher

2001-07-17 Thread Glenn McAllister
"Deo, Suchitra" wrote: > I was not sure if my mail was going thro' and where to post. My first mail > was a mistake. Would have been nice if I had known where you got his info. I > asked this question because it was on the Ant FAQ. Ok, now I'm a little confused. We don't make any mention

RE: New launcher

2001-07-17 Thread Deo, Suchitra
I was not sure if my mail was going thro' and where to post. My first mail was a mistake. Would have been nice if I had known where you got his info. I asked this question because it was on the Ant FAQ. I will definitely ask the IBM guys about it. Suchitra -Original Message- From: Glen

Re: New launcher

2001-07-17 Thread Glenn McAllister
"Deo, Suchitra" wrote: > Hi, > > I found that Websphere 3.5.2 ships its own Ant Version from the FAQs. Is > this true? If so where do I find it? > > Thanks, > > Suchitra > > Suchitra Not only should you be asking the Websphere guys this question, you shouldn't be cross posting your

RE: New launcher

2001-07-17 Thread Deo, Suchitra
Hi, I found that Websphere 3.5.2 ships its own Ant Version from the FAQs. Is this true? If so where do I find it? Thanks, Suchitra Suchitra

problem while using

2001-07-17 Thread Pandian . Anbunathan
Hi all, In my xml file I have like this here when I try to build the target 'load' it is woking fine and BUILD SUCCESSFUL. But when I remove the comments in the first vajproject tag and comment the second on

Re: Help with file-based task

2001-07-17 Thread Shyam Koppikar
I get above message when I tried to access youe attachment. Can you help? Shyam The XML page cannot be displayed Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. ---

JRockit and ANT: problems running the ddcreator task...

2001-07-17 Thread Peter Vandenberk
Hi All I'm currently evaluating JRockit 2.1.0 (http://www.fasterjava.com) on Windows 2000 and Linux RedHat 7.1, both of which have Sun's JDK/JRE1.3.1 installed and both of which have jrockit set as the default JVM (as specified in the jvm.cfg file)... On both platforms, though, I'm having troub