You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by vi...@apache.org on 2010/12/30 06:50:20 UTC
svn commit: r1053801 - in /geronimo/daytrader/branches/2.2: README
README.jboss README.jboss5
Author: violalu
Date: Thu Dec 30 05:50:20 2010
New Revision: 1053801
URL: http://svn.apache.org/viewvc?rev=1053801&view=rev
Log:
DAYTRADER-87 Can not compile for Jboss5 / doc is not up to date (file README.jboss5. Add Apache LICENSE to file header
Modified:
geronimo/daytrader/branches/2.2/README
geronimo/daytrader/branches/2.2/README.jboss
geronimo/daytrader/branches/2.2/README.jboss5
Modified: geronimo/daytrader/branches/2.2/README
URL: http://svn.apache.org/viewvc/geronimo/daytrader/branches/2.2/README?rev=1053801&r1=1053800&r2=1053801&view=diff
==============================================================================
--- geronimo/daytrader/branches/2.2/README (original)
+++ geronimo/daytrader/branches/2.2/README Thu Dec 30 05:50:20 2010
@@ -1,4 +1,19 @@
-(C) Copyright 2006,2008 The Apache Software Foundation.
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+(C) Copyright 2006-2010 The Apache Software Foundation.
----------------------------------------------------------------------
The code in this directory contains the code for the benchmark sample called
Modified: geronimo/daytrader/branches/2.2/README.jboss
URL: http://svn.apache.org/viewvc/geronimo/daytrader/branches/2.2/README.jboss?rev=1053801&r1=1053800&r2=1053801&view=diff
==============================================================================
--- geronimo/daytrader/branches/2.2/README.jboss (original)
+++ geronimo/daytrader/branches/2.2/README.jboss Thu Dec 30 05:50:20 2010
@@ -1,4 +1,19 @@
-(C) Copyright 2006,2008 The Apache Software Foundation.
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+(C) Copyright 2006-2010 The Apache Software Foundation.
----------------------------------------------------------------------
These are instructions for building and useing daytrader with JBoss:
Modified: geronimo/daytrader/branches/2.2/README.jboss5
URL: http://svn.apache.org/viewvc/geronimo/daytrader/branches/2.2/README.jboss5?rev=1053801&r1=1053800&r2=1053801&view=diff
==============================================================================
--- geronimo/daytrader/branches/2.2/README.jboss5 (original)
+++ geronimo/daytrader/branches/2.2/README.jboss5 Thu Dec 30 05:50:20 2010
@@ -1,4 +1,19 @@
-(C) Copyright 2009 The Apache Software Foundation.
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+(C) Copyright 2009-2010 The Apache Software Foundation.
----------------------------------------------------------------------
These are instructions for building and using daytrader with JBoss 5 standard configuration:
@@ -94,8 +109,8 @@ Sample of Oracle datasource:
3. Rename these files manually:
- # $DAYTRADER_SRC_HOME/modules/ejb/src/main/resources/META-INF/persistence.xml
- --> $DAYTRADER_SRC_HOME/modules/ejb/src/main/resources/META-INF/persistence.xml.bak
+ # $DAYTRADER_SRC_HOME/modules/ejb3/src/main/resources/META-INF/persistence.xml
+ --> $DAYTRADER_SRC_HOME/modules/ejb3/src/main/resources/META-INF/persistence.xml.bak
# $DAYTRADER_SRC_HOME/modules/ear/src/main/resources/META-INF/persistence.xml.jboss5
--> $DAYTRADER_SRC_HOME/modules/ear/src/main/resources/META-INF/persistence.xml
@@ -111,43 +126,7 @@ Sample of Oracle datasource:
-5. Modify $DAYTRADER_SRC_HOME/modules/ejb/pom.xml to comment out OpenJPA PCEnhancer Ant task:
- <!--<plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>compile</phase>
- <configuration>
- <tasks>
- <path id="enhance.path.ref">
- <fileset dir="${project.build.outputDirectory}">
- <include name="**/*.class"/>
- </fileset>
- </path>
- <pathconvert property="enhance.files"
- refid="enhance.path.ref"
- pathsep=" "/>
- <java classname="org.apache.openjpa.enhance.PCEnhancer">
- <arg line="-p persistence.xml"/>
- <arg line="${enhance.files}"/>
- <classpath>
- <path refid="maven.dependency.classpath"/>
- <path refid="maven.compile.classpath"/>
- </classpath>
- </java>
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>-->
-
-
-
-
-6. Modify $DAYTRADER_SRC_HOME/modules/ear/pom.xml to comment out daytrader streamer client module
+5. Modify $DAYTRADER_SRC_HOME/modules/ear/pom.xml to comment out daytrader streamer client module
Since not figure out how to make it work in jboss 5 :-/
<!--<dependency>
@@ -166,12 +145,12 @@ Since not figure out how to make it work
-7. Build it to ear ball:
+6. Build it to ear ball:
mvn clean install
-8. Finally, copy the $DAYTRADER_SRC_HOME/modules/ear/target/daytrader-ear-2.2-SNAPSHOT.ear
+7. Finally, copy the $DAYTRADER_SRC_HOME/assemblies/javaee/daytrader-ear/target/daytrader-ear-2.2-SNAPSHOT.ear
to your $JBOSS_INST_HOME/server/standard/deploy/ directory.
Good luck!