geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "viola.lu (JIRA)" <...@geronimo.apache.org>
Subject [jira] Closed: (DAYTRADER-87) DayTrader 2.2.x : Can not compile for Jboss5 / doc is not up to date (file README.jboss5)
Date Thu, 30 Dec 2010 05:51:53 GMT

     [ https://issues.apache.org/jira/browse/DAYTRADER-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

viola.lu closed DAYTRADER-87.
-----------------------------

    Resolution: Fixed

Fixed: At revision: 1053801.


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


Mime
View raw message