Fileset support for unjar/unwar/unzip

2001-11-30 Thread Paul Cody Johnston

Does anyone know if there are plans to support nested filesets for the unjar 
class of tasks?  I need to unjar a set of jars in a directory.  

If not, I can try to do it myself.  Anyone working on this?

Paul

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: task for full text search

2001-11-28 Thread Paul Cody Johnston

On Wednesday 28 November 2001 02:48 pm, you wrote:
> hi,
>
> i'd like to have my build failed, whenever a special string (e.g.
> '@inheritDoc') appears in one of the files generated (e.g. the javadoc html
> files) during the build process. i had a look on the various tasks
> (,  ...), which sound like they can help, but can't find a
> solution, which would not require the  task.
>
>
> any ideas?

Not that I know of.  You could write your own task that searches for a 
particular regular expression (using the apache oro package bundled with ant) 
and then fails (or whatever) upon match.

Paul

>
> thanks,
>
> mirko

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: ejbjar with jikes deploy problems

2001-11-19 Thread Paul Cody Johnston

On Monday 19 November 2001 12:43 pm, you wrote:
> Greetings,
>
> Just curious to know if anyone else has had problems deploying to Weblogic
> when using jikes as their compiler.   works fine, but deploying
> jars, I get a
>
> The WebLogic Server did not start up properly.
> Exception raised: java.lang.reflect.InvocationTargetException
> java.lang.reflect.InvocationTargetException: java.lang.VerifyError: (class:
> pkg/class, method: method signature: ()V) Expecting to find integer on
> stack at java.lang.Class.newInstance0(Native Method)
>
> error.  If I change my build.compiler property to "modern", the ejbs deploy
> fine, but it takes 50 mins vs 12 minutes with jikes.
>
> anybody else had this problem?

Not with weblogic, but I have seen Verification errors with jikes-generated 
classfiles (though not in a long time).  Check your version of jikes and 
upgrade if possible. 

Paul

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Manifest file in Weblogic ejbjar task

2001-11-13 Thread Paul Cody Johnston

On Tuesday 13 November 2001 12:51 am, you wrote:
> Hi,
> I understand that Weblogic recently has a new feature
> for defining some classpath values in the Manifest
> file of the ejb Jar.
> Does anybody know whether Ant 1.4.1 or 5 alpha
> supports that? Because I tried to put the manifest
> attribute in the ejbjar task (which I think it is an
> undocumented feature because I had to go to the source
> code to find it). Ant doesn't complain about that, but
> it doesn't seem to do what I intended it to do as
> well.
>

Herry,

It seems to work for me, I'm using:

$ ant -version
Ant version 1.4 compiled on September 3 2001

Here is my task (not fully optimized):

  
  

  
  

  


  
  

  
   

  
  
  
  
  

  

HTH,
Paul

> Any idea?
>
> Thanks in advance
>
> Herry
>
> __
> Do You Yahoo!?
> Yahoo! Events Guide - Entertainment, community events and more!
> http://events.yahoo.com.sg/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Question on junitreport

2001-11-13 Thread Paul Cody Johnston

On Tuesday 13 November 2001 02:00 pm, you wrote:
> I am using ANT1.4 with Xalan-j_2_2_D12.  Here is the junitreport task I
> setup,

I have had no problems with 2.2.D09, you might give that a shot.

>
> 
>   
> 
>   
> 
> 
>   
> 
>
> I am getting the following error. Any idea?
>
> [junitreport] Using Xalan version: Xalan Java 2.2.D12
>
> BUILD FAILED
>
> java.lang.NoSuchMethodError
> at org.apache.xml.dtm.ref.dom2dtm.DOM2DTM.addNode(DOM2DTM.java:273)
> at org.apache.xml.dtm.ref.dom2dtm.DOM2DTM.(DOM2DTM.java:157)
> at
> org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:193)
> at
> org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java
>: 634)
> at
> org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java
>: 1092)
> at
> org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java
>: 1070)
> at
> org.apache.tools.ant.taskdefs.optional.junit.Xalan2Executor.execute(Aggrega
>t eTransformer.java:321)
> at
> org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.transform
>( AggregateTransformer.java:190)
> at
> org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.execute(XM
>L ResultAggregator.java:170)
> at org.apache.tools.ant.Task.perform(Task.java:217)
> at org.apache.tools.ant.Target.execute(Target.java:164)
> at org.apache.tools.ant.Target.performTasks(Target.java:182)
> at org.apache.tools.ant.Project.executeTarget(Project.java:601)
> at org.apache.tools.ant.Project.executeTargets(Project.java:560)
> at org.apache.tools.ant.Main.runBuild(Main.java:454)
> at org.apache.tools.ant.Main.start(Main.java:153)
> at org.apache.tools.ant.Main.main(Main.java:176)
>
> Regards,
>
> Ying-Yi

--
To unsubscribe, e-mail:   
For additional commands, e-mail: