Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPCASTOR-7

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPCASTOR-7
    Summary: Could not find org.exolab.castor.builder.SourceGenerator
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-castor-plugin

   Assignee: 
   Reporter: Graham Leggett

    Created: Mon, 21 Feb 2005 5:24 AM
    Updated: Mon, 21 Feb 2005 5:24 AM
Environment: Maven v1.0.2
MacOSX v10.3.8
JDK v1.4.2


Description:
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



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to