RE: Thinking about Source Control

2000-12-22 Thread Les Hughes
Hi, From my perforce pov, it's about automated nightly builds; syncing to head, building, testing, releasing, checking in reports/logs and labelling. Our developers don't use any of the ant perforce tasks in their environment, they have full control thru the p4win gui. Bye, Les

RE: ant as a test harness ?

2001-01-16 Thread Les Hughes
Hi, We use junit in a separate "test.xml" file to run all tests in certain packages. Our build process is controlled by a shell script and basically consists of: 0) Stop the appserver wlstop 1) Grab latest code from Perforce (our source code control system) a platfrom specific

RE: creating a label in Perforce?

2001-01-26 Thread Les Hughes
Hi, Are you using p4label or running your own thang from exec ? Les -Original Message- From: Dave Rhodes [mailto:[EMAIL PROTECTED]] Sent: 25 January 2001 21:30 To: '[EMAIL PROTECTED]' Subject: creating a label in Perforce? Anyone had any luck getting Ant to create a label

RE: wlrun and j2eeunit

2001-01-27 Thread Les Hughes
Hi, Since our whole build process is kicked from cron, and wrapped in a shell script I simply use a build.xml ,check the Ant exit code, call the startWeblogic.sh script, wait a few seconds and then run a test.xml all from the master build.sh script. Simple eh? Les -Original

RE: need help setting up automated build

2001-01-30 Thread Les Hughes
There's an example using javax.mail in the archives http://marc.theaimsgroup.com/?l=ant-userm=86951905205364w=2 This monitor will email upon success and/or failure of build. Enjoy, Les -Original Message- From: Bill Burton [mailto:[EMAIL PROTECTED]] Sent: 29 January 2001 22:21

RE: creating a label in Perforce?

2001-01-31 Thread Les Hughes
with a 2 to 3 week old install of ant 1.2. What is the link to get to this perforce tasks doc you're referring to? http://jakarta.apache.org/ant/jakarta-ant/docs/P4desc.html doesn't reference this info. much appreciated, Dave -Original Message- From: Les Hughes [mailto

RE: Access environment variables within ANT?

2001-02-13 Thread Les Hughes
Hi, Use ant -Denv.MICK=%MICK% on win or ant -Denv.MICK=$MICK on unix. But I prefer to use a build.properties file and a property tag. The props file is mapped out of our SCM on a per-host basis. Bye, Les (Making up for his recent ant-dev missing file blunder) -Original Message-

RE: Ant with Perforce

2001-03-09 Thread Les Hughes
Sure, here's an example. I'm not saying this is the *best* way, just one way :-) In perforce consider a depot laid out:- //projects/myproject/main/buildsystem/conf/nt/build.properties //projects/myproject/main/buildsystem/conf/unix/build.properties

RE: Ant with Perforce

2001-03-12 Thread Les Hughes
Erm, actually it is. It all relates back to the way the mapping from depot view to client view works. But I see what you're getting at, I guess as long as you have a mapping, you can do p4sync view="."/ as p4 takes either client filepath or depot map and translates as appropriate. Les

RE: Creating a p4 client workspace

2001-03-12 Thread Les Hughes
Or why not use the perforce 'framework' and create a P4Client task? I might even knock a task together on the train tonight - if I get a seat :-( But there again, clients are pretty static things - why do you need to create one inside a build? Les -Original Message- From: Kevin

RE: Ant newbie

2001-03-24 Thread Les Hughes
Hi, Compiling only a fixed set of files can be a problem in Java as javac tries to search out depends for you, and compile them. To compile files in the src directory to the classes directoty just use the javac task something like target name="compile" javac

RE: Running junit tests that access EJBs

2001-04-11 Thread Les Hughes
Hi, I dont use wlrun as at the moment, wlrun blocks until wls exits. I think this is due to be 'fixed' at some point (maybe already has?). However, I feel happier if WLS runs in it's own VM without all of the Ant classes lying around. So my build shell script that's kicked off by cron is

RE: XML validator task ?

2001-04-17 Thread Les Hughes
maybe I'll try to write this task. Jason Weiss Sybase, Inc. Les Hughes [EMAIL PROTECTED] on 04/17/2001 11:21:23 AM Please respond to [EMAIL PROTECTED

RE: java command options instead of ant ... : Green back

2001-04-26 Thread Les Hughes
Hi, It's a long shot, but I have a number of JDKs on my (NT) laptop and the biggest problem I've found wrt commandline stuff is the 'secret' java.exe that each installer dumps in winnt/system32 Do a find files and make sure you haven't got an older java.exe somewhere where it shouldn't be.

RE: wlrun, finding the confi.xml file

2001-04-30 Thread Les Hughes
Title: Here's my wlrun task:- wlrun classpath="${weblogic.classes}" name="${ant.project.name}" domain="${ant.project.name}domain" home="${weblogic.home}" password="${weblogic.password}" beahome="${bea.home}" / And here's the bit of my props file: #weblogic settings

Off topic - JTest

2001-04-30 Thread Les Hughes
Hi, Sorry for the off topic post...I currently use Junit with Ant but has anyone experience of JTest(either with Ant or standalone)? http://www.parasoft.com/products/jtest/index.htm Bye, Les

RE: wlrun, finding the confi.xml file

2001-04-30 Thread Les Hughes
:-). Simon -Original Message- From: Les Hughes [mailto:[EMAIL PROTECTED]] Sent: 30 April 2001 10:34 To: '[EMAIL PROTECTED]' Subject: RE: wlrun, finding the confi.xml file Here's my wlrun task:- wlrun classpath=${weblogic.classes} name=${ant.project.name} domain=${ant.project.name

RE: Anyone got the dtd element for ejbjar to work with weblogic 6?

2001-05-02 Thread Les Hughes
Hi, One point, we use local copies of out DTDs to speed up deployment as well. So the DTD location in the XML file is tagged with a filter @dtd.dir@ which is substituted during our build process. Upshot? I don't need to use the dtd element, our stuff deploys quicker and I can quickly run the

RE: Jar/ EJBs / Weblogic (general weirdness)

2001-05-02 Thread Les Hughes
Hi, Do you get the same problem when using the ejbjar / weblogic tasks? Bye, Les -Original Message- From: Andy Yates [mailto:[EMAIL PROTECTED]] Sent: 02 May 2001 06:47 To: '[EMAIL PROTECTED]' Subject: Jar/ EJBs / Weblogic (general weirdness) hi - so I have a somewhat

RE: Platform specific targets???

2001-05-02 Thread Les Hughes
Hi, There's always more than one way to do it eh? I tend to do similar using props but from an overal build.properties something like property file=build.props target name=unix if=os.unix.../target target name=NT if=os.nt.../target and in the props file I have either os.unix=1 or os.nt=1

RE: how to ear with 1.4?

2001-05-04 Thread Les Hughes
Hi, It's a bit too trivial to raise a bug for, but Ear doesn't seem to be in the list of core tasks in the documentation either. Les -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: 04 May 2001 01:29 To: [EMAIL PROTECTED] Subject: Re: how to ear with 1.4?

RE: how to ear with 1.4?

2001-05-08 Thread Les Hughes
Strange, since Ear's code is War's code with a minor change (webxml to appxml) and the rest of the stuff comes from Jar which extends Zip which has the support for FileSets. Perhaps you should raise a bug for this in bugzilla? Anyone else have any ideas? Bye, Les -Original

RE: Cross-platform properties?

2001-05-10 Thread Les Hughes
Or do what I do. I have a per environment props file (build.properties) that my SCM maps out into $basedir/conf/build.properties on all systems (different files per system). I then just have to do a property file=${basedir}/conf/build.properties/ and the correct props for the platform are

RE: EJB problem with EJBc in IAS 6.0 Sp2

2001-05-17 Thread Les Hughes
Just a guess LD_LIBRARY_PATH ? Link errors are usually caused by missing .so (shared library) files - EJBc looks like it's trying to load a library. -Original Message- From: jaideep satghare [mailto:[EMAIL PROTECTED]] Sent: 17 May 2001 11:17 To: [EMAIL PROTECTED] Subject: EJB

RE: java generics compiler and ant?

2001-06-20 Thread Les Hughes
Off the top of my head, this sounds similar to the problem of compiling for Dallas Semiconductors TINI board - you need a bunch of 'custom' classes that conflict in the standard namespace - maybe? Have a look at TiniAnt http://www.ad1440.net/~kelly/sw/tiniant/ Just a wild guess of course...

RE: [ANN] Ant needs a Logo

2001-06-21 Thread Les Hughes
Title: RE: [ANN] Ant needs a Logo So was Adam AntMy "Claim to Fame (tm)"- my 1980 Form Tutor's son was in the Prince Charming video Sorry, off topic nostalgia -Original Message-From: David Roe [mailto:[EMAIL PROTECTED]]Sent: 20 June 2001 20:03To: [EMAIL

RE: P4 (was Re: DTD and always compiling)

2001-06-26 Thread Les Hughes
Hmm, strange. p4sync executes the command p4 sync Could you i) post a snippet of your build.xml file, ii) run ant with -debug to get extra P4 info and post the results and iii) post a copy of your p4 environment (p4 set)? Thanks. Les -Original Message- From: Stefan Bodewig

RE: Ant Logo

2001-06-28 Thread Les Hughes
Sounds like a job for a logo task? Store the new ant logo in a byte array inside a class and provide a static method that streams as a .png maybe? :-) -Original Message- From: Bevan Arps [mailto:[EMAIL PROTECTED]] Sent: 28 June 2001 01:24 To: Ant User Mailing List Subject: Ant

RE: P4 Optional Tasks

2001-06-28 Thread Les Hughes
The p4 tasks are taskdef'd as p4xxx not P4Xxxx Try p4sync (all lower case). Failing that, run ant with the -verbose or -debug switches and post the results. Bye, Les -Original Message- From: Kazandjian Erik [mailto:[EMAIL PROTECTED]] Sent: 28 June 2001 07:23 To: 'Ant User'

RE: P4 Optional Tasks

2001-06-28 Thread Les Hughes
Total time: 8 seconds It looks like the build has succeeded (BUILD SUCCESSFUL) but I am a bit worried about the messages that p4sync gives me. Is this normal? Regards Erik -Original Message- From: Les Hughes [mailto:[EMAIL PROTECTED]] Sent: donderdag 28 juni 2001 10:58

RE: P4 Optional Tasks

2001-06-29 Thread Les Hughes
); Is this a known feature or am I missing some configuration somewhere ? Thanks for your patience Erik -Original Message- From: Les Hughes [mailto:[EMAIL PROTECTED]] Sent: donderdag 28 juni 2001 16:50 To: '[EMAIL PROTECTED]' Subject: RE: P4 Optional Tasks Well, the error handling

RE: P4 Optional Tasks

2001-06-29 Thread Les Hughes
Hi, The use of an array instead of a single string was a bug fix submitted by someone a while back. I guess the reporting side wasn't updated at the same time to reflect the change in how p4base does exec. Diane, could you commit a patch for this? Thanks, Les -Original Message-

RE: java compilation out of memory problem

2001-07-06 Thread Les Hughes
Dont forget that the mx and ms switches changed between 1.1 and 1.2/1.3. 1.2/1.3 needs -Xms and/or -Xmx (for example java -Xmx128m -Xms128m) Try java -X for a full list of these switches. Bye Les -Original Message- From: Peter Davison [mailto:[EMAIL PROTECTED]] Sent: 06 July 2001

RE: VAJLoad is not working

2001-07-12 Thread Les Hughes
Hi, I'm a bit behind you but I noticed that my copy of optional.jar didn't have the VAJ tasks. Open optional.jar and have a look for the optional.ide package. If it's not there, grab a snap shot and build the tasks yourself. Hope this helps, Les (About to try to install Ant into VAJ - wish

RE: Can't Get an Ant-generated EAR to open with J2EE reference edition Deploytool

2001-07-13 Thread Les Hughes
Hi Marc, I 'engineered'(alright stole) the Ear task from the War task for Weblogic deployments. Ear is the same as war except for the different deployment descriptors. In any case they both inherit down from zip so this could be the root cause. The upshot of this is that you get zips defaults in

RE: p4delete?

2001-09-26 Thread Les Hughes
Hi, Nope, there's no p4 delete 'cos I never needed it :-) P4 tasks are easy to write - the functionality to call p4 is in P4Base, stream handling is doen through the P4OutputHandler stuff (see the simpleHandler for an example). You just need to give P4Base the correct p4 command, any options

RE: Identify which classes were created from a Java task?

2001-10-18 Thread Les Hughes
Hi, I think I'd start with my SCM, identifying submitted changes from the release label instead of basing it on source files on a filesystem. You could then perhaps feed this list of changed files into the depend task maybe to see what needs to be incrementally built. This whole area for what

RE: Editing file

2001-10-18 Thread Les Hughes
Hi, Mark up the things that change in your build with filter tags and then copy the file into your build location using filtering and a filters file. I do exactly that with WLS 6.1 config.xml and others. Bye, Les -Original Message-From: Sugandha Shah [mailto:[EMAIL

RE: search for words in a file

2001-10-18 Thread Les Hughes
Hi, You dont need to go as far as Lucene for simple searching. Ant already uses Perl5 regex's from the Jakarta ORO package in some of its tasks to pattern match (look at the optional perforce stuff for examples) - just pass a regex and a fileset into your task and let it do the scanning. Les

RE: What is wrong with Apache Web site?

2001-10-18 Thread Les Hughes
Looks like the ASF site to me. I like the rebranding BTW. Perhaps you're looking for http://httpd.apache.org/ ? Bye, Les -Original Message- From: Cornellious Mann [mailto:[EMAIL PROTECTED]] Sent: 18 October 2001 16:05 To: [EMAIL PROTECTED] Subject: What is wrong with Apache Web

RE: Identify which classes were created from a Java task?

2001-10-18 Thread Les Hughes
:00 To: [EMAIL PROTECTED] Subject: RE: Identify which classes were created from a Java task? --- Les Hughes [EMAIL PROTECTED] wrote: Perforce supports labels and what changed kinds of queries - others may be able to help out depending on your SCM. The problem with that approach

RE: Editing file

2001-10-19 Thread Les Hughes
. Les -Original Message- From: Sugandha Shah To: Les Hughes Sent: 19/10/01 10:09 Subject: Re: Editing file Hi, I really did not get what u said. I'm newbie to ANT. Can u kindly send in example for same. Also if i read from property file and those read values if i need to add in config

RE: Identify which classes were created from a Java task?

2001-10-21 Thread Les Hughes
I thought HTML + Browsers replaced PowerPoint ? Correct, I'm not a powerpoint user Maybe one day I'll write a Powerpoint front end for Ant. That'd be cool (or very sad depending on your point of view.)

RE: search for words in a file

2001-10-21 Thread Les Hughes
On Thu, 2001-10-18 at 14:53, [EMAIL PROTECTED] wrote: Hi, Where can I find 'optional perforce stuff' ? Les Hughes leslie.hughes@ To: '[EMAIL PROTECTED

RE: Ant Perforce Tasks

2001-12-03 Thread Les Hughes
Hi Stuart, Can you supply a snippet of your buildfile? On my test box with p4change/ echo message=Change is ${p4.change}/ and ant -verbose I get [p4change] Execing p4 change -o [p4change] Execing p4 change -i [p4change] Change Number is 108 [echo] Change is 108 and in p4win Change

RE: p4 commands in ant

2001-12-11 Thread Les Hughes
Hi Marcus, Firstly, I dont mind being emailed directly but can you try to keep your questions to ant user - that way anyone can answer (usually quicker) and everyone benefits from the solution? Thanks. Have you built ant from source or downloaded a binary? If you have downloaded the binary

RE: p4label task - multiple views (depots)?

2002-01-04 Thread Les Hughes
Hi Brad, The view set in any P4 ant task is of the same syntax as you'd use with the p4 command line tool. Our projects are all arranged under one depot so I haven't had to do this (although //... will work for everything on the server!) It's a case of RTFM I'm afraid unless anyone else on the

RE: p4label

2002-01-07 Thread Les Hughes
Yuk - this sucks bigtime. If I get a min in the next few days I'll mod P4Label to accept a comma delimited list and do the transposition for you ( I don't fancy getting into nested XML elements for something as simple as this unless someone can convince me (ie submit a patch) otherwise Les

RE: Perforce Optional Tasks

2002-01-10 Thread Les Hughes
/perforce/api/java/p4package/?ac=83 Jim -Original Message- From: Les Hughes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 02, 2002 3:16 AM To: 'Ant Users List' Subject: RE: Perforce Optional Tasks Hi Gang, Sorry to have missed this one - I'm out in no mans land (OK

RE: Perforce Integration

2002-02-10 Thread Les Hughes
The tasks are all in the optional section of the manual (so remember to download optional.jar). Make sure you use a recent build of Ant say 1.4 or 1.4.1 and have the p4 command line tool (eg p4.exe) on your path before running Ant. You'll also need jakarta-oro-2.xx. p4sync is a good place to

RE: javadoc with custom doclet probs.

2002-02-19 Thread Les Hughes
I guess I'd better fix it then ;-) -Original Message- From: Stefan Bodewig To: [EMAIL PROTECTED] Sent: 2/19/02 2:29 PM Subject: Re: javadoc with custom doclet probs. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6433 You are not alone 8-) Stefan -- To unsubscribe, e-mail:

RE: javadoc with custom doclet probs.

2002-02-19 Thread Les Hughes
Race you - I'm on it right now! -Original Message- From: Stefan Bodewig To: [EMAIL PROTECTED] Sent: 2/19/02 2:51 PM Subject: Re: javadoc with custom doclet probs. On Tue, 19 Feb 2002, Les Hughes [EMAIL PROTECTED] wrote: I guess I'd better fix it then ;-) That would be the best

RE: file properites in copy task

2002-02-26 Thread Les Hughes
What about an Ant equiv of a tar pipe as in tar cf - . |( cd /foo; tar xf - )? In Ant you'd have to tar up the source directories then copy over the tarfile and untar. Mind you, not sure if the tar task in Ant preserves file perms either but you could always exec gnu tar perhaps? Bye, Les

ejbjar, weblogic and classpath

2002-02-27 Thread Les Hughes
Hi, I've been reading the thread on ejbjar and log4j problems and I'm getting similar issues with SOAP 2.2. Here's my build.xml snippet weblogic destdir=${build.dir}/LDAPAdminDomain wlclasspath=${ejbc.class.path} keepgeneric=false

RE: Task for ejb compiling for websphere

2002-04-18 Thread Les Hughes
We have the pleasure of WAS 3.5.5. The problem is that WAS builds everything internally so what you really need to do is to export the deployedejb.jar file using the tool API. Also, since EJB dev mandates the use of Teams your pretty much stuck with VAJ as your build env. IBM GS do have code to

RE: Kawa / Ant

2002-04-18 Thread Les Hughes
target. You can make kawa prompt for a target by adding a ?Type Your Prompt Here? setting at the end of the Args box on the custom commands form. Easy eh? Hope this helps. Les -Original Message- From: Tino Schöllhorn [mailto:[EMAIL PROTECTED]] Sent: 18 April 2002 15:18 To: Les Hughes

RE: VAJ Projects

2002-05-13 Thread Les Hughes
Hi, It is possible, except that the code I have is closed source, licenesed from IBM and my clients property. Otherwise I'd send you a copy ;-) You need to write two things. A server that executes within VAJ and an Ant Task that connects and invokes the export functionality. The Server is the

RE: VAJ

2002-05-13 Thread Les Hughes
See other answer. But you mention SCM is ClearCase. If you're talking about VAJ 3.5.x and EJB then external SCM is not an option - it can't manage EJB meta-data. There's a paper on the VAJ developers domain about this. Bye, Les -Original Message- From: Kumar Servai [mailto:[EMAIL

RE: p4 sync error

2002-05-20 Thread Les Hughes
Hi, The P4Sync task is just a wrapped around p4 sync so I'm surprised that you're getting this. However, if Ant has files open that your target is trying to update then it will go a bit pear shaped. You'll see this on NT/W2K a lot (the delete task fails if you have a windows explorer viewing a

RE: problems with p4 task

2002-05-30 Thread Les Hughes
Interesting. Since I only ever have a single view per project (//depot/myproject/...) and I dpont rename files when I sync them, I haven't had this bug. Can you send an extract of your build.xml with the offending p4 task and the output (run with -debug or -verbose)? I have a feeling it's an

RE: EJB Tasks and WebSphere

2002-06-07 Thread Les Hughes
Which version of WAS/VAJ/WSAD ? -Original Message- From: Saripalli, Raju [mailto:[EMAIL PROTECTED]] Sent: 06 June 2002 16:09 To: 'Ant Users List' Subject: EJB Tasks and WebSphere Hi, I know that this question may be off topic, but I hope someone may have had experience

RE: Perforce tasks

2002-06-21 Thread Les Hughes
Hi, Thanks for you feedback. Can you submit a patch for the documentation to ant-dev? As for changing p4counter - well, the perms required to update counters in perforce are quiet powerful. Since these grant a whole bunch of perms, I haven't actually found the counter to be of much use. Have

RE: Perforce tasks

2002-06-21 Thread Les Hughes
Oops, all these counters are frying my brain I meant have you seen the BuildNumber task. As for languages - well, I still cant kick the perl habit -Original Message- From: MARZIOU,GAEL (HP-France,ex1) [mailto:[EMAIL PROTECTED]] Sent: 21 June 2002 11:53 To: Les Hughes

RE: Perforce tasks

2002-06-25 Thread Les Hughes
Cheers Diane - I overlooked the obvious ;-) -Original Message- From: Burns, Chris [mailto:[EMAIL PROTECTED]] Sent: 24 June 2002 17:03 To: 'Ant Users List' Subject: RE: Perforce tasks Thank you very much. -Original Message- From: Diane Holt [mailto:[EMAIL