On Mon, Mar 2, 2009 at 7:47 AM, ant elder <[email protected]> wrote:

> On Mon, Mar 2, 2009 at 6:45 AM, Luciano Resende <[email protected]>
> wrote:
> >
> > I'm having issues with the assembly-xml unit tests, and I have
> > realized that the problem is that some necessary dependencies are
> > missing (e.g contribution-xml)...
> > Even though this dependency is in the pom.xml, it is not listed as
> > dependency in either the regular classpath or in the
> > plugin-dependencies.
> >
> > Can someone please let me know if they are experiencing something
> > similar in the Eclipse PDE environment ?
> >
>
> This is the .classpath I get from running "mvn -Peclipse" in assembly-xml:
>
> <classpath>
>   <classpathentry kind="src" path="."
> including="LICENSE|NOTICE|MANIFEST.MF" excluding="**/*.java"/>
>   <classpathentry kind="src" path="src/main/java"/>
>   <classpathentry kind="src" path="src/main/resources"
> excluding="**/*.java"/>
>   <classpathentry kind="src" path="src/test/java"
> output="target/test-classes"/>
>   <classpathentry kind="src" path="src/test/resources"
> output="target/test-classes" excluding="**/*.java"/>
>   <classpathentry kind="output" path="target/classes"/>
>   <classpathentry kind="con"
> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>   <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
>   <classpathentry kind="var" path="M2_REPO/junit/junit/4.5/junit-4.5.jar"/>
>   <classpathentry kind="var"
>
> path="M2_REPO/org/apache/tuscany/sca/tuscany-assembly-xsd/2.0-SNAPSHOT/tuscany-assembly-xsd-2.0-SNAPSHOT.jar"/>
>   <classpathentry kind="var"
>
> path="M2_REPO/org/apache/tuscany/sca/tuscany-definitions-xml/2.0-SNAPSHOT/tuscany-definitions-xml-2.0-SNAPSHOT.jar"/>
>   <classpathentry kind="var"
>
> path="M2_REPO/org/apache/tuscany/sca/tuscany-policy-xml/2.0-SNAPSHOT/tuscany-policy-xml-2.0-SNAPSHOT.jar"/>
>   <classpathentry kind="var"
> path="M2_REPO/org/codehaus/woodstox/wstx-asl/3.2.4/wstx-asl-3.2.4.jar"/>
> </classpath>
>
> so that does not include things like tuscany-contribution-xml which is
> in the assembly-xml pom.xml which doesn't seem right
>
>   ...ant
>

I just fixed a file separator problem and I get a clean mvn build now right
down to itest\distribution\webapp-helloworld-jsp which gives...

2009-03-02 10:43:51.890::WARN:  EXCEPTION
org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable
to
read TLD "META-INF/sca.tld" from JAR file
"file:/C:/Documents%20and%20Settings/s
laws/Local%20Settings/Temp/Jetty_0_0_0_0_8085_helloworld-jsp-2.0-SNAPSHOT.war__h
elloworld-jsp__pgypbc/webapp/WEB-INF/lib/tuscany-host-webapp-2.0-SNAPSHOT.jar":
org.apache.jasper.JasperException: Failed to load or instantiate
TagExtraInfo cl
ass: org.apache.tuscany.sca.host.webapp.jsp.ReferenceTEI
        at
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspSer
vletWrapper.java:510)

Simon

Reply via email to