Antigen found =*.bat file

2001-06-19 Thread ANTIGEN_KAPPA
Antigen for Exchange found ant.bat matching =*.bat file filter. The file is currently Deleted. The message, fix in ant.bat, was sent from David Thielen and was discovered in Collabria Autoreply\Inbox located at Allianet/ALLIANET.COM/KAPPA.

Antigen found =*.bat file

2001-06-19 Thread ANTIGEN_CSCEX04
Antigen for Exchange found ant.bat matching =*.bat file filter. The file is currently Removed. The message, fix in ant.bat, was sent from David Thielen and was discovered in Ryan Thompson\Inbox located at CREO/Canada/CSCEX04.

Conditional statement within a target

2001-06-19 Thread Sanjay Bhatia
Hi, I have a target that creates and then includes a file into a jar. I would like to be able to specify something on the command line that will either do this or not. I checked out the docs and it is possible to do something similar for a target, but nothing to answer this question. Has

Generics compiler and Ant?

2001-06-19 Thread Joel Riedesel
Is it possible to use the prototype generics compiler with ant? It's tricky since one must use the javac from the sample generics implementation AND one must cross compile using the collect.jar (collections modified for generics). The collect.jar is stubs of actual collections. So, if

how to run a jar

2001-06-19 Thread Thilak babu
Hi Everbody, Can u just help me out to run a jar file java -jar abc.jar Hoping a feasible solution , Thanx in advance Thilak babu begin:vcard n:BABU;THILAK tel;work:2541473 / 74ext:222 x-mozilla-html:FALSE adr:;; version:2.1 email;internet:[EMAIL PROTECTED] fn:THILAK BABU

Re: Conditional statement within a target

2001-06-19 Thread Stefan Bodewig
Sanjay Bhatia [EMAIL PROTECTED] wrote: I have a target that creates and then includes a file into a jar. I would like to be able to specify something on the command line that will either do this or not. Not sure whether I understand your problem. You have something like target

Re: Generics compiler and Ant?

2001-06-19 Thread Stefan Bodewig
Joel Riedesel [EMAIL PROTECTED] wrote: It's tricky since one must use the javac from the sample generics implementation AND one must cross compile using the collect.jar (collections modified for generics). What's the class name of that generics compiler? Ant won't run command line javac but

Re: VSSGET label attribute

2001-06-19 Thread Nico Seessle
- Original Message - From: Tan, Ming [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 19, 2001 12:17 AM Subject: VSSGET label attribute C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\ss Get $/CLE/JAR Source -GLC:\CLE2\JAR Source -I- -R -VLRelease 1.3 - QA 002 -W

Re: how to run a jar

2001-06-19 Thread Stefan Bodewig
Thilak babu [EMAIL PROTECTED] wrote: Can u just help me out to run a jar file java -jar abc.jar I assume you want to use the java task. Sorry, this one doesn't support running from jars ATM. You have to find out which class needs to be run (look into META-INF/MANIFEST.MF of the jar

Re: ant ftp class and depends

2001-06-19 Thread Nico Seessle
- Original Message - From: Chris Perreault [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 19, 2001 2:09 AM Subject: ant ftp class and depends Has anyone seen this? Yes, that error occured in April 2001 (see http://marc.theaimsgroup.com/?l=ant-userm=98596660001095w=2).

Re: java generics compiler and ant?

2001-06-19 Thread Rob van Oostrum
shooting from the hip here: Set up your java runtime environment properly (so that the correct javac and libraries get picked up when you run java or javac from a prompt), then run ant itself within the new java stuff, and have the javac task use the classic compiler. If that doesn't work, you

directory including

2001-06-19 Thread noname23
hi, is there a possibility to include directories, which consist of a subdirectory (META-INF), in a fileset? the whole problem: there is a directory tree like this: basedir +de +-xxx +- +---META-INF +- +-

Re: java generics compiler and ant?

2001-06-19 Thread Joel Riedesel
Yeah, that is shooting from the hip! The problem is that to compile with generics using generic versions of the java collection classes, you need the collect.jar file which is a bunch of stubbed versions of the java collection classes. Obviously, that file will need to come first in java's

Question: How to make ant running with cvs

2001-06-19 Thread Alexander Saupp
Hi, i tried to make Ant running with CVS. Is there an additional jar i need? I guess no. A cvs client is installed, up and running, I am able to access the CVS server on cmd line. If I create ant tasks like the following, I receive the exception above: target name="getJSPs"cvs

RE: Question: How to make ant running with cvs

2001-06-19 Thread Juraj Lenharcik
hi, you have to login before you star the script. cu -Original Message- From: Alexander Saupp [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 19. Juni 2001 14:39 To: [EMAIL PROTECTED] Subject: Question: How to make ant running with cvs Hi, i tried to make Ant running with CVS. Is

Re: Question: How to make ant running with cvs

2001-06-19 Thread Alexander Saupp
Sorry, I did that allready... As i mentioned, the problem doesn't seem to be a special cvs problem, as the ~/.cvspass (or so) file is created and i am able to copy the commands from the error message and to run them manually. Eg: Error message is C:\DEPLOY\config\build.xml:106:

Re: ant ftp class and depends

2001-06-19 Thread Chris Perreault
Hi Nico. Thanks for the note. I'm using the ftp server that is part of IIS 4. Chris On Tue, 19 Jun 2001, Nico Seessle wrote: X-UID: 4236 - Original Message - From: Chris Perreault [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 19, 2001 2:09 AM Subject: ant ftp

Re: exec task args

2001-06-19 Thread Bill . J . Fellows
Have you tried echoing the variables you are passing in to verify that they've made it? echo message=${some.path} / echo message=${some.value} / If they're not making it, try something like ant -debug yourTarget | [grep | find] some.value to see what is going in. /bill -Original

newbie: fileset

2001-06-19 Thread Pawel Rzepa
Hi everybody! I would like to print names of all the files matched by the fileset task. Is it possible? Is there any other ant documentation besides the one issued with the ant distribution? Regards, Pawel -- Pawel Rzepa Department of Computer Science [EMAIL

Re: Question: How to make ant running with cvs

2001-06-19 Thread Peter Donald
error=2 is FileNotFOund which means that the cvs client is probably not on your path. On Tue, 19 Jun 2001 22:38, Alexander Saupp wrote: Hi, i tried to make Ant running with CVS. Is there an additional jar i need? I guess no. A cvs client is installed, up and running, I am able to access

Re: Question: How to make ant running with cvs

2001-06-19 Thread Alexander Saupp
Thanks, right hint! Alex - Original Message - From: Peter Donald [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 19, 2001 3:56 PM Subject: Re: Question: How to make ant running with cvs error=2 is FileNotFOund which means that the cvs client is probably not on your

Need help on making a dynamic build.xml

2001-06-19 Thread Jay Glanville
Perhaps calling this a dynamic build.xml is slightly incorrect. But let me tell you my situation before we worry over the semantics of the title of the problem. Basically, what I want to do is base what I deliver, and where I deliver it to, on the directory structure of my source code. For

RE: VSSGET label attribute

2001-06-19 Thread Tan, Ming
Hi, Nico: It worked only after I took out the -VL from the label -VLRelease 1.3 - QA 002. What is -VL, are they supposed to be there? Thanks -Ming -Original Message- From: Nico Seessle [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 19, 2001 2:18 AM To: [EMAIL PROTECTED] Subject: Re:

Task to obtain user input

2001-06-19 Thread Don Taylor
I've been looking for an Ant task to obtain user input, unfortunately I haven't found one. I see it's a requested feature, and even appears on the Ant2 requested features list. So I had to write one myself. You can use the attached jar as-is. You'll find it contains all the appropriate class

Re: Competition to Ant

2001-06-19 Thread Peter Donald
If you replace large with complex then I would agree ;) On Wed, 20 Jun 2001 01:33, Jesse Tilly wrote: heh. I think Peter V. would disagree with that suitable for large projects statementas would I. MrT -Original Message- From: Jim Jackl-Mochel [mailto:[EMAIL PROTECTED]]

Re: Competition to Ant

2001-06-19 Thread Larry V. Streepy, Jr.
Probably shouldn't even ask this, but what do you consider a large project? I'm managing a project with hundreds of source files, creation of a dozen jar files, EJB deployment, IIOP support, some platform specific behavior for creating distribution media and I have not hand any significant

newbie directory structure question

2001-06-19 Thread kevin1
Hello all, I am a rank newbie to ant. I'm wondering if there is a common directory structure that people use to build and package java projects? I need to create and deploy some EJB's and I just wanted to get my dir structure right. Anyone?

Problem with Javadoc and link offline

2001-06-19 Thread abethegn
Hi all, I am having trouble with the Javadoc task and link offline parameter. Here is what I am doing in my build file: target name=jdocExport depends=prepare javadoc packagenames=${package.list} sourcepath=${java.dir} destdir=${jdoc.build.dir.temp}

RE: Competition to Ant

2001-06-19 Thread Jim Jackl-Mochel
Hmm. Sorry if I stepped on toes. Let me see if I can qualify it a bit. I have not used jmake. I took someone elses word on its large project suitability. I have used JMK and enjoyed it. It is clean and fast. I preferred the makefle syntax to that of ANT. But many parts of my previous

DOCTYPE strippper WAS: RE: Filters

2001-06-19 Thread Greg 'Cosmo' Haun
There is a common need, I believe, to strip out DOCTYPES from XML docs. We managed with a series of replaces to strip out every permutation of DOCTYPES we use. Not terribly efficient. Do I smell a task brewing? an option to copy? PS actually we don't strip them, we comment them out. That

RE: ClearCase. How used?

2001-06-19 Thread Jeff Post
We use Ant to do two types of builds (daily and production). For daily builds I only need the special tasks which start a view, mount a vob, and set the config-spec. For production builds, I start with the above, then label our source files at the beginning of the build, then after I have

RE: Competition to Ant

2001-06-19 Thread Jesse Tilly
No toes here. Just joking about some of us who have rather strong views about Ant's place in the configuration management world. Large could mean 10k source files and 100EJBs, etc so yeah, Ant works there. (For Peter's sake) Complex (which is what I intended to talk about anyway) means 10+

Re: Question: How to make ant running with cvs

2001-06-19 Thread Peter Donald
On Wed, 20 Jun 2001 03:15, Viraj Purang wrote: HI, I have the same problem too ... and I am using a WinCvs client which has a CVS.exe in its ... My Path variable shows ... () PATH=C:\Program Files\GNU\WinCvs 1.1... I would try changing this to PATH=C:\Progra~1\GNU\WinCvs 1.1... and

Re: Question: How to make ant running with cvs

2001-06-19 Thread Larry V. Streepy, Jr.
Have you run ant with -debug to see the exact command that is being executed? That might provide some insight. Somethings nagging at me about the initial exception: C:\CVS1\builder\build.xml:40: java.io.IOException: CreateProcess: cvs -d :pserver:[EMAIL PROTECTED]:/dept/cvs checkout client e

RE: Competition to Ant

2001-06-19 Thread Jim Jackl-Mochel
The project I am currently using ANT for (and it is a little naked in some spots as a result) involves 6 subprojects with each one producing an EAR and at least one additional WAR. There are 900 support files in a common classes JAR file as well as the EJBs, Servlets, and JSPs. This is not a

RE: DOCTYPE strippper WAS: RE: Filters

2001-06-19 Thread Mark Womack
Greg, I agree that this functionality would be useful. But I think a general solution of supporting regular expressions in the replace task would be better than one specific to DOCTYPE's. Then you could do just about anything. (And the commenting the DOCTYPE's out instead of removing is a

Re: VSSGET label attribute

2001-06-19 Thread Nico Seessle
- Original Message - From: Tan, Ming [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 19, 2001 4:28 PM Subject: RE: VSSGET label attribute Hi, Nico: It worked only after I took out the -VL from the label -VLRelease 1.3 - QA 002. What is -VL, are they supposed to be there?

RE: Question: How to make ant running with cvs

2001-06-19 Thread Viraj Purang
Hi, I still have no other information. DO i have to set this path variable from inside the Ant build.xml file ? or setting it from outside is just fine (Should be fine I supppose, unless we use some kind of a batch file.) The debug output shows something like this

Re: Question: How to make ant running with cvs

2001-06-19 Thread Larry V. Streepy, Jr.
Ok, can you show us the fragment from your build.xml file that is generating this error? I'm just groping, trying to help. Viraj Purang wrote: Hi, I still have no other information. DO i have to set this path variable from inside the Ant build.xml file ? or setting it from outside is

How do I capture the current directory during execution?

2001-06-19 Thread Lorenzo Rodriguez
Title: How do I capture the current directory during execution? How can I process documents in a directory structure, and capture the directory where the files are being processed from? I need to pass it to a style sheet. Here is my code: target name=publishItems depends=init, prepare style

Re: antcall

2001-06-19 Thread Larry V. Streepy, Jr.
Matt, just a note that there is a small typo in the code you posted. The processing of the if clause is busted when you use an '|' operator. I'd post a patch, but I've modified what you posted to fit our coding standards and into our project, so I'll just post the code change since it's short.

RE: Question: How to make ant running with cvs

2001-06-19 Thread Viraj Purang
Hi, !-- === -- !-- CVS target.-- !-- Creates build and deploy directories, if it is needed. -- !-- === -- target

VSSGET label attribute

2001-06-19 Thread Tan, Ming
Hi, all: May be there is something I don't understand, in order for VSSGET to work (using label), Do I have to label all the folders for all levels in my VSS project? I have tried to just label the parent folder and it didn't work. Is there anything in VSS that I should know/do? Thanks in

Re: antcall

2001-06-19 Thread Matt_Conway
On 06/19/2001 02:01:19 PM Larry V. Streepy, Jr. wrote: Matt, just a note that there is a small typo in the code you posted. The processing of the if clause is busted when you use an '|' operator. I'd post a patch, but I've modified what you posted to fit our coding standards and into our

RE: VSSGET label attribute

2001-06-19 Thread Vittoria, Felice
Ming, You shouldn't have to label all folders within the project ... just the parent folder. Would it be possible to post your code up again? I somehow missed it. Felice -Original Message- From: Tan, Ming [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 19, 2001 1:58 PM To: '[EMAIL

RE: VSSGET label attribute

2001-06-19 Thread Tan, Ming
Thanks Felice. Here's my code: target name=sourcesafeJava echo message=Getting java files from VSS / vssget localPath=${Java_Source_Files} recursive=true label=testLabel login=xxx,yyy vsspath=\CLE\test\JAR SOURCE\LEGALEDCENTER writable=true

Partial builds .....?

2001-06-19 Thread Hari Ramasubbu
My product has client and server binaries to be built,How do i build just the client or server provided i have only one build.xml file. Can this be acheived by passing some variables as properties in the build command line -D option and processing those properties for building specing set of

Re: Partial builds .....?

2001-06-19 Thread Devon Hillard
you can use targets for this. One target for client build. One target for server build. Devon - Original Message - From: Hari Ramasubbu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 19, 2001 3:52 PM Subject: Partial builds .? My product has client and server

RE: Partial builds .....?

2001-06-19 Thread Bhavin Patel
hmm i think that's what the target attribute for the tasks could be? you would just create two targets: target name=client ... /target target name=server ... /target and when you run ant you could on the command line just type ant client or ant server if you wanted to you could also

script task: suggestion about the docs

2001-06-19 Thread Suu Quan
I was reading the script task in the user manual, and have the following questions/suggestions 1. In the example lines main.addTask(echo); echo.setMessage(..); sub.execute(); I asked myself "How would I know a (task,target)'s list of methods (as above) to call". (how would I know that

Can't load default task list

2001-06-19 Thread Trogdon, David
Using Ant from the small GUI tool added to VAJ. I'm starting with a very simple script (one step at the time) to load a Solution into the Workspace. the entire script is similar to : ?xml version=1.0? !-- === -- !-- Builds

RE: Question: How to make ant running with cvs

2001-06-19 Thread Viraj Purang
Hi, I changed the directory that I was accessing to one which does not have spaces in its name (Mind you , I had given the quotes to take care of that ..., but that in fact quotes coould be a problem too.) from C:\CVS1\builderset PATH PATH=C:\Progra~1\GNU\WinCvs 1.1 to point to

Observations from an ANT newbie

2001-06-19 Thread Matt Warman
Title: Observations from an ANT newbie My background is in Java, so it seems a little confusing see how ant works. It would be nice to show off the basic commands in create your own hello world build file. Each step could identify what a command is, and what's best used for. That way we have

Style task

2001-06-19 Thread Frank Carver
Is anyone using the style task? After some battling and removing other parsers from my classpath and lib/ext directory I now have it running, but I still can't make it actually process my files, even for a very simple test. I keep getting a message saying that the stylesheet needs a version

RE: Partial builds .....?

2001-06-19 Thread Hari Ramasubbu
It works.Thanks a lot Bhavin I really appreciate the help. regards hari --- Bhavin Patel [EMAIL PROTECTED] wrote: hmm i think that's what the target attribute for the tasks could be? you would just create two targets: target name=client ... /target target name=server ... /target

RE: Style task

2001-06-19 Thread Brett Knights
I use it all the time. My xsl engine is Saxon 6.3 I notice you don't have a namespace declaration for the xsl namespace. try adding this attribute to your stylesheet element xmlns:xsl=http://www.w3.org/1999/XSL/Transform; HTH -Original Message- From: Frank Carver [mailto:[EMAIL

RE: VSSGET label attribute

2001-06-19 Thread Vittoria, Felice
Ming, I got it to work on my machine by changing the vsspath to $/Project where Project=a valid project in my repository.So, I guess you would have to change vsspath to: $/CLE/test/JAR SOURCE/LEGALEDCENTER Try that. Felice -Original Message- From: Tan, Ming [mailto:[EMAIL

more CVS problems ...

2001-06-19 Thread Viraj Purang
HI, Is there anyway by which I can specify the password of the user I am using to access the repository ? If I try to run just the cvs login it tells me that I need to do a cvs -d ...for the repository and if I try to do a cvs -d first then it asks me for a cvs login first ...chicken ..egg

RE: more CVS problems ...

2001-06-19 Thread Viraj Purang
Hi, I found solcae in the good old $CVSROOT variable that CVS requires for its functionaing.Setting it thru the Windows env variables.. resolved the problem finally. Regards, Viraj Purang -Original Message- From: Viraj Purang Sent: Tuesday, June 19, 2001 3:32 PM To: [EMAIL

RE: script task: suggestion about the docs

2001-06-19 Thread Brett Knights
Some places to find information about the script task: It uses the BSF. The BSF pdf doc discusses the environment that scripts run in and how each of the supported languages can make calls to the environment. Ant uses reflection to make calls to tasks. If you look at the doc section called

RE: How do I capture the current directory during execution?

2001-06-19 Thread Annie Frost
Title: How do I capture the current directory during execution? Lorenzo - Did you figure this out? I am having the same problem. Want to keep it simple, but am having problems only using ANT. Seems like I can only write some other code to read in the directory and pass it... Thanks, Annie

RE: Need help on making a dynamic build.xml

2001-06-19 Thread Brett Knights
This looks like something you could accomplish pretty easily with a script. Based on your directory structure your script would: create a copy task to send the files to be jarred to a working area create a jar task to do the work. (you actually might be able to get away with just scripting a

RE: How do I capture the current directory during execution?

2001-06-19 Thread Brett Knights
Why can't you just use param name=workDir expression=${root}/ or some variation on that theme? If I may ask why do you need to pass in the directory? I can process directories with the trax processor (with Saxon behind it) without any trouble. FWIW Saxon contains an extension function that

RE: How do I capture the current directory during execution?

2001-06-19 Thread Annie Frost
I am working with Apache/Tomcat server configuration which requires the server root and it cannot be a relative path (for Apache/conf/httpd.conf and tomcat/conf/mod_jk.conf). Several Developers in the building will be running Apache/Tomcat on their machines and I cannot dictate where they are

RE: How do I capture the current directory during execution?

2001-06-19 Thread Lorenzo Rodriguez
Title: RE: How do I capture the current directory during execution? Annie, I have not been able to solve my problem. And I'm not sure that I can help you solve yours, but I've seen people create environment.properties files that specify developer-specific configuration (where they'll run

Re: Free Java coding convention checker with Ant task

2001-06-19 Thread Oliver Burn
I have written a tool called checkstyle which does what you are looking for. Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. Its purpose is to automate the process of checking Java code, and to spare humans of this boring (but important)

Re: script task: suggestion about the docs

2001-06-19 Thread Suu Quan
Some places to find information about the script task: It uses the BSF. The BSF pdf doc discusses the environment that scripts run in and how each of the supported languages can make calls to the environment. Thanks Brett, I'm still studying your response. Can't help but ask: what is the

RE: How do I capture the current directory during execution?

2001-06-19 Thread Brett Knights
If it is supposed to be an XPATH then try param name=workDir expression='${root}'/ The '' will have the expression interpreted as a string. As mentioned Saxon has an extension function that returns the path of the current document. It has functionality equivalent to Xalan's redirect. I'm not

RE: script task: suggestion about the docs

2001-06-19 Thread Brett Knights
Thanks Brett, I'm still studying your response. Can't help but ask: what is the BSF? Have you read the documentation that does come with Ant? The entry for the script task? -- Ant's code is, for everything I have looked at, clear and readable. If you would look at the code I think you