[prev in list] [next in list] [prev in thread] [next in thread] 

List:       barracuda
Subject:    Barracuda:  Xmlc taskdef and netbeans : NoClassDefFoundError
From:       barracuda () enhydra ! org (Christian Cryder)
Date:       2001-11-28 15:20:06
[Download RAW message or body]

Hi Franck,

Maybe it has something to do with the fact that you are defining your target
as "Xmlc" but you are invoking the task as "xmlc". Also, I don't see you
defining the xmlc taskdef (search the Barracuda build.xml for
'xmlc_localize' for an example of what I mean...I've always had to define
the taskdef, then invoke it.

HIH,
Christian
------------------------------------------------
Christian Cryder [christianc@granitepeaks.com]
Barracuda - MVC Component Framework for Webapps
http://barracuda.enhydra.org
------------------------------------------------
        "What a great time to be a Geek"

> -----Original Message-----
> From: barracuda-admin@enhydra.org [mailto:barracuda-admin@enhydra.org]On
> Behalf Of Franck Routier
> Sent: Wednesday, November 28, 2001 5:29 AM
> To: barracuda@enhydra.org
> Subject: Barracuda: Xmlc taskdef and netbeans : NoClassDefFoundError
>
>
> Hi,
>
> I'm trying to include xlmc compilation into my build.xml file and use it
> under Netbeans.
> So far, I've managed to :
>
> 1) get EventBuilder taskdef to work (so I'm sure ant_barracuda.jar is in
> ant's classpath when running from netbeans)
>
> 2) instanciate xmlc taskdef (<taskdef name="xmlc"
> classname="org.enhydra.barracuda.taskdefs.Xmlc"/> doesn't
> generate any error)
>
> But when I come to include a target using <xmlc>, I get a
> NoClassDefFoundError error :
> My target is :
>
> <target name="Xmlc">
> 	<xmlc compile="no" includes="**/*.html" srcdir="src/bdc/pres/xmlc/"
> verbose="true">
> 		<classpath refid="compile.classpath"/>
> 	</xmlc>
> </target>
>
> Note that compile.classpath contains barracuda-core.jar and xmlc.jar
>
> The error message is :
>
> "Xmlc :
>
> build.xml [201] Could not create task of type : xmlc due to
> java.lang.NoClassDefFoundError
> BUILD FAILED
>
> Total time : 0 seconds"
>
> Where am I wrong ?
>
> Thanks,
>
> Franck Routier
>
> _______________________________________________
> Barracuda mailing list
> Barracuda@enhydra.org
> http://www.enhydra.org/mailman/listinfo.cgi/barracuda


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic