Brian,

I'm not sure if this is the correct way to do things, but in the
build section of my project I have added: 

<build>
  <resources>
    ...
    <!-- include the generated java, so we can see it in eclipse -->
    <resource>
      <directory>
        ${project.build.directory}/generated-sources/xdoclet
      </directory>
      <excludes>
        <exclude>**/*.java</exclude>
      </excludes>
    </resource>
  </resources>
</build>


This would then ensure that the java code from xDoclet showed up in
eclispe. I added the exclude *.java, so that the generated code would
not end up in the jar file at the end, only the compiled classes.

Hope that this helps?

IV

--- Brian Bonner <[EMAIL PROTECTED]> wrote:

> I'm generating java source using xmlbeans from a schema.  the
> source is landing in target/xmlbeans-source.  Is there an easy
> way to include that source directory in the eclipse build path
> when I run eclipse:eclipse?  Or is there another approach i
> should use?
> 
> Thanks.
> 
>

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

Reply via email to