For maven, you might consider the maven plugin I wrote that induces xmlbeans to generate the binary artifacts into maven.build.dest automatically. it also caters to multi-project builds by letting you include dependencies in the xmlbeans classpath using a properties flag in the dependency.

http://issues.apache.org/jira/browse/XMLBEANS-124

thanks
david jencks

On Jul 7, 2005, at 8:10 PM, Charles Blaxland (JIRA) wrote:

[ http://issues.apache.org/jira/browse/XMLBEANS-120? page=comments#action_12315276 ]

Charles Blaxland commented on XMLBEANS-120:
-------------------------------------------

If anyone's intersted, I managed to make Eclipse happy without the TypeSystemHolder source by adding the output directory (where the TypeSystemHolder.class files get generated) to the project "Libraries" in the Java Build Path for the project. I also made my maven build work by manually copying the TypeSystemHolder.class files up to the target directory in a java:compile pregoal:

        <preGoal name="java:compile">
                <attainGoal name="generate-xmlbeans"/>
                <ant:copy todir="${maven.build.dest}">
                        <ant:fileset dir="${xmlbeans.output.dir}">
                                <include name="**/*.class"/>
                        </ant:fileset>
                </ant:copy>
        </preGoal>



No TypeHolder generated in -srconly
-----------------------------------

         Key: XMLBEANS-120
         URL: http://issues.apache.org/jira/browse/XMLBEANS-120
     Project: XMLBeans
        Type: Bug
  Components: Compiler
    Versions: Version 2 Beta 2
    Reporter: Don Stewart
    Assignee: Radu Preotiuc-Pietro
    Priority: Minor
 Attachments: SpaceSystem.xsd

If youcreate a -srconly output no TypeHolder class is generated. If you try to edit the source files in an IDE they all point to a missing class and as such the IDE's report errors in every generated Interface.

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


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



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

Reply via email to