maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geesken, Edmund" <>
Subject calling ant and classpath problem
Date Mon, 01 Dec 2003 12:59:40 GMT
I have search around and have found one thing  i can not explain for me.

After every start of maven for example java:compile, site:generate or
something else.

The line 

Attempting to download maven-SNAPSHOT.jar.

is shown.

But when I start my own goal which is defined in the maven.xml file



This line is never shown.


Is maven not initialized?

Is there something more I have to do?


My maven.xml file


<project default="Work:doCompile" xmlns:ant="jelly:ant" xmlns:j="jelly:core"


 <goal name="Work:compileJSP">







       <ant:path refid="maven.dependency.classpath"/>

       <ant:pathelement path="${}"/>



    <ant:jspc srcdir="${file.parentFile}"





              <include name="${}" 

              classpathref="maven.compile.src.set" />





  <goal name="Work:doCompile" description="Compiles all JSPs">

    <fileScanner var="files">

      <fileset dir="${pbase.dir}/jboss/server/default/deploy/default.war">

        <include name="**/*.jsp" />

        <exclude name="WEB-INF/*" />




    <j:forEach items="${files.iterator()}" var="file">

      <j:set var="filename" value="${}" />




      <attainGoal name="Work:compileJSP"/>






And the output on the console


C:\Limex51\MAVEN>maven Work:doCompile

 __  __

|  \/  |__ _Apache__ ___

| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~

|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT



    [echo] ::region.jsp


    [echo] ::C:\Lim\jboss\server\default\deploy\default.war\masterdata\cpty



    [echo] .maven.....

    [echo] .pom.....

    [echo] .classpath.....

    [jspc] Compiling 1 source

    [jspc] java.lang.NoClassDefFoundError: org/apache/jasper/JspC

    [jspc] Exception in thread "main"



File...... file:/C:/project/MAVEN/

Element... ant:jspc

Line...... 21

Column.... 27

Java returned: 1

Total time: 6 seconds

Finished at: Mon Dec 01 13:13:45 CET 2003



Any idea what I forgot to do, to initialize??

The jars which contains the JspC are in the project.xml file













Am really happy for any hint




The information contained herein is confidential and is intended solely for the
addressee. Access by any other party is unauthorised without the express
written permission of the sender. If you are not the intended recipient, please
contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
via e-mail return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to or contact the sender.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message