Dear Loughran, I am new to ant Scripting. My requirement is like this. We are using Weblogic.
I receive an .EAR file and before deployment my BUILD should do the following. a. My Script should locate the weblogic-ejb-jar.xml inside the .EAR and <trans-time-out></trans-time-out> Element should be modified per EJB basis. What do you suggest? Regards, Srini. -----Original Message----- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 2:31 PM To: Ant Developers List Subject: Re: Updates to the Maven Artifact Ant tasks Brett Porter wrote: > On 6/8/05, Steve Loughran <[EMAIL PROTECTED]> wrote: >>Here in ant-land, we've done two things to make the stuff work better >> >>1. > > > Are these the same points you added below? no, I forgot to type some stuff 1. Resource collections are a new way of representing stuff; filesets are inherently resource collections. I'm told this will make it easier to manipulate filesets. 2. what was #2? I forget. > > >>1. build file tests; check handling of missing required items, etc, etc. >>ant-testutils is the jar for this. > > > Ok, that will be worth a look. I'm pretty flat out for the next ocuple > of weeks, then JavaOne, then holidays - so I'll revisit this next > month :) > > Is this still going to give enough time to prepare for Ant 1.7? Maybe. I might have a go at starting the test suite, its not too hard in junit, and now AntUnit promises more simplicity. > >>5. something to map from (artifact,groupid,version) to the path to a >>jar, to a pom, or the base dir. Here is my macro to get the dest >>directory, used when copying in local stuff. > > > I thought that was why dependencies had a fileset ID, so you didn't > need to worry about constructing paths, or knowing where the local > repository is if using external config? its primarily for local deployment-by-copying. Now, maven itself has a built in publish-to-a-repository goal doesnt it? That is what i really need, I suspect. Push out an artifact to a location, generate a POM file on demand, plus the checksums. > Anyway, happy for this to go into JIRA. It can use the code already in > Maven to set the property and it would be flexible across layouts. > > The proxy idea in a later email is also good, JIRA'd. ...just another example of how J2SE is laptop unfriendly. I think it comes from sun's no-laptop-except-powerbooks-you-buy-yourself policy. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ********************************************************* Disclaimer: The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of MBT and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of MBT. This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and MBT is not responsible for any loss or damage arising in any way from its use ********************************************************* --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]