[
https://issues.apache.org/jira/browse/DAYTRADER-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935697#action_12935697
]
Yannick LE NY commented on DAYTRADER-87:
----------------------------------------
1)
>I will update the doc when releasing 2.2 branch, thank you for your detailed
>update instructions.
With the README.jboss5 file now in svn daytrader 2.2 and my remarks below for
updating the doc, I can not compile Jboss ear file.
If I can have a doc updated before you will release 2.2 branch or some little
instructions or basics steps to do ,
I will be happy and I will can do a lot of tests for you with Jboss EAP 5.1.0
and JDK 1.6.
2)
>As to the compilation error, I will check it when doing release as well.
>Basically, you can simply ignore them, if you just want to get an assembly for
>>jboss. Because, it's a geronimo plugin generation error, even not hurt the
>2.2 branch works on geronimo via EAR assembly.
The problem is that the compilation do not create the daytrader ear file for
deploying it in Jboss.
There is nothing , no ear files for Jboss in folder
$DAYTRADER_SRC_HOME/modules/ear/target/
after compiling sources. :(
> DayTrader 2.2.x : Can not compile for Jboss5 / doc is not up to date (file
> README.jboss5)
> -----------------------------------------------------------------------------------------
>
> Key: DAYTRADER-87
> URL: https://issues.apache.org/jira/browse/DAYTRADER-87
> Project: DayTrader
> Issue Type: Bug
> Security Level: public(Regular issues)
> Affects Versions: 2.2
> Environment: * JDK 1.6_021
> * Mandriva Linux 2010.1
> * Maven 2.2.1
> Reporter: Yannick LE NY
> Fix For: 2.2.1
>
> Attachments: daytrader-2.2-compile.log
>
>
> I try to compile Daytrader 2.2 for Jboss 5 with the documentation available
> at
> http://svn.apache.org/viewvc/geronimo/daytrader/branches/2.2/README.jboss5?revision=1032571&view=markup&sortby=rev&sortdir=down
> But this documentation is true/good for Daytrader 2.1.3 but not for daytrader
> 2.2.
> 1)
> Part (replace ejb folder by ejb3 folder)
> 96 3. Rename these files manually:
> 97 #
> $DAYTRADER_SRC_HOME/modules/ejb/src/main/resources/META-INF/persistence.xml
> 98 -->
> $DAYTRADER_SRC_HOME/modules/ejb/src/main/resources/META-INF/persistence.xml.bak
>
> maybe should replace by
> 96 3. Rename these files manually:
> 97 #
> $DAYTRADER_SRC_HOME/modules/ejb3/src/main/resources/META-INF/persistence.xml
> 98 -->
> $DAYTRADER_SRC_HOME/modules/ejb3/src/main/resources/META-INF/persistence.xml.bak
>
> 2)
> Now, the part for OpenJPA PCEnhancer Ant task is not available in
> $DAYTRADER_SRC_HOME/modules/ejb/pom.xml
> 114 5. Modify $DAYTRADER_SRC_HOME/modules/ejb/pom.xml to comment out
> OpenJPA PCEnhancer Ant task:
> 115 <!--<plugin>
> 116 <artifactId>maven-antrun-plugin</artifactId>
> 117 <executions>
> 118 <execution>
> 119 <phase>compile</phase>
> 120 <configuration>
> 121 <tasks>
> 122 <path id="enhance.path.ref">
> 123 <fileset dir="${project.build.outputDirectory}">
> 124 <include name="**/*.class"/>
> 125 </fileset>
> 126 </path>
> 127 <pathconvert property="enhance.files"
> 128 refid="enhance.path.ref"
> 129 pathsep=" "/>
> 130 <java classname="org.apache.openjpa.enhance.PCEnhancer">
> 131 <arg line="-p persistence.xml"/>
> 132 <arg line="${enhance.files}"/>
> 133 <classpath>
> 134 <path refid="maven.dependency.classpath"/>
> 135 <path refid="maven.compile.classpath"/>
> 136 </classpath>
> 137 </java>
> 138 </tasks>
> 139 </configuration>
> 140 <goals>
> 141 <goal>run</goal>
> 142 </goals>
> 143 </execution>
> 144 </executions>
> 145 </plugin>-->
> 3) No ear file created
> 174 8. Finally, copy the
> $DAYTRADER_SRC_HOME/modules/ear/target/daytrader-ear-2.2-SNAPSHOT.ear
> 175 to your $JBOSS_INST_HOME/server/standard/deploy/ directory.
> After compiling with success, I have nothing in
> $DAYTRADER_SRC_HOME/modules/ear/target/daytrader-ear-2.2-SNAPSHOT.ear.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.