RE: compiling...

2001-06-15 Thread Jon Skeet
> I'm having a problem after compiling classes. The compile > works fine and > then when i go to run it with JView i get exceptions. But > when I compile it > with J++ I can run it just fine. I know they use different > compilers (jvc > for microsoft and javac for sun) but I don't understand wh

Path separators in absolute paths

2001-06-15 Thread Robert Leftwich
I have a requirement to put an absolute path into a configuration file prior to running a java app thru Ant. The only way I can see to get an absolute path (thru basedir or using a location property) supplies the path with the separators set to the current platform convention. Of course, I am

Re: Path separators in absolute paths

2001-06-15 Thread Larry V. Streepy, Jr.
Take a look at the pathconvert task that I posted last week. It can take a path and convert it to "unix" format. Also, I have an update to it that I was about to post that makes it possible to specify the path and dir sep characters instead of just picking a target os. Robert Leftwich wrote: >

exclude in the depends task

2001-06-15 Thread Viraj Purang
Hi, The depend task does not seem to support the exclude attribute. Is this intended ? Regards, Viraj Purang

RE: Question about exec and execOn and ant installation

2001-06-15 Thread babramo
I have found the reason for this. It seems that Ant requires the script antRun in order to run any exec, execon commands. Is there a reason for this? Or i am i wrong, and i can specify any script for that? thank you boris -Original Message- From: Abramovich, Boris Sent: Thursday, June

Class not found when running ant

2001-06-15 Thread Sreenivas Narni
Hello, I have following problem running ant. It says that class org.apache.crimson.jaxp.SAXParserFactoryImpl not found . I am using jakarta-ant-1.3. Can any one please help me. Thanking you, Sreenivas Narni _ Get your FREE downloa

compiling...

2001-06-15 Thread Richardson, Will
I'm having a problem after compiling classes. The compile works fine and then when i go to run it with JView i get exceptions. But when I compile it with J++ I can run it just fine. I know they use different compilers (jvc for microsoft and javac for sun) but I don't understand why it doesn't work

RE: Filters

2001-06-15 Thread Mark Womack
Thanks for the reply. Do you know if the replace task supports something like this: where '**' is supposed to be a wildcard. Basically, I want to remove any DOCTYPE elements from our pages. Thanks, -Mark -Original Message- From: Annie Frost [mailto:[EMAIL PROTECTED]] Sent: Friday, J

fix in ant.bat

2001-06-15 Thread David Thielen
Hi; I fixed a problem in ant.bat and have attached the fixed version. Hopefully someone on this list can check it in to the official source. (I did a fast fix but it's still not the best way to build up the classpath - I just didn't have time to do it the correct way.) thanks - dave winmail

RE: ClearCase

2001-06-15 Thread Ryan Thompson
What about establishing an Ant ClearCase subproject / working group? Does one already exist? Ryan Thompson CreoScitex Office 604.451.2700 x2054 Mobile 604.838.2111 -Original Message- From: Jeff Post [mailto:[EMAIL PROTECTED]] Sent: Friday, June 15, 2001 11:13 AM To: '[EMAIL PROTECTED

RE: ClearCase

2001-06-15 Thread Ryan Thompson
I am very interested in your tasks, will you post them? thx Ryan Thompson CreoScitex Office 604.451.2700 x2054 Mobile 604.838.2111 -Original Message- From: Jeff Post [mailto:[EMAIL PROTECTED]] Sent: Friday, June 15, 2001 9:12 AM To: '[EMAIL PROTECTED]' Subject: RE: ClearCase I jus

RE: Filters

2001-06-15 Thread Annie Frost
You could try using the Replace Task... -Original Message- From: Mark Womack [mailto:[EMAIL PROTECTED]] Sent: Friday, June 15, 2001 1:04 PM To: '[EMAIL PROTECTED]' Subject: Filters I have a question about filters. I looked through all the documentation I could find before posting here.

RE: ClearCase

2001-06-15 Thread Ryan Thompson
Base clearcase 4.1 but we are not using UCM, however I am interested in the possibility of using UCM in the future. We use dynamic views and & snapshot views frequently. thx Ryan Thompson CreoScitex Office 604.451.2700 x2054 Mobile 604.838.2111 -Original Message- From: Peter Vogel [

Filters

2001-06-15 Thread Mark Womack
I have a question about filters. I looked through all the documentation I could find before posting here. Is it possible to use wild cards or regualr expressions as part of the filter token? What I want to do is remove all occurrences of text from the files that are deployed. We still want th

FW: ant tasks hung on javac

2001-06-15 Thread Shinta Tjio
I'm trying to use task to compile subprojects. So each subproject has its own build.xml and I have a top level build.xml that drives the subproject's build.xml I'm getting a problem now that if I use task, then the task in one of my subprojects hangs. But if I use the build.xml of that subproj

RE: ClearCase

2001-06-15 Thread Jeff Post
I am using base clearcase, and I am using dynamic views exclusively. JP -Original Message- From: Peter Vogel [mailto:[EMAIL PROTECTED]] Sent: Friday, June 15, 2001 9:46 AM To: '[EMAIL PROTECTED]' Subject: RE: ClearCase Hi Ryan, Are you using UCM or base clearcase? Are you running ex

RE: ClearCase

2001-06-15 Thread Jeff Post
Glad I could give something back to the group! Caveats: 1. I had to quickly edit the files to remove company name and my name. I didn't recompile, but everything should be ok. 2. I wasn't expecting anyone to examine these, so JavaDoc comments are sparse. There should be enough regular comments t

Re: probably the last one on Java Dependencies.

2001-06-15 Thread Diane Holt
Your "srcdir" should point up to the directory just before your package hierarchy begins. Your "destdir" can point to wherever you want the output files to go, but you don't need to include the package-hierarchy structure in it. For example, if your work area is laid out like: /viraj/work/src/c

RE: Junit reports in xml and txt

2001-06-15 Thread Stephane Bailliez
Yes you can add as many formatters as you want. This will create XML and text reports in files as well as text report in the output -- Stéphane Bailliez Software Engineer, Paris - France iMediation - http://www.imediation.com Disclaimer: All the opinions expressed above are mine and

Q: Junit reports in xml and txt

2001-06-15 Thread Sanjay Bhatia
Hi, Is it possible to get junit reports in xml and text format without running the task 2 times? sb __ Do You Yahoo!? Spot the hottest trends in music, movies, and more. http://buzz.yahoo.com/

Making a DLL with Ant?

2001-06-15 Thread Richardson, Will
Is it possible to compile a DLL with Java classes through the command line or ANT? I know I can do this with J++ but I would rather do it through a batch process like ANT. thanks for any help, Will

RE: VSS Label problems

2001-06-15 Thread Nesbitt, David
Jon, Thanks for the response. Here are the relevant parts of the build.xml file: Underneath "implementation" are a number directories (e.g. source, database, doc, etc.). When I run this task, only the "implementation" directory gets a label. None of the files in this directory get

RE: ClearCase

2001-06-15 Thread Stephane Bailliez
We are using clearcase here too (base). We are running mostly on dynamic views. Contribution from everybody would be greatly appreciated in this area. btw Peter since you look like the expert in the field, I would like to know how you manage to get a configuration record with an ant-based build.

probably the last one on Java Dependencies.

2001-06-15 Thread Viraj Purang
Hi Diane, There is probably one last bit to the priblem that I was talking about for dependencies, I did see that if put my dest dir with the package structure like

RE: ClearCase

2001-06-15 Thread Peter Vogel
Hi Ryan, Are you using UCM or base clearcase? Are you running exclusively on dynamic views or are snapshot views used frequently/commonly? I've just completed integrating a UCM clearcase with an ant-based build... -Peter > -Original Message- > From: Ryan Thompson [mailto:[EMAIL PRO

RE: ClearCase

2001-06-15 Thread Nasgowitz, Mark (MED, GEMS-IT)
Jeff, I too currently work with clearcase and would like to add your features to my ant scripts. Please post what you have I am sure there are others that my find great benefit. Thanks, Mark -Original Message- From: Jeff Post [mailto:[EMAIL PROTECTED]] Sent: Friday, June 15, 2001 11:12 AM

RE: Forked junit task not finding TestRunner in optional jar

2001-06-15 Thread Dani Zweig
Thanks! -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 14, 2001 6:38 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Forked junit task not finding TestRunner in optional jar When you run it with fork="yes", you need to respecify the run-time

RE: Tricky compile...

2001-06-15 Thread Jon Skeet
> > This kind of thing is exactly what abstract classes and/or > interfaces > > are designed for. Is it too late in the day to reverse that > decision? > > It wasn't my decision and there's some (a large codebase) of > legacy stuff > there. Sadly, I'm stuck with the problem against my better

RE: ClearCase

2001-06-15 Thread Jeff Post
I just finished designing our build system that has complete integration with ClearCase. I wrote custom tasks to do labeling, mount a vob, start a view and set a config spec, as well as my own versions of Checkin and Checkout. These tasks are specific to our project structure in ClearCase, so the

Re: log method doesn't indent.

2001-06-15 Thread Larry V. Streepy, Jr.
Ahh, the issue is the length of your task name. The task name is right justified in a 10 character region. Since your task name is longer than that, it starts at the left edge and extends as needed. "Ferguson, Doug" wrote: > > 1) Here is the code inside of BuildDetailsPage.java where I attemp

RE: log method doesn't indent.

2001-06-15 Thread Ferguson, Doug
1) Here is the code inside of BuildDetailsPage.java where I attempt to print a message. log(file.getName() + " created"); 2) Here are snippets from my build.xml 3) Here is my console output... clean: [delete] Deleting 194 files from C:\dev\eluminate\build [delete] D

RE: Tricky compile...

2001-06-15 Thread Jamie Lawrence
> Note: this is obviously just a simplified example. In reality this > > structure is imposed because there are many target devices for the > > application and it was considered impractical to abstract the > > functionality into an interface and many differently named > > implementations. > >

RE: Ant 1.3 sequence of tasks but would like concurrent?

2001-06-15 Thread McNamara, Sean (Contractor)
Thanks for your response Stefan. Yes, the misuse of TASK for TARGET was a mistake, and if my description wasn't correct, my impression of the v2.0 mutlithreading (based on your description) was. Question: Since multithreading of targets as you've described it still wouldn't address the issue of

RE: Tricky compile...

2001-06-15 Thread Jon Skeet
> Note: this is obviously just a simplified example. In reality this > structure is imposed because there are many target devices for the > application and it was considered impractical to abstract the > functionality into an interface and many differently named > implementations. This sounds

Re: PATCH to Rmic.java

2001-06-15 Thread Larry V. Streepy, Jr.
Stefan Bodewig wrote: > > Larry V. Streepy, Jr. <[EMAIL PROTECTED]> wrote: > > > In case anyone wants the rmic task to properly handle the IIOP > > stub naming conventions, I'm posting this patch to the released > > version 1.3 Rmic.java file. > > Well, rmic has changed into a facade task in cu

ANT script tag

2001-06-15 Thread Samson, Lyndon [IT]
Hi Good ANT users I'm trying to using the ant script tag to do some basic tests on my EJB's. Im trying to lookup the jndi names for each EJB, however the classes I require have to be added to the CLASSPATH. My question? How do I add items to the classpath used by the script tag ( apart from mod

Tricky compile...

2001-06-15 Thread Jamie Lawrence
How would you compile class A from src1 and class B from src2? src1/ A.java B.java src2/ A.java B.java - If the srcdir attribute is set to src1:src2 I get a duplicate class error - I'm unable to compile them seperately because they depend on each other - includes

Style task XalanLiaison not found

2001-06-15 Thread Jim Downing
Hi there, I'm trying to use the style task to perform transforms using xalan.The build throws a ClassNotFoundException on org.apache.tools.ant.taskdefs.optional.XalanLiaison (full stack trace included). Is this a packaging oversight (i.e. XalanLiaison should be in taskdefs, not taskdefs.optional)

Re: PATCH to Rmic.java

2001-06-15 Thread Stefan Bodewig
Larry V. Streepy, Jr. <[EMAIL PROTECTED]> wrote: > In case anyone wants the rmic task to properly handle the IIOP > stub naming conventions, I'm posting this patch to the released > version 1.3 Rmic.java file. Well, rmic has changed into a facade task in current CVS (now supports the rmic comman

Failure on SCO OpenServer 5.0.5

2001-06-15 Thread Frank Endriss
Hello, I got some error under SCO. Within some self written tasks I do a Runtime.getRuntime().exec(cmd); This fails with a IOException, message is: "Resource temporarily not availalbe" If I do the same in a self written class not related to ant I do not get the exeption. And, what is realy

RE: VSS Label problems

2001-06-15 Thread Jon Skeet
> Does "vsslabel" recursively label everything in the specified project? > I can't seem to get it to do this. I also cannot get ss.exe to > recursively label everything. Is this standard VSS behavior? > > The reason I ask is because I would like to label the entire > source tree > and then pul

RE: accent issues with exec

2001-06-15 Thread Jon Skeet
> I'm having some issues with exec. What I'm trying to do is get > exec to run this command > kill -9 `cat program.pid` > where program.pid file contains the > process # of the program I am killing. > all combinations of escape characters and html > markup codes seem to be not working. Does a

Test

2001-06-15 Thread Thomas Zirnsack
Test

ClearCase

2001-06-15 Thread Ryan Thompson
I am planning to integrate ant with our ClearCase system. Does anyone have any Experiences / tips they would like to share? Ryan