Re: Question concerning screen output for javac

2001-07-23 Thread Stefan Bodewig
On Mon, 23 Jul 2001, Scott Goldstein <[EMAIL PROTECTED]> wrote: > Is there any way to configure the javac task to print these messages > or do I have to edit the source for the task? There is no easy way, no. Hacking the source for the task should not be the first option, though. I'd recommen

Re: javac, depend, and interface constants

2001-07-23 Thread Stefan Bodewig
On Mon, 23 Jul 2001, Larry V. Streepy, Jr. <[EMAIL PROTECTED]> wrote: > I'm not a JLS guru by any means, but I thought non-final references > had to be left as real references. True, but there is nothing like a non-final reference in an interface, see

Re: Anything like a finally{} for a project build?

2001-07-23 Thread Stefan Bodewig
On Mon, 23 Jul 2001, Mike Stopper <[EMAIL PROTECTED]> wrote: > Does an existing task/target exist that I can count on to run > exactly once when a project's XML file stops executing?? No. > It looks like from other posts that I could write a > BuildListener/BuildMonitor Yes, this is the route

Anything like a finally{} for a project build?

2001-07-23 Thread Mike_Stopper
Does an existing task/target exist that I can count on to run exactly once when a project's XML file stops executing??  It looks like from other posts that I could write a BuildListener/BuildMonitor to do something like this, but I thought I'd solicit input from others before embarking on this

Re: task strips permissions?

2001-07-23 Thread Peter Donald
On Tue, 24 Jul 2001 07:41, Shankar Unni wrote: > I just noticed that the task seems to strip out the "x" permission > from the files it copies. Why? (1.3, on Linux, if it matters). java can't access the x permission and thus ant can't preserve it ;( > I now have to put a to change the target p

Re: javac, depend, and interface constants

2001-07-23 Thread Peter Donald
On Tue, 24 Jul 2001 06:40, Nico Seessle wrote: > - Original Message - > From: "Peter Donald" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, July 23, 2001 6:03 PM > Subject: Re: javac, depend, and interface constants > > > None of them are really good (well the second method

RE: Win 2000 Install/Exec

2001-07-23 Thread Conor MacNeill
Unfortunately your approach of removing quotes is not correct :-(. Try installing Ant in a directory containing spaces to see why. If the ant.bat script is not working, there is probably another reason and it would be good to know what that is. Conor > -Original Message- > From: T Maste

RE: TAR Task problems

2001-07-23 Thread Conor MacNeill
> From: Thomas Hofmann [mailto:[EMAIL PROTECTED]] > > I want tar a some files. One of them is shell script, which needs > the execute flag set after untaring. > The documentation (Ant 1.3) includes the following sample code: > > tarfile="${dist.base}/${dist.name}-src.tar" > > > >

RE: task strips permissions?

2001-07-23 Thread Conor MacNeill
Because the task is implemented in Java and Java has limited idea about Unix file permissions. If you want to do a Unix copy, use the command to access the operating system's copy functionality. Conor -Original Message- From: Shankar Unni [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 24 Ju

TAR Task problems

2001-07-23 Thread Thomas Hofmann
Hi, I want tar a some files. One of them is shell script, which needs the execute flag set after untaring. The documentation (Ant 1.3) includes the following sample code: Now, I wonder if that makes any sense. This isn't vaild XML beca

task strips permissions?

2001-07-23 Thread Shankar Unni
Title: task strips permissions? I just noticed that the task seems to strip out the "x" permission from the files it copies. Why? (1.3, on Linux, if it matters). I now have to put a to change the target permissions back. -- Shankar Unni    IntruVert Networks, Inc. [EMAIL PROTECTE

Re: javac, depend, and interface constants

2001-07-23 Thread Larry V. Streepy, Jr.
In my original posting I stated that I was trying to get the depend task to work and it wasn't due to the compiler inlining constants. Thus this whole discussion. Nico Seessle wrote: > > - Original Message - > From: "Peter Donald" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Mo

Re: javac, depend, and interface constants

2001-07-23 Thread Nico Seessle
- Original Message - From: "Peter Donald" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 23, 2001 6:03 PM Subject: Re: javac, depend, and interface constants > None of them are really good (well the second method is good for enums) but > it was the only thing that I knew

Re: javac, depend, and interface constants

2001-07-23 Thread T Master
I as referring to runtime problems, where an old value was being used (embedded). This is what happened to me. The only workarouind was doing a compile of all files affected in order. - Original Message - From: "Larry V. Streepy, Jr." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: M

Re: javac, depend, and interface constants

2001-07-23 Thread Larry V. Streepy, Jr.
T Master wrote: > > Would HotSpot have any impact? Doubtful. Since JIT's work from the initial class files and then create native code for faster execution, I don't see how it could affect the dependency generation at compile time. Or, did I misunderstand your suggestion? -- Larry V. Streepy

Re: javac, depend, and interface constants

2001-07-23 Thread T Master
Would HotSpot have any impact? - Original Message - From: "Larry V. Streepy, Jr." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 23, 2001 12:03 PM Subject: Re: javac, depend, and interface constants > Jason Pettiss wrote: > > > > Final constants are hardcoded directly i

Re: javac, depend, and interface constants

2001-07-23 Thread Larry V. Streepy, Jr.
Jason Pettiss wrote: > > Final constants are hardcoded directly in the classes that use them, for > performance reasons. This is in the java spec (since 1.0). If you make a > change to the interface/class that defines these constants, but don't > recompile the classes that use them, you'll run

Re: Win 2000 Install/Exec

2001-07-23 Thread T Master
I assisted Amos with the ant setup and configuration for win2000. He now gets the no buildfile specified error msg, i..e ant works. - Original Message - From: "healey, alex" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 23, 2001 8:37 AM Subject: RE: Win 2000 Install/Ex

RE: javac, depend, and interface constants

2001-07-23 Thread Jason Pettiss
Final constants are hardcoded directly in the classes that use them, for performance reasons. This is in the java spec (since 1.0). If you make a change to the interface/class that defines these constants, but don't recompile the classes that use them, you'll run into *big trouble*. The javac t

RE: Win 2000 Install/Exec

2001-07-23 Thread healey, alex
This indicates that the command line used to start Ant is incorrect (Ant is a Java program). This may mean some problem with Ant.bat in the path. Check that the correct file Ant.bat is in the path (it should be the one in the bin directory of your new Ant installation). Next change the first line

Re: javac, depend, and interface constants

2001-07-23 Thread Larry V. Streepy, Jr.
Peter Donald wrote: > > On Tue, 24 Jul 2001 01:04, Larry V. Streepy, Jr. wrote: > > Even declaring them as non-final seems to have no effect. > > yer ? hmmm. What compiler are you using and did you make sure you did a full > rebuild ? I'm not a JLS guru by any means, but I thought non-final ref

Re: javac, depend, and interface constants

2001-07-23 Thread Peter Donald
On Tue, 24 Jul 2001 01:04, Larry V. Streepy, Jr. wrote: > After some digging, it appears that the compiler is removing the actual > class member references and just embedding the constant directly into > the generated class file. This happens even with debug turned on and > optimization turned of

Re: Win 2000 Install/Exec

2001-07-23 Thread Amos Lieberman
tmaster, I had been reading the posting you had made w/ the same problem. Unfortunately this doesn't work for me. Is it possible that you send me your bat file, maybe I have forgotten to change something else? >>> [EMAIL PROTECTED] 07/23/01 10:43AM >>> Just an idea. and something I tried

Re: javac, depend, and interface constants

2001-07-23 Thread Don Taylor
My understanding is this is expected behavior. At runtime no reference is ever made to the interface class because the constants have been compiled-in so to speak. :( -- Don --- "Larry V. Streepy, Jr." <[EMAIL PROTECTED]> wrote: > All, I know this is question is more general than just ant, but

Re: Win 2000 Install/Exec

2001-07-23 Thread T Master
Just an idea. and something I tried before Use this line instead. it has the quotes removed. :runAnt echo %_JAVACMD% -classpath %LOCALCLASSPATH% -Dant.home=%ANT_HOME% %ANT_OPTS% org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS% goto end That made ant work for me. - Original Message ---

RE: Win 2000 Install/Exec

2001-07-23 Thread Amos Lieberman
I don't see a start_java command. The most obvious place to put the echo comamnd seemed to be after :runAnt This is therefore the code in the bat file: :runAnt echo %_JAVACMD% -classpath %LOCALCLASSPATH% -Dant.home="%ANT_HOME%" %ANT_OPTS% org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS% goto end

CVSPass

2001-07-23 Thread Ingmar Stein
Hi all, this is a corrected version of the CVSPass task. The old one did not include shifts for all ASCII characters. A diff is included. Cheers, Ingmar Stein CVSPass.java CVSPass.diff

RE: Win 2000 Install/Exec

2001-07-23 Thread Amos Lieberman
How will I know if is running correctly. What should I see in the dos prompt? Amos Lieberman Internet Support Specialist Information Technology and Telecommunication Services American Library Association Help us improve our website! Fill in our web site user survey at www.ala.org/survey

Re[2]: PVCS and Ant

2001-07-23 Thread Bharath . Reddy
Thanks a lot guys ... Regards, Bharath Reddy,

javac, depend, and interface constants

2001-07-23 Thread Larry V. Streepy, Jr.
All, I know this is question is more general than just ant, but it stems from the use of the javac and depend tasks. I'm trying to add usage of the depend task to our current build system. I need it for the obvious reasons of not wanting to do a full clean and build in order to catch dependencies

Re: PVCS and Ant

2001-07-23 Thread Conor MacNeill
From: "Joe Fisher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 24, 2001 12:50 AM Subject: Re: PVCS and Ant > there is a pvcs task in the options jar (I am using 1.4 beta of ant and the jar) Just to be clear - that would be 1.4 *alpha*. No beta for 1.4 has been released at th

RE: Win 2000 Install/Exec

2001-07-23 Thread James Calfee
Your bat file is not echo?ing the 'java' command. Parameters for java are incorrect Either insert _echo on_ before the java (start_java, or something like that) or remove the 'at' symbol before the java command: Echo on @java incorrect parameters you will NOT see java incorrect parameters you

Re: PVCS and Ant

2001-07-23 Thread Joe Fisher
there is a pvcs task in the options jar (I am using 1.4 beta of ant and the jar) you need to have ant installed, put the options jar in the lib dir of ant and a current version of pvcs (6.6 or better.) [EMAIL PROTECTED] wrote: > Hi, > I am a new ANT user. I want to integrate PVCS and ANT. I

PVCS and Ant

2001-07-23 Thread Bharath . Reddy
Hi, I am a new ANT user. I want to integrate PVCS and ANT. Is there is a module which exists for doing this or do i have to write my own ? Could somebody help me with this... Regards, Bharath Reddy, Business Applications Programmer, Metr1s Companies Inc.

Win 2000 Install/Exec

2001-07-23 Thread Amos Lieberman
I am a beginenr with Ant, and am experiencing some troubles after installing the software. After installing ANT and trying to run it I get the message printed below. Could someone tell me what I am doing wrong? Thanks for your help. C:\> ant Usage: java [-options] class [args...]

ANT/VAJ Success

2001-07-23 Thread Trogdon, David
Title: ZIP task. Just a quik note to state that after a bit of sputtering I have used ANT to create a sucessful build in our development enviornment.   We use Visual Age for Java and InstallShield. Useing the VAJ plugin the process goes as follows:   Import current solution from developmet

ZIP task.

2001-07-23 Thread Natalia Bello
Title: ZIP task. Hi, is there anyway to set a fullpath for some files at the same time? With the prefix i havent found the way to do it. I would like to do something like this:   Thanks, Natalia.

RE: Pvcs Task. Promotiongroup

2001-07-23 Thread Natalia Bello
Title: RE: Pvcs Task. Promotiongroup Simon, thanks for your answer. It is strange because for me it works in the command line with the option -gDevelopment:     W:\VM\Win32\Bin>pcli get -z -gDevelopment  -prw:/vm/PvcsProj6.5/Isacore /isaisua/be/isaserver     PVCS Version Manager (V

Re: Question concerning screen output for javac

2001-07-23 Thread Don Taylor
Run Ant with the -verbose option to get these details. I advise logging the results. -- Don --- Scott Goldstein <[EMAIL PROTECTED]> wrote: > Hello. > > I'm new to Ant and I have a question concerning the output of the > javac > task. > > I'm using .javac to build .java files in a directory tre

RE: Pvcs Task. Promotiongroup

2001-07-23 Thread SimonRichardson2
I've had a look at the merant support website and I've found out how to get a file, specifying the promotion group. You need to give the location of your configuration file!! This option should be made available to you in the pvcs task. On the command line this works as follows: get -c -g ..

RE: Pvcs Task. Promotiongroup

2001-07-23 Thread SimonRichardson2
Natalia The same happens using the pvcs command line: Specifying a promotion group: C:\TEMP>get -gTest \\trdbd04\pvcs\49_superstructure\archives\ss1\com\cw\src\SimpleThread.java-a rc PVCS Version Manager (get) v6.7.00 (Build 894) for Windows NT/80x86 Copyright 1985-2000 MERANT. All rights

Re: 'ant init' and table values

2001-07-23 Thread Andrea Papotti
> I don't know anything about Torque (read this as 'you are in the wrong place' 8-), but ... this is a good(?) answer for me... > > This would be usefull to initialize (when using 'ant init') some > > small table to the only 5-10 values needed in the whole lifetime of > > the project, without us

Directory set

2001-07-23 Thread Marco Montel
Like fileset i need a method to create a directory set. When i compile with bmj, i need to pass him a list of packages to compile, that i can obtain from the directory structure of my sourcefiles. This give me a complete list of files *.java but i need a complete list

Re: 'ant init' and table values

2001-07-23 Thread Stefan Bodewig
On Mon, 23 Jul 2001, Andrea Papotti <[EMAIL PROTECTED]> wrote: > Is it possible to initialize some database table with Torque using > some sort of syntax within the myapps-schema.xml ?? I don't know anything about Torque (read this as 'you are in the wrong place' 8-), but ... > This would be us

Pvcs Task. Promotiongroup

2001-07-23 Thread Natalia Bello
Title: Pvcs Task. Promotiongroup hi , I am trying to get a project from PVCS, all work fine if i use the attribute "label" (where i can specified versions, M-revisions and promotions groups) but if i try to use the attribute "promotiongroup" My code is:          and i allwa

Re: lastGoodBuildTime

2001-07-23 Thread Stefan Bodewig
On Mon, 23 Jul 2001, Klara Ward <[EMAIL PROTECTED]> wrote: > I know I've read this somewhere, but I can't find it when I need it. > How do you set lastGoodBuildTime the first time? You may want to ask this on one of the CruiseControl lists. Stefan

'ant init' and table values

2001-07-23 Thread Andrea Papotti
I have already posted this message on turbine-user last week, but since I have no type of answer (not even one saying 'you are in the wrong place' ) I try to post my question even here (since it's Ant-related) My question is: Is it possible to initialize some database table with Torque using som

lastGoodBuildTime

2001-07-23 Thread Klara Ward
I know I've read this somewhere, but I can't find it when I need it. How do you set lastGoodBuildTime the first time? I get this error: clean: init: cruise-check: java.text.ParseException: Unparseable date: "${lastGoodBuildTime}" at java.text.DateFormat.parse(DateFormat.java:324)