[ 
http://jira.codehaus.org/browse/MPCASTOR-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukas Theussl closed MPCASTOR-7.
--------------------------------

      Assignee: Lukas Theussl
    Resolution: Won't Fix

> Could not find org.exolab.castor.builder.SourceGenerator
> --------------------------------------------------------
>
>                 Key: MPCASTOR-7
>                 URL: http://jira.codehaus.org/browse/MPCASTOR-7
>             Project: Maven 1.x Castor Plugin
>          Issue Type: Bug
>         Environment: Maven v1.0.2
> MacOSX v10.3.8
> JDK v1.4.2
>            Reporter: Graham Leggett
>            Assignee: Lukas Theussl
>
> After following the instructions for configuring castor, and getting the 
> following pregoal:
>   <preGoal name="java:compile">
>     <attainGoal name="castor:prepare-filesystem"/>
>     <castor:generate schema="src/xsd/eod.xsd"
>                      package="za.co.xxx.ia.eod"
>                      types="j2"/>
>   </preGoal>
> Castor source generation fails claiming that castor is missing from the 
> classpath. Checking the maven repository shows the castor jar is there, and 
> if you remove the castor jar, maven downloads the castor jar correctly.
> Has anybody got the castor plugin to work within maven v1.0.2, or is the 
> castor plugin known to be broken?
> Graham-Leggetts-Computer:~/src/standard/monaco-xml minfrin$ maven 
> java:compile __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
>     [propertyfile] Updating property file: 
> /Users/minfrin/src/standard/monaco-xml/src/conf/version.properties
> build:start:
> java:prepare-filesystem:
> java:compile:
> castor:prepare-filesystem:
>     [echo] Generating sources for src/xsd/eod.xsd
> BUILD FAILED
> File...... /Users/minfrin/.maven/cache/maven-castor-plugin-1.2/plugin.jelly
> Element... ant:java
> Line...... 92
> Column.... 38
> Could not find org.exolab.castor.builder.SourceGenerator. Make sure you have 
> it in your classpath
> Total time: 4 seconds
> Finished at: Mon Feb 21 12:20:15 SAST 2005

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to