Perhaps its a language issue, but I'm still not 100% clear what your
problem is. It sounds like you're claiming the xdoclet plugin is
writing output to a directory under /target, but then that directory
is not being compiled along with the rest of the code as you would
expect.

Is this correct? Or something else?

If this is the case, then it is not the ejb plugin which is broken,
but instead the xdoclet plugin. Plugins which create additional source
code in a project are required to "inform" Maven so the generated
source code is added to the source roots.

Wayne

On 6/11/07, Mac Systems <[EMAIL PROTECTED]> wrote:
To be more precisly:

My Linux maschine usind JDK 1.5.07 ..on Windows it is JDK 1.5_09.
There are no updates made while the Build were made on linux from maven.

So what the heck is going on ? Actually i am totally frustrated by maven
as i cannot take simple control
of such things like in ANT. The Build process started as root on that
maschine so there is also no
restriction by an missing right. I See the generated Sourcecode,the
thing is that maven totally ignores to
compile an pack that into the EJB Project. Maybe the EJB Plugin is Broken ?

regards,
Jens

> So,
>
> i copied my working .m2 dir on the linux system. I the get same problem as 
before. I clean up complete workspace .. nothing.
>
> What to do ?
> Jens
>
>
> -----Ursprüngliche Nachricht-----
> Von: Wayne Fay [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 11. Juni 2007 16:14
> An: Maven Users List
> Betreff: Re: Source generated by XDoclet not found only on Linux
>
> You haven't specified the version for xdoclet-maven-plugin that I can
> see. You must do this.
>
> Additionally, are you sure the JDK versions are the same on both
> machines? This can certainly make a difference.
>
> Finally, try mvn -U on both machines to make sure all your plugins and
> dependencies etc are up to date. You might try mvn -X (after the -U)
> and compare the artifact versions that Maven is using.
>
> Wayne
>
> On 6/11/07, Jens Hohl <[EMAIL PROTECTED]> wrote:
>
>> Hello,
>>
>>
>>
>> i have a curious problem that Stop our Build Process on a Linux
>> maschine.
>>
>> So far I can tell that before XDoclet was running well on that maschine.
>>
>> As the project grows something broken an I am unable to figure out that
>> wrong there:
>>
>>
>>
>>             <plugin>
>>
>>                   <artifactId>xdoclet-maven-plugin</artifactId>
>>
>>                   <groupId>org.codehaus.mojo</groupId>
>>
>>                   <executions>
>>
>>                         <execution>
>>
>>                              <id>xdoclet</id>
>>
>>                              <phase>generate-sources</phase>
>>
>>                              <goals>
>>
>>                                    <goal>xdoclet</goal>
>>
>>                              </goals>
>>
>>                         </execution>
>>
>>                   </executions>
>>
>>                   <configuration>
>>
>>                         <tasks>
>>
>>                              <ejbdoclet
>> destDir="${project.build.directory}/generated-sources/xdoclet"
>>
>>
>> excludedTags="@author,@version"
>>
>>                                                ejbSpec="2.1">
>>
>>                                    <fileset
>> dir="${project.build.sourceDirectory}">
>>
>>                                          <include name="**/*Bean.java"/>
>>
>>                                          <include name="**/*EJB*.java"/>
>>
>>                                          <include name="**/*MDB.java"/>
>>
>>                                    </fileset>
>>
>>
>>                                    <homeinterface
>> destDir="${project.build.directory}/generated-sources/xdoclet"/>
>>
>>                                    <remoteinterface
>> destDir="${project.build.directory}/generated-sources/xdoclet"/>
>>
>>                                    <!--<localhomeinterface
>> destDir="${project.build.directory}/generated-sources/xdoclet"/>-->
>>
>>                                    <deploymentdescriptor
>> destDir="${project.build.outputDirectory}/META-INF" useIDs="true"/>
>>
>>                              </ejbdoclet>
>>
>>                         </tasks>
>>
>>                   </configuration>
>>
>>                   <dependencies> <!-- Diese abhaengigkeit ist wichtig,
>> Das hat mich sehr viele nerven gekostet diese herauszufinden-->
>>
>>                         <dependency>
>>
>>                              <groupId>ant</groupId>
>>
>>                              <artifactId>ant</artifactId>
>>
>>                              <version>1.6.5</version>
>>
>>                         </dependency>
>>
>>                   </dependencies>
>>
>>             </plugin>
>>
>>
>>
>>
>>
>> XDoclet generates the Sources under target/generated-sources. So far so
>> good.
>>
>> But the source will not be used to compile and install in an EJB under
>> Linux.
>>
>> This results later that some Webclient will get an Compilation Error.
>>
>>
>>
>> The same works well under my Windows development maschine. Actually I
>> have same POM files
>>
>> On both maschines and same Sourcecode.
>>
>>
>>
>> What im doing wrong ?
>>
>> Please help me!
>>
>>
>>
>>
>>
>> - jens
>>
>>
>>
>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> 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]
>
>
>
>


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