AW: Cactus-Ant Integration issue

2009-03-16 Thread Kapil Khanna
Thanks for the reply but I'm using Cactus-1.7.1 using Ant-1.7 and able
to call the cactifyear and cactus target.

 

But now it throws the following error :

 

BUILD FAILED

java.lang.IllegalArgumentException: InputStream cannot be null

at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)

at
org.apache.cactus.integration.ant.deployment.application.ApplicationX

mlIo.parseApplicationXml(ApplicationXmlIo.java:152)

at
org.apache.cactus.integration.ant.deployment.application.DefaultEarAr

chive.getApplicationXml(DefaultEarArchive.java:89)

at
org.apache.cactus.integration.ant.deployment.EarParser.getUriOfCactif

iedWebModule(EarParser.java:161)

at
org.apache.cactus.integration.ant.deployment.EarParser.parse(EarParse

r.java:59)

at
org.apache.cactus.integration.ant.CactusTask.execute(CactusTask.java:

139)

at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:79)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:618)

at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav

a:106)

at org.apache.tools.ant.Task.perform(Task.java:348)

at org.apache.tools.ant.Target.execute(Target.java:357)

at org.apache.tools.ant.Target.performTasks(Target.java:385)

at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)

at org.apache.tools.ant.Project.executeTarget(Project.java:1306)

at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe

cutor.java:41)

at
org.apache.tools.ant.Project.executeTargets(Project.java:1189)

at org.apache.tools.ant.Main.runBuild(Main.java:758)

at org.apache.tools.ant.Main.startAnt(Main.java:217)

at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)

at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

 

Any clue, why the inputStream is coming as null , is it something I'm
missing in passing the value in the web.xml

 

Thanks!



AW: Cactus-Ant Integration issue

2009-03-15 Thread Frank Michael

If you are using the latest Cactus version you need to use cargo 
integration/tags to define your container.


--- Kapil Khanna kkha...@kana.com schrieb am Sa, 14.3.2009:

 Von: Kapil Khanna kkha...@kana.com
 Betreff: Cactus-Ant Integration issue
 An: cactus-user@jakarta.apache.org
 Datum: Samstag, 14. März 2009, 20:51
 Hi!,
 
  
 
 I've been trying Integrating the Cactus tests using Ant
 and the issue
 I'm facing is that while running the Ant the target
 defined for cactify
 and containers doesn't run at all and rest of the
 targets get build
 successfully.
 
  
 
 Any pointers will be appreciated.
 
  
 
 Attached the build.xml and ant -debug file for reference.
 
  
 
 Thanks!
 
 -
 To unsubscribe, e-mail:
 cactus-user-unsubscr...@jakarta.apache.org
 For additional commands, e-mail:
 cactus-user-h...@jakarta.apache.org




-
To unsubscribe, e-mail: cactus-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: cactus-user-h...@jakarta.apache.org