Help, I can't build javadocs either - no source files found.

2001-12-20 Thread David Medinets
I've tried and tried, but I'm missing something. Please help me move to an automated development system. Here is the output from my Build: documentation: [delete] Deleting directory C:\clearcase_compile_results\javadoc [mkdir] Created dir: C:\clearcase_compile_results\javadoc [javadoc]

RE: Off topic question?

2001-12-20 Thread Steve Cohen
Yeah, you're right. That's the solution. Thanks. I forgot about that one. -Original Message- From: Frank E. Weiss Sent: Thu 12/20/2001 6:21 PM To: Ant Users List Cc: Subject: Re: Off topic question?

RE: Proper use of (a little off-topic)

2001-12-20 Thread Donnie Hale
> So here you'd have That's essentially what I was thinking. Derive from the base target class, specify the classname in the element, and have the build.xml file reader be smart enough to attempt introspection on the derived class if it encounters non-standard attributes. Of course, then the

RE: jar task bug??

2001-12-20 Thread Donnie Hale
Another comment on this. I noticed this quite a while back. While the manifest that ends up in the .jar file looks strange with the classpath line appearing on multiple lines, it doesn't cause any problems in terms of class not found errors when I deploy a .ear file under WebLogic 6.1. So I've jus

How to set a javac parameter only if a property exists

2001-12-20 Thread Scott Ellsworth
Howdy, all. The problem: when build.compiler is set to jikes, and there is a nonexistent directory in the extensions path, jikes barfs. MacOS X has several directories in the extensions path that do not exist. The potential hope: If is set build.compiler to jikes, and then find a way to add t

Re: Off topic question?

2001-12-20 Thread Frank E. Weiss
I think I know what the problem is. If you double click on My Computer you get a window with a list of folders. Then you drill down by double clicking the subfolders till you get to your destination. Now try this: right click on My Computer and select Explore. Now you get a two-pane explorer wind

VSS Get with File Checked out

2001-12-20 Thread Scott Goldstein
I'm trying to do a VSS get on a project containing files that I have checked out. When I check out the file, it becomes writable. During the VSSget task (and during a manual run of ss), the following output is printed for this file: A writable copy of [filename] already exists (where filena

RE: Off topic question?

2001-12-20 Thread Steve Cohen
Right, but you have to remember to do go back a level after you're done looking. I don't have to keep the window open. The point is, it just would be awfully convenient to have the explorer window right there. Nothing that can't be worked around, of course. I guess it's another case of Microsof

Re: Tagging a release using cvs task

2001-12-20 Thread Dirk Weigenand
Alexander Syedin schrieb: > > Hello Dirk, > "tag" attribute is used to provide "-r ${release.tag}" argument to cvs command. > Documentation seems to be non-ambiguous in description of this attribute: > "... the tag of the package/module to check out." I should have been reading more carefully no

Re: Perforce Optional Tasks

2001-12-20 Thread Marcus
oh man, what a dummy. THANKS and happy x-mas and merry new year. -duh - Original Message - From: "Diane Holt" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, December 20, 2001 2:17 PM Subject: Re: Perforce Optional Tasks > --- Marcus <[EMAIL PROTECTED]> wro

Re: Perforce Optional Tasks

2001-12-20 Thread Diane Holt
--- Marcus <[EMAIL PROTECTED]> wrote: > that is what i thought but then i get: > > p:\cpdev\main\src\run_build.xml:27: Problem exec'ing P4 command: error: > //cpdev//main/src/... - no such file(s). But that's not because isn't defined -- in fact, it is, and the above is the output from 'p4', te

Re: Off topic question?

2001-12-20 Thread Frank E. Weiss
I doubt you can do this in W2K. Basically, if you delete the object (folder) then the explorer viewer is also closed. I don't see why you have to have that window open. I usually keep explorer open on the desktop. Or you can keep explorer open one level above the dist folder. BTW, an easy way to

RE: jar task bug?? It is..

2001-12-20 Thread Mallampati, Suresh
Yup, there were inconsistencies, which were fixed in jdk1.3. Now, there arent any. Anyways, can you please tell me if these changes will be part of the next version of Ant, i.e., Ant1.4.2 or something. I am not sure what 1.5Alpha means, will the next version be 1.5 and such.. And though it might n

Re: Perforce Optional Tasks

2001-12-20 Thread Marcus
Hi Diane, that is what i thought but then i get: p:\cpdev\main\src\run_build.xml:27: Problem exec'ing P4 command: error: //cpdev/ /main/src/... - no such file(s). at org.apache.tools.ant.taskdefs.optional.perforce.P4Base.execP4Command( P4Base.java:180) at org.apache.tools.ant.tas

Off topic question?

2001-12-20 Thread Steve Cohen
Here's an annoyance of working with ant on Windows 2000. It's not ant's fault but I wonder if anyone has a workaround: Typically an ant project will have a "dist" directory into which the distribution is put. It will also have a "clean" task which will typically have something like If you l

Re: Proper use of (a little off-topic)

2001-12-20 Thread Cecil, Paula New
This reminds me of a project we have in-house. First, we created interfaces for all the important classes. Then, in the XML, we have an optional attribute where the classname may be specified. This allows the developers to extend our classes or completely replace them. So here you'd have

RE: jar task question

2001-12-20 Thread Steve Cohen
Yes, that worked. Thanks. Still, it's probably more confusing than it should be. I would think the syntax should do the same thing as the syntax but it doesn't. And then there is also the option of specifying includes and excludes as attributes. This could all be less confusingly documented

Re: Proper use of (a little off-topic)

2001-12-20 Thread Steve Loughran
- Original Message - From: "DONNIE HALE" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 20, 2001 11:18 AM Subject: Re: Proper use of (a little off-topic) Thanks for the info. I understand the point, though I tend to agree with you - just move the line in the sand

RE: Proper use of (a little off-topic)

2001-12-20 Thread DONNIE HALE
That's not what I want, because if I have: then the echo messages are going to get spit out even if the task decides that it has nothing to do (all the .class files are up-to-date). Thanks though. Donnie >>> [EMAIL PROTECTED] 12/20/01 02:29PM >>> > 2) Can be put inside a ? I d

Re: Proper use of (a little off-topic)

2001-12-20 Thread Diane Holt
--- DONNIE HALE <[EMAIL PROTECTED]> wrote: > 1) I know that tasks are extensible. How about s? So someone > could post a contributed, enhanced without changing the core. Don't know, since I don't yet know enough Java to know what distinguishes a class that is extensible vs. one that isn't -- is

Re: jar task question

2001-12-20 Thread Diane Holt
Does: do what you need? (I'm not sure what correct "pathing" you want.) Diane = ([EMAIL PROTECTED]) __ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shoppi

RE: jar task question

2001-12-20 Thread Steve Cohen
Your suggestion doesn't work. It seems to me that putting a basedir attribute on the jar task includes anything regardless of what filesets are included. In fact, my earlier surmise that I could get what I want by using excludes is wrong - if basedir is specified the excludes do not work. But w

RE: jar task question

2001-12-20 Thread Mallampati, Suresh
Hi, you could have tried this.. -Original Message- From: Steve Cohen [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 1:25 PM To: [EMAIL PROTECTED] Subject: jar task question I wish to create a jar after a build nested at a particular root, but no

RE: Proper use of (a little off-topic)

2001-12-20 Thread Ylan Segal
> 2) Can be put inside a ? I didn't see an answer to > this before, but a test showed that it couldn't. What I'm trying > to achieve is some feedback to System.out only if a task is executed: > > > > ... > > > Is there a way to do that? No echo can not be put inside a task, as it's a task

jar task question

2001-12-20 Thread Steve Cohen
I wish to create a jar after a build nested at a particular root, but not including every directory under this root. I know I could probably do this with in a fileset but I would rather do it with ; that way if other stuff is added, I don't have to change my build file. However I find this does

Re: Proper use of (a little off-topic)

2001-12-20 Thread DONNIE HALE
Thanks for the info. I understand the point, though I tend to agree with you - just move the line in the sand past equality but short of all the other things he's worried about. :) Since I have your attention, 2 questions (1 related): 1) I know that tasks are extensible. How about s? So someon

Re: Perforce Optional Tasks

2001-12-20 Thread Marcus
yes, but i thought it wa sin the optional.jar and not longer needed? - Original Message - From: "James Bullington" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, December 20, 2001 10:06 AM Subject: Re: Perforce Optional Tasks > I'm not a perforce expert,

RE: jar task bug?? It is..

2001-12-20 Thread Magesh Umasankar
Ant 1.5Alpha has the necessary fix to allow multiple Class-Path attributes to exist in the Manifest file. The Jar Specification and Manifest Specification by Sun are inconsistent. These links will show the inconsistencies: http://java.sun.com/j2se/1.4/docs/guide/jar/jar.html http://java.

RE: jar task bug?? It is..

2001-12-20 Thread Mallampati, Suresh
Hi, According to the java spec, the manifest entry has two parts: the main section and the file section. The class-path entry is part of the main section. And the snippets you guys have attached is for file entries section. Name: fileName entry: com entry : com/mypackage In this case, the first en

RE: JDK 1.4

2001-12-20 Thread Diane Holt
--- Scott Coleman <[EMAIL PROTECTED]> wrote: > Thank you and Diane, I was looking at the wrong the task and meant java > not javac. As I wished to run with some asserts enabled and some > disabled. Can you tell me where I can get the patch from. There were two threads in ant-dev: http://marc.th

RE: jar task bug??

2001-12-20 Thread Ylan Segal
> > Hi, > I want to provide a manifest file to the jar task. One of my > entries in the > manifest file is a bit long. > Class-Path: lib/asadfsdfsdfsd.jar lib/rdgdfsghsgsdfgsdfsg.jar > lib/asrfdsfasfsdaf.jar > > The jar task, puts in new line characters and additional spaces to the > entry..and t

Re: jar task bug??

2001-12-20 Thread T Master
This has been reported before, and a reply was that the ant jar taks folows the Java Spec. Search the mail archives for responses. T Master. - Original Message - From: "Mallampati, Suresh" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Thursday, December 20, 2001

jar task bug??

2001-12-20 Thread Mallampati, Suresh
Hi, I want to provide a manifest file to the jar task. One of my entries in the manifest file is a bit long. Class-Path: lib/asadfsdfsdfsd.jar lib/rdgdfsghsgsdfgsdfsg.jar lib/asrfdsfasfsdaf.jar The jar task, puts in new line characters and additional spaces to the entry..and this is causing prob

Re: Perforce Optional Tasks

2001-12-20 Thread Diane Holt
--- James Bullington <[EMAIL PROTECTED]> wrote: > I'm not a perforce expert, but did you define the taskdef as below? > > classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Sync" /> You shouldn't need to -- all the P4 tasks are already defined in the defaults.properties file. Diane

Re: Re[2]: Perforce Optional Tasks

2001-12-20 Thread Diane Holt
--- Marcus <[EMAIL PROTECTED]> wrote: > So, it would look like this? > > Nope. The "id" for a path is just an identifier you can use to reference it at other places in your build-file. The elements of the path are specified using the nested tags. In order to reference your environment

Re: Perforce Optional Tasks

2001-12-20 Thread James Bullington
I'm not a perforce expert, but did you define the taskdef as below? --Jim --- Marcus <[EMAIL PROTECTED]> wrote: > Jim, > > I do that and now I get: > $ ant -buildfile run_build.xml init > Buildfile: run_build.xml > > init: > [echo] syncing > > BUILD FAILED > > p:\cpdev\main\src\run_b

Re: Perforce Optional Tasks

2001-12-20 Thread Diane Holt
--- James Bullington <[EMAIL PROTECTED]> wrote: > At least the version that I use, Ant version 1.3 compiled on May 11 > 2001, provided by BEA, does not build the classpath. I don't know doodley about BEA, but I find it hard to believe that the Ant it's providing isn't doing what it should. What's

Re: Perforce Optional Tasks

2001-12-20 Thread James Bullington
At least the version that I use, Ant version 1.3 compiled on May 11 2001, provided by BEA, does not build the classpath. --Jim --- Diane Holt <[EMAIL PROTECTED]> wrote: > --- James Bullington <[EMAIL PROTECTED]> wrote: > > Did you remember to put these files in your class path? When I > first >

Re: Perforce Optional Tasks

2001-12-20 Thread Diane Holt
--- James Bullington <[EMAIL PROTECTED]> wrote: > Did you remember to put these files in your class path? When I first > started to use optional.jar, this was my mistake. > > i.e. you need: > > CLASSPATH=%CLASSPATH%;/ant/lib/optional.jar;/ant/lib/oro.jar You shouldn't need to do this -- the w

Re: Proper use of (a little off-topic)

2001-12-20 Thread Diane Holt
--- DONNIE HALE <[EMAIL PROTECTED]> wrote: > Aaah. Out of curiousity, and without trying to start a new religious war > :), could you summarize the reasons for the rejection? Or perhaps give > me a keyword that will help me hit the right archived messages? Basically, it's seen as "too scripty" an

Re: Perforce Optional Tasks

2001-12-20 Thread Marcus
Jim, I do that and now I get: $ ant -buildfile run_build.xml init Buildfile: run_build.xml init: [echo] syncing BUILD FAILED p:\cpdev\main\src\run_build.xml:29: Could not create task of type: p4Sync. Commo n solutions are to use taskdef to declare your task, or, if this is an optional tas

Re: Perforce Optional Tasks

2001-12-20 Thread James Bullington
I placed this line in a batch file that I execute before I call ant. --Jim --- Marcus <[EMAIL PROTECTED]> wrote: > Hi Jim, > > Where in the xml file or in the sys variables? > > thx > -mez > - Original Message - > From: "James Bullington" <[EMAIL PROTECTED]> > To: "Ant Users List" <[EM

Re: Perforce Optional Tasks

2001-12-20 Thread Marcus
Hi Jim, Where in the xml file or in the sys variables? thx -mez - Original Message - From: "James Bullington" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, December 20, 2001 9:37 AM Subject: Re: Perforce Optional Tasks > Did you remember to put these file

Re: Perforce Optional Tasks

2001-12-20 Thread James Bullington
Did you remember to put these files in your class path? When I first started to use optional.jar, this was my mistake. i.e. you need: CLASSPATH=%CLASSPATH%;/ant/lib/optional.jar;/ant/lib/oro.jar Hope this helps, Jim --- Marcus <[EMAIL PROTECTED]> wrote: > I have put in the optional.jar and t

Re: Re[2]: Perforce Optional Tasks

2001-12-20 Thread Marcus
Jens, I had cut this version down from my build.xml file as it was using the junit features and I did not have time to do all the automation (junit, p4, build,etc) I would like for our 1st release, so I just tired to do this in an other file and will re-integrate later. So, it would look like th

Re[2]: Perforce Optional Tasks

2001-12-20 Thread Jens v.P.
Hello Marcus, it's as Andrew expected: you have defined classpath outside a task element, where ant interprets it as a task ittself. Classpath can only be defined inside some task (like javac, java, javadoc...). If you want to define classpath and use it several times, just replace your wit

Re: Perforce Optional Tasks

2001-12-20 Thread Marcus
Andy. I had this working and then started on some other ant sutff and came back to this and it didn't work, so I think I may have changed something, like you said, in the classpath setting in system variables. Here is what my settings are: ANT_HOME = p:\thirdparty\jvm\ant JAVA_HOME = p:\thirdpar

RE: Perforce Optional Tasks

2001-12-20 Thread Beacock Andrew (NMP/Boston)
Marcus, > I have put in the optional.jar and the oro.jar file in > /ant/lib and I still get: > BUILD FAILED > > p:\cpdev\main\src\run_build.xml:23: Could not create task of > type: classpath. It sounds like you have a element as a base element rather than as an element of another task such a

equivalent of tab in makefile

2001-12-20 Thread deepak
hi i was shocked to see the that ant was giving error in ejbjar task because i specified the following in my xml file META-INF/AuthenticationTokenDetails-weblogic-rdbms-jar.xml instead of putting it in one line When i put above in a single line it compiles properly is it n

Re: Tagging a release using cvs task

2001-12-20 Thread Dirk Weigenand
Conor MacNeill schrieb: > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, 20 December 2001 1:15 AM > > To: [EMAIL PROTECTED] > > Subject: Tagging a release using cvs task > > > > > > Hello List, > > > > i try to tag a release using the cvs

Re: Tagging a release using cvs task

2001-12-20 Thread Alexander Syedin
Hello Dirk, "tag" attribute is used to provide "-r ${release.tag}" argument to cvs command. Documentation seems to be non-ambiguous in description of this attribute: "... the tag of the package/module to check out." So, you have to use something like: to accomplish your target. -- SY. Alexander

javadoc "locale" config?

2001-12-20 Thread Ken'ichi Unnai
Dear all, Hi I generated ant build.xml file by using EJBCreator-0.4 available at http://opensource.itplus.dk/EJBCreator/index.html I could perfectly build everything, but I noticed my javadoc went out as in Japanese language. I want to generate them in English. Although I consulted ant docume