[ http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_17862 ]
Olivier DUGAST commented on XDT-1694:
-------------------------------------
Extract of my pom.xml
<build>
<directory>${basedir}/target_maven2/</directory>
<finalName>${pom.artifactId}-${pom.version}</finalName>
<sourceDirectory>${basedir}/src/java</sourceDirectory>
<outputDirectory>${basedir}/target_maven2/classes</outputDirectory>
<testOutputDirectory>${basedir}/target_maven2/test-classes</testOutputDirectory>
<testSourceDirectory>${basedir}/src/test</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xdoclet-maven-plugin</artifactId>
<executions>
<execution>
<id>generateSources</id>
<phase>generate-sources</phase>
<goals>
<goal>xdoclet</goal>
</goals>
<configuration>
<!--<generatedSourcesDirectory>src/main/resources</generatedSourcesDirectory>-->
<tasks>
<ejbdoclet destDir="${basedir}/target_maven2/generated-sources/xdoclet"
mergeDir="${basedir}/target_maven2/merge-dir"
excludedtags="@version,@author,@todo,@date"
ejbSpec="2.0"
verbose="true"
force="false">
<fileset dir="src/java">
<include name="**/*EJB.java"/>
</fileset>
<deploymentdescriptor destDir="${project.build.outputDirectory}/META-INF" xmlencoding="ISO-8859-1"/>
<session />
<entitypk templateFile="${basedir}/templates/pkTemplate.xdt" pattern="Pk{0}" />
<homeinterface templateFile="${basedir}/templates/homeTemplate.xdt"/>
<localinterface templateFile="${basedir}/templates/localTemplate.xdt"/>
<remoteInterface templateFile="${basedir}/templates/remoteTemplate.xdt"/>
<localhomeinterface templateFile="${basedir}/templates/homeLocalTemplate.xdt"/>
<entitybmp templateFile="${basedir}/templates/entitybmp.xdt"/>
<entitycmp templateFile="${basedir}/templates/entitycmp.xdt"/>
<valueobject pattern="{0}VO"/>
<jboss version="3.2"
xmlencoding="ISO-8859-1"
typemapping="MS SQLSERVER"
datasource="java:/FwkDS"
destdir="${project.build.outputDirectory}/META-INF"
validateXml="false"
createTable="false"
templateFile="${basedir}/templates/jboss_xmlTemplate.xdt"
mergedir="${basedir}/templates" />
</ejbdoclet>
</tasks>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>xjavadoc</groupId>
<artifactId>xjavadoc</artifactId>
<version>1.5-snapshot050611</version>
</dependency>
<dependency>
<groupId>ant</groupId>
<artifactId>ant</artifactId>
<version>1.6.5</version>
</dependency>
</dependencies>
</plugin>
....
Post by Olivier DUGAST (JIRA)Maven2, ejbdoclet, java 1.5 : Windows OK LInux not OK
------------------------------------------------------
Key: XDT-1694
URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1694
Project: XDoclet
Issue Type: Bug
Environment: maven-2.0.8
ejbdoclet : for ejb 2.0 CMP
xjavadoc-1.5-snapshot050611 & ant-1.6.5
Windows
Linux
Reporter: Olivier DUGAST
Assignee: xdoclet-devel (Use for new issues)
Hi all
It's works perfectly on Windows, but on Linux(IC server) java 1.5 grammar (annotation, ... ) is not recognize.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira