geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmcma...@apache.org
Subject svn commit: r561821 [1/12] - in /geronimo/sandbox/j2g: ./ configurator/ doc/ plugins/ plugins/org.apache.geronimo.j2g.common/ plugins/org.apache.geronimo.j2g.descriptors/ plugins/org.apache.geronimo.j2g.descriptors/src/ plugins/org.apache.geronimo.j2g....
Date Wed, 01 Aug 2007 15:05:17 GMT
Author: pmcmahan
Date: Wed Aug  1 08:05:12 2007
New Revision: 561821

URL: http://svn.apache.org/viewvc?view=rev&rev=561821
Log:
set svn properties on j2g


Modified:
    geronimo/sandbox/j2g/configurator/pom.xml   (props changed)
    geronimo/sandbox/j2g/doc/readme.txt   (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.common/pom.xml   (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/pom.xml   (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/commons-logging.properties
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/app/ApplicationDescriptorTool.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/comp/CMPDescriptorTool.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/comp/CMPEntityBeanMigrator.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/comp/EJBJarXmlProcessor.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/comp/dto/EJBRelation.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/comp/dto/EJBRelationshipRole.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/comp/dto/Relationships.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/ejb/EJBDescriptorTool.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/ejb/annotation/AnnotationConverter.java
  (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/ejb/annotation/AnnotationInstance.java
  (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/ejb/annotation/AnnotationTool.java
  (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/ejb/bean/BeanMigrator.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/ejb/bean/EntityBeanMigrator.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/ejb/bean/JNDIBeanMigrator.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/ejb/bean/MessageDrivenBeanMigrator.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/ejb/bean/SessionBeanMigrator.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/web/WebDescriptorTool.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/test-resources/ejb-jar.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/test-resources/geronimo-application.xml
  (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/test-resources/geronimo-web.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/test-resources/jboss-app.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/test-resources/jboss.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/test-resources/jbosscmp-jdbc.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/test-resources/openejb-jar.xml
  (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/test/org/apache/geronimo/j2g/descriptors/app/test/TestApplicationDescriptorTool.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/test/org/apache/geronimo/j2g/descriptors/cmp/test/TestCMPDescriptorsTool.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/test/org/apache/geronimo/j2g/descriptors/cmp/test/TestEJBjarXmlProcessor.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/test/org/apache/geronimo/j2g/descriptors/ejb/test/TestEJBDescriptorTool.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/test/org/apache/geronimo/j2g/descriptors/web/test/TestWebDescriptorTool.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.jasper/pom.xml   (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/pom.xml   (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/src/commons-logging.properties
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/src/org/apache/geronimo/j2g/resources/datasource/DSResourcesTool.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/src/org/apache/geronimo/j2g/resources/jms/JMSResourcesTool.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/src/org/apache/geronimo/j2g/resources/mail/MailResourcesTool.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/src/org/apache/geronimo/j2g/resources/security/SecurityResourcesTool.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/ds/hsqldb-ds.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/ds/hsqldb-geronimo-plan.xml
  (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/ds/mysql-ds.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/ds/mysql-geronimo-plan.xml
  (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/ds/oracle-ds.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/ds/oracle-geronimo-plan.xml
  (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/geronimo-jms-resource-plan.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jbossmq-destinations-service.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jms-ds.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/jms/jms-geronimo-plan.xml
  (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/err/mail-service.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/geronimo-mail-service.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/mail-geronimo-plan.xml
  (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/mail/mail-service.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/geronimo-secutiry-plan.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/login-config.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test-apps/security/security-geronimo-plan.xml
  (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test/org/apache/geronimo/j2g/resources/datasource/test/DSResouresToolTestCase.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test/org/apache/geronimo/j2g/resources/jms/test/JMSResouresToolTestCase.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test/org/apache/geronimo/j2g/resources/mail/test/MailResouresToolTestCase.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.resources/test/org/apache/geronimo/j2g/resources/security/test/SecurityResouresToolTestCase.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/plugin.xml   (contents, props
changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/pom.xml   (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/FileFilterImpl.java
  (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/JavaParser.java
  (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/JavaSourceFilter.java
  (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/ParsedSource.java
  (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/SourceIdentificationTool.java
  (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/dependence/APIReplaceVisitor.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/dependence/DependenceJavaMigration.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/dependence/NodesVisitor.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/dependence/compatibility/Anybody.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/dependence/compatibility/DigestCallback.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/dependence/compatibility/GeronimoLoginModule.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/dependence/compatibility/GeronimoSimpleGroup.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/dependence/compatibility/Nobody.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/dependence/compatibility/PasswordHasher.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/environment/AbsoluteNameSolver.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/environment/BlockVisitor.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/environment/EjbEnvJavaMigration.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/environment/MethodsVisitor.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/environment/NameSolvingException.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.sources/src/org/apache/geronimo/j2g/sources/environment/VarContext.java
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.ui/build.properties   (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.ui/plugin.xml   (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.ui/pom.xml   (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.ui/src/org/apache/geronimo/j2g/ui/Activator.java
  (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.ui/src/org/apache/geronimo/j2g/ui/Jdes2gLauncher.java
  (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.util/pom.xml   (props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.util/test-apps/jboss-xml/jboss-web.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.util/test-apps/jboss-xml/jboss.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.util/test-apps/mail/geronimo-mail-service.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.util/test-apps/mail/mail-service.xml
  (contents, props changed)
    geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.util/test-apps/test-app-jboss/openejb-jar-serialized.xml
  (props changed)
    geronimo/sandbox/j2g/plugins/pom.xml   (props changed)
    geronimo/sandbox/j2g/pom.xml   (props changed)
    geronimo/sandbox/j2g/src/main/assembly/bin.xml   (props changed)
    geronimo/sandbox/j2g/src/main/resources/bin/j2g-configure.bat   (contents, props changed)
    geronimo/sandbox/j2g/src/main/resources/bin/j2g-configure.sh   (props changed)
    geronimo/sandbox/j2g/src/main/resources/bin/jdesc2g.bat   (contents, props changed)
    geronimo/sandbox/j2g/src/main/resources/bin/jdesc2g.sh   (props changed)
    geronimo/sandbox/j2g/src/main/resources/bin/jres2g.bat   (contents, props changed)
    geronimo/sandbox/j2g/src/main/resources/bin/jres2g.sh   (props changed)
    geronimo/sandbox/j2g/src/main/resources/bin/jsrc2g.bat   (contents, props changed)
    geronimo/sandbox/j2g/src/main/resources/bin/jsrc2g.sh   (props changed)
    geronimo/sandbox/j2g/src/main/resources/compatibility/org.apache.geronimo.j2g.sources.dependence.compatibility/Anybody.java
  (props changed)
    geronimo/sandbox/j2g/src/main/resources/compatibility/org.apache.geronimo.j2g.sources.dependence.compatibility/DigestCallback.java
  (props changed)
    geronimo/sandbox/j2g/src/main/resources/compatibility/org.apache.geronimo.j2g.sources.dependence.compatibility/GeronimoLoginModule.java
  (props changed)
    geronimo/sandbox/j2g/src/main/resources/compatibility/org.apache.geronimo.j2g.sources.dependence.compatibility/GeronimoSimpleGroup.java
  (props changed)
    geronimo/sandbox/j2g/src/main/resources/compatibility/org.apache.geronimo.j2g.sources.dependence.compatibility/Nobody.java
  (props changed)
    geronimo/sandbox/j2g/src/main/resources/compatibility/org.apache.geronimo.j2g.sources.dependence.compatibility/PasswordHasher.java
  (props changed)
    geronimo/sandbox/j2g/src/main/resources/properties/org.apache.geronimo.j2g.descriptors.ejb.annotation/annotation_differences.properties
  (props changed)
    geronimo/sandbox/j2g/src/main/resources/properties/org.apache.geronimo.j2g.descriptors.ejb/persistence_differences.properties
  (props changed)
    geronimo/sandbox/j2g/src/main/resources/properties/org.apache.geronimo.j2g.sources.dependence/class_analogies.properties
  (props changed)
    geronimo/sandbox/j2g/src/main/resources/properties/org.apache.geronimo.j2g.sources.dependence/compatible_sources.properties
  (props changed)
    geronimo/sandbox/j2g/src/main/resources/properties/org.apache.geronimo.j2g.sources.dependence/default_jars.properties
  (props changed)
    geronimo/sandbox/j2g/src/main/resources/properties/org.apache.geronimo.j2g.sources.environment/beans-interfaces.properties
  (props changed)
    geronimo/sandbox/j2g/src/main/resources/properties/org.apache.geronimo.j2g.sources.environment/beans-references.properties
  (props changed)
    geronimo/sandbox/j2g/src/main/resources/properties/org.apache.geronimo.j2g.sources.environment/beans-types.properties
  (props changed)

Propchange: geronimo/sandbox/j2g/configurator/pom.xml
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Wed Aug  1 08:05:12 2007
@@ -1 +1 @@
-Date Rev
+Date Author Id Revision HeadURL

Modified: geronimo/sandbox/j2g/doc/readme.txt
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/doc/readme.txt?view=diff&rev=561821&r1=561820&r2=561821
==============================================================================
--- geronimo/sandbox/j2g/doc/readme.txt (original)
+++ geronimo/sandbox/j2g/doc/readme.txt Wed Aug  1 08:05:12 2007
@@ -1,81 +1,81 @@
-/**
- *  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.
- */
-==================================
-J2G-Migration Package
-==================================
-Note: Please visit http://cwiki.apache.org/confluence/display/GMOxDOC11/J2G+Migration+Tool
for more thorough documentation
-
-JBoss to Geronimo (J2G) is a tool set built as command line Eclipse SDK plug-ins 
-designed to assist in migrating the sources of an application written for the JBoss 
-application server or written for Java 2 Enterprise Edition (J2EE) to the Apache 
-Geronimo platform.
-
-==================================
-Dependencies
-==================================
-The J2G tool set requires at least the following application versions
-(these are the versions J2G is known to work on)
-
-    * Sun JDK 5.0+ (J2SE 1.5)
-    * Eclipse SDK 3.3M7 with JDT Core Plug-in
-    * Apache Geronimo 1.1.1
-    * Application written for JBoss 3.2 and up or J2EE 1.2 and up.
-
-==================================
-Environment Variables
-==================================
-The tools in J2G require that the following environment variables be set to the proper 
-locations:
-
-    * JAVA_HOME (Location of the JDK)
-    * ECLIPSE_HOME (Location of the Eclipse SDK)
-    * WORKSPACE (Location for a temporary eclipse workspace)
-
-==================================
-1. Configurator
-==================================
-To run this component, navigate to bin, and run j2g-configure
-
-This will automatically copy the contents of the ./plugins directory to ECLIPSE_HOME/plugins,

-as well as make changes (or create, if necessary) to ECLIPSE_HOME/configuration/config.ini.
-
-==================================
-2. Source Identification Tool
-==================================
-This tool parses through source code (.java and .jsp files) recursively in directories 
-passed to it as command line arguments. While doing this, it replaces any JBoss classes 
-and dependencies for which there are Geronimo equivalents. If there is no equivalent, it

-will alert the user of this issue which must be resolved either through manual creation 
-of a replacement class or rewriting the segment of code dependent on the JBoss class.
-
- - Usage: jsrc2g -src <APPLICATION>\src -web <APPLICATION>\web -geronimo <GERONIMO_HOME>
-
-==================================
-3. Descriptors Conversion Tool
-==================================
-This tool converts JBoss specific deployment descriptors and J2EE standard deployment 
-descriptors (if necessary) to their Geronimo equivalents.
-
- - Usage: jdesc2g <APPLICATION>
-
-==================================
-4. Resource Conversion Tool
-==================================
-This tool converts JBoss specific resources, such as Java Messaging Services (JMS) Queues,

-JMS Topics, Java Database Connectivity (JDBC) data sources to their Geronimo equivalents.
-
- - Usage: jres2g <APPLICATION>
+/**
+ *  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.
+ */
+==================================
+J2G-Migration Package
+==================================
+Note: Please visit http://cwiki.apache.org/confluence/display/GMOxDOC11/J2G+Migration+Tool
for more thorough documentation
+
+JBoss to Geronimo (J2G) is a tool set built as command line Eclipse SDK plug-ins 
+designed to assist in migrating the sources of an application written for the JBoss 
+application server or written for Java 2 Enterprise Edition (J2EE) to the Apache 
+Geronimo platform.
+
+==================================
+Dependencies
+==================================
+The J2G tool set requires at least the following application versions
+(these are the versions J2G is known to work on)
+
+    * Sun JDK 5.0+ (J2SE 1.5)
+    * Eclipse SDK 3.3M7 with JDT Core Plug-in
+    * Apache Geronimo 1.1.1
+    * Application written for JBoss 3.2 and up or J2EE 1.2 and up.
+
+==================================
+Environment Variables
+==================================
+The tools in J2G require that the following environment variables be set to the proper 
+locations:
+
+    * JAVA_HOME (Location of the JDK)
+    * ECLIPSE_HOME (Location of the Eclipse SDK)
+    * WORKSPACE (Location for a temporary eclipse workspace)
+
+==================================
+1. Configurator
+==================================
+To run this component, navigate to bin, and run j2g-configure
+
+This will automatically copy the contents of the ./plugins directory to ECLIPSE_HOME/plugins,

+as well as make changes (or create, if necessary) to ECLIPSE_HOME/configuration/config.ini.
+
+==================================
+2. Source Identification Tool
+==================================
+This tool parses through source code (.java and .jsp files) recursively in directories 
+passed to it as command line arguments. While doing this, it replaces any JBoss classes 
+and dependencies for which there are Geronimo equivalents. If there is no equivalent, it

+will alert the user of this issue which must be resolved either through manual creation 
+of a replacement class or rewriting the segment of code dependent on the JBoss class.
+
+ - Usage: jsrc2g -src <APPLICATION>\src -web <APPLICATION>\web -geronimo <GERONIMO_HOME>
+
+==================================
+3. Descriptors Conversion Tool
+==================================
+This tool converts JBoss specific deployment descriptors and J2EE standard deployment 
+descriptors (if necessary) to their Geronimo equivalents.
+
+ - Usage: jdesc2g <APPLICATION>
+
+==================================
+4. Resource Conversion Tool
+==================================
+This tool converts JBoss specific resources, such as Java Messaging Services (JMS) Queues,

+JMS Topics, Java Database Connectivity (JDBC) data sources to their Geronimo equivalents.
+
+ - Usage: jres2g <APPLICATION>

Propchange: geronimo/sandbox/j2g/doc/readme.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/j2g/doc/readme.txt
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/j2g/doc/readme.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.common/pom.xml
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Wed Aug  1 08:05:12 2007
@@ -1 +1 @@
-Date Rev
+Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/pom.xml
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Wed Aug  1 08:05:12 2007
@@ -1 +1 @@
-Date Rev
+Date Author Id Revision HeadURL

Modified: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/commons-logging.properties
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/commons-logging.properties?view=diff&rev=561821&r1=561820&r2=561821
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/commons-logging.properties
(original)
+++ geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/commons-logging.properties
Wed Aug  1 08:05:12 2007
@@ -1,30 +1,30 @@
-/**
- *  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.
- */
- # Set root logger level to DEBUG and its only appender to console.
-log4j.rootLogger=INFO
-
-#define loggers
-#pluging logger
-log4j.logger.com.ibm.j2g= DEBUG,console
-
-# console is set to be a ConsoleAppender.
-log4j.appender.console=org.apache.log4j.ConsoleAppender
-
-# console uses PatternLayout.
-log4j.appender.console.layout=org.apache.log4j.PatternLayout
-#log4j.appender.console.layout.ConversionPattern=[%t] %-5p %l - %m%n
+/**
+ *  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.
+ */
+ # Set root logger level to DEBUG and its only appender to console.
+log4j.rootLogger=INFO
+
+#define loggers
+#pluging logger
+log4j.logger.com.ibm.j2g= DEBUG,console
+
+# console is set to be a ConsoleAppender.
+log4j.appender.console=org.apache.log4j.ConsoleAppender
+
+# console uses PatternLayout.
+log4j.appender.console.layout=org.apache.log4j.PatternLayout
+#log4j.appender.console.layout.ConversionPattern=[%t] %-5p %l - %m%n
 log4j.appender.console.layout.ConversionPattern=[%t] %-5p - %m%n

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/commons-logging.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/commons-logging.properties
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/commons-logging.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/app/ApplicationDescriptorTool.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/app/ApplicationDescriptorTool.java?view=diff&rev=561821&r1=561820&r2=561821
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/app/ApplicationDescriptorTool.java
(original)
+++ geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/app/ApplicationDescriptorTool.java
Wed Aug  1 08:05:12 2007
@@ -1,151 +1,151 @@
-/**
- *  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.
- */
-package org.apache.geronimo.j2g.descriptors.app;
-
-
-import java.io.File;
-import java.io.IOException;
-import java.util.Iterator;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.geronimo.j2g.common.ConsoleOutput;
-import org.apache.geronimo.j2g.common.IFileMigration;
-import org.apache.geronimo.j2g.common.IOutput;
-import org.apache.geronimo.j2g.common.Tool;
-import org.apache.geronimo.j2g.util.descriptors.Constants;
-import org.apache.geronimo.j2g.util.descriptors.security.SecurityElementProcessor;
-import org.apache.geronimo.j2g.util.descriptors.xml.XMLConversionHelper;
-import org.dom4j.Document;
-import org.dom4j.DocumentException;
-import org.dom4j.Element;
-import org.dom4j.QName;
-
-public class ApplicationDescriptorTool implements IFileMigration {
-
-    private IOutput out;
-
-    private String directoryName;
-
-    private Log logger = LogFactory.getLog(ApplicationDescriptorTool.class);
-
-    private SecurityElementProcessor securityElementProcessor;
-
-    public ApplicationDescriptorTool() {
-        Tool currentTool = Tool.getCurrent();
-        if (currentTool != null) {
-            out = currentTool.getOutput();
-        } else {
-            out = new ConsoleOutput();
-        }
-        securityElementProcessor = new SecurityElementProcessor();
-    }
-
-    public boolean migrate(File file, File rootDirectory) {
-        boolean migrated = false;
-            directoryName = file.getParent();
-            String jbossFileName = file.getName();
-            logger.debug("Directory Name ==> " + directoryName + " jboss file Name ==>
"
-                    + jbossFileName);
-
-            if (jbossFileName.equals(Constants.JBOSS_JBOSS_APPLICATION_XML_FILE)) {
-                out.info(ApplicationDescriptorTool.class.getSimpleName(), "Converting Jboss-app.xml
file in " + directoryName);
-                try {
-                    // check whether the jbosscmp-jdbc.xml file is present and
-                    // if so load it and process it.
-                    Document jbossDocument = XMLConversionHelper.getDocument(file);
-                    Document geronimoDocument = XMLConversionHelper.createNewGeronimoDocument(
-                            Constants.APPLICATION_NAME_SPACE, "application");
-                    migrate(jbossDocument.getRootElement(), geronimoDocument.getRootElement());
-                    String geronimoOpenEjbJarFileName = directoryName + File.separator
-                            + Constants.GERONIMO_APPLICATION_XML_FILE;
-                    XMLConversionHelper.saveGeronimoDocument(geronimoOpenEjbJarFileName,
-                            geronimoDocument);
-                    migrated = true;
-                    out.info(ApplicationDescriptorTool.class.getSimpleName(), "Successfully
migrated the Jboss-app.xml file in "
-                            + directoryName + ", with the error and warning messages as shown");
-                } catch (DocumentException e) {
-                	out.error(ApplicationDescriptorTool.class.getSimpleName(), "Error occured
while reading xml descriptor "
-                                + file.getAbsolutePath()
-                                + ". It is possible that the migrator cannot download the
xml schema or that the xml file has incorrect wrong syntax. Nested exception:" 
-                                + e.getMessage());
-                } catch (IOException e) {
-                    out.error(ApplicationDescriptorTool.class.getSimpleName(), "IO exception
" + e.getMessage());
-                }
-            } else if (jbossFileName.equals(Constants.APPLICATION_XML_FILE)){
-                out.info(ApplicationDescriptorTool.class.getSimpleName(), "Converting application.xml
file in " + directoryName);
-                out.info(ApplicationDescriptorTool.class.getSimpleName(), "Nothing to convert.
No changes required for this file");
-            }
-        return migrated;
-    }
-
-    private void migrate(Element jbossRootElement, Element geronimoRootElement) {
-
-        Element jbossRootChildElement;
-        for (Iterator iter = jbossRootElement.elements().iterator(); iter.hasNext();) {
-            jbossRootChildElement = (Element) iter.next();
-            if (jbossRootChildElement.getName().equals("security-domain")) {
-                securityElementProcessor.setSecurityDomain(jbossRootChildElement.getText());
-            } else if (jbossRootChildElement.getName().equals("unauthenticated-principal"))
{
-                // set the default principal in security element processor
-                securityElementProcessor.setDefaultPrincipal(jbossRootChildElement.getText());
-            } else if (jbossRootChildElement.getName().equals("security-role")) {
-                Element geronimoRoleMapping = securityElementProcessor
-                        .getGeronimoSecurityRoleElement(geronimoRootElement);
-                securityElementProcessor.migrateSecurityRole(jbossRootChildElement,
-                        geronimoRoleMapping);
-            } else {
-                out.warn(ApplicationDescriptorTool.class.getSimpleName(), "The Element '"
+ jbossRootChildElement.getName() + "' is not supported ",
-                        XMLConversionHelper.getLineNumber(jbossRootChildElement),
-                        XMLConversionHelper.getColumnNumber(jbossRootChildElement));
-                logger.debug("The Element '" + jbossRootChildElement.getName()
-                        + "' is not supported ");
-            }
-        }
-    }
-
-    private void migrateModule(Element jbossModule, Element geronimoModule) {
-
-        Element jbossModuleChildElement;
-        for (Iterator iter = jbossModule.elements().iterator(); iter.hasNext();) {
-            jbossModuleChildElement = (Element) iter.next();
-            if (jbossModuleChildElement.getName().equals("service")) {
-                // TODO: figure out properly
-                // for the moment we add connector element to replace the
-                // service
-                String serviceName = jbossModuleChildElement.getText();
-                String firstPart = serviceName.substring(0, serviceName.lastIndexOf("."));
-                // add conector element
-                QName qname = new QName("connector", geronimoModule.getNamespace());
-                Element connectorElement = geronimoModule.addElement(qname);
-                connectorElement.setText(firstPart + ".rar");
-
-                // add alt-dd element
-                qname = new QName("alt-dd", geronimoModule.getNamespace());
-                Element altDDElement = geronimoModule.addElement(qname);
-                altDDElement.setText(firstPart + ".xml");
-            } else {
-                out.warn(ApplicationDescriptorTool.class.getSimpleName(), "The Element '"
+ jbossModuleChildElement.getName()
-                        + "' is not supported ", XMLConversionHelper
-                        .getLineNumber(jbossModuleChildElement), XMLConversionHelper
-                        .getColumnNumber(jbossModuleChildElement));
-                logger.debug("The Element '" + jbossModuleChildElement.getName()
-                        + "' is not supported ");
-            }
-        }
-    }
-}
+/**
+ *  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.
+ */
+package org.apache.geronimo.j2g.descriptors.app;
+
+
+import java.io.File;
+import java.io.IOException;
+import java.util.Iterator;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.apache.geronimo.j2g.common.ConsoleOutput;
+import org.apache.geronimo.j2g.common.IFileMigration;
+import org.apache.geronimo.j2g.common.IOutput;
+import org.apache.geronimo.j2g.common.Tool;
+import org.apache.geronimo.j2g.util.descriptors.Constants;
+import org.apache.geronimo.j2g.util.descriptors.security.SecurityElementProcessor;
+import org.apache.geronimo.j2g.util.descriptors.xml.XMLConversionHelper;
+import org.dom4j.Document;
+import org.dom4j.DocumentException;
+import org.dom4j.Element;
+import org.dom4j.QName;
+
+public class ApplicationDescriptorTool implements IFileMigration {
+
+    private IOutput out;
+
+    private String directoryName;
+
+    private Log logger = LogFactory.getLog(ApplicationDescriptorTool.class);
+
+    private SecurityElementProcessor securityElementProcessor;
+
+    public ApplicationDescriptorTool() {
+        Tool currentTool = Tool.getCurrent();
+        if (currentTool != null) {
+            out = currentTool.getOutput();
+        } else {
+            out = new ConsoleOutput();
+        }
+        securityElementProcessor = new SecurityElementProcessor();
+    }
+
+    public boolean migrate(File file, File rootDirectory) {
+        boolean migrated = false;
+            directoryName = file.getParent();
+            String jbossFileName = file.getName();
+            logger.debug("Directory Name ==> " + directoryName + " jboss file Name ==>
"
+                    + jbossFileName);
+
+            if (jbossFileName.equals(Constants.JBOSS_JBOSS_APPLICATION_XML_FILE)) {
+                out.info(ApplicationDescriptorTool.class.getSimpleName(), "Converting Jboss-app.xml
file in " + directoryName);
+                try {
+                    // check whether the jbosscmp-jdbc.xml file is present and
+                    // if so load it and process it.
+                    Document jbossDocument = XMLConversionHelper.getDocument(file);
+                    Document geronimoDocument = XMLConversionHelper.createNewGeronimoDocument(
+                            Constants.APPLICATION_NAME_SPACE, "application");
+                    migrate(jbossDocument.getRootElement(), geronimoDocument.getRootElement());
+                    String geronimoOpenEjbJarFileName = directoryName + File.separator
+                            + Constants.GERONIMO_APPLICATION_XML_FILE;
+                    XMLConversionHelper.saveGeronimoDocument(geronimoOpenEjbJarFileName,
+                            geronimoDocument);
+                    migrated = true;
+                    out.info(ApplicationDescriptorTool.class.getSimpleName(), "Successfully
migrated the Jboss-app.xml file in "
+                            + directoryName + ", with the error and warning messages as shown");
+                } catch (DocumentException e) {
+                	out.error(ApplicationDescriptorTool.class.getSimpleName(), "Error occured
while reading xml descriptor "
+                                + file.getAbsolutePath()
+                                + ". It is possible that the migrator cannot download the
xml schema or that the xml file has incorrect wrong syntax. Nested exception:" 
+                                + e.getMessage());
+                } catch (IOException e) {
+                    out.error(ApplicationDescriptorTool.class.getSimpleName(), "IO exception
" + e.getMessage());
+                }
+            } else if (jbossFileName.equals(Constants.APPLICATION_XML_FILE)){
+                out.info(ApplicationDescriptorTool.class.getSimpleName(), "Converting application.xml
file in " + directoryName);
+                out.info(ApplicationDescriptorTool.class.getSimpleName(), "Nothing to convert.
No changes required for this file");
+            }
+        return migrated;
+    }
+
+    private void migrate(Element jbossRootElement, Element geronimoRootElement) {
+
+        Element jbossRootChildElement;
+        for (Iterator iter = jbossRootElement.elements().iterator(); iter.hasNext();) {
+            jbossRootChildElement = (Element) iter.next();
+            if (jbossRootChildElement.getName().equals("security-domain")) {
+                securityElementProcessor.setSecurityDomain(jbossRootChildElement.getText());
+            } else if (jbossRootChildElement.getName().equals("unauthenticated-principal"))
{
+                // set the default principal in security element processor
+                securityElementProcessor.setDefaultPrincipal(jbossRootChildElement.getText());
+            } else if (jbossRootChildElement.getName().equals("security-role")) {
+                Element geronimoRoleMapping = securityElementProcessor
+                        .getGeronimoSecurityRoleElement(geronimoRootElement);
+                securityElementProcessor.migrateSecurityRole(jbossRootChildElement,
+                        geronimoRoleMapping);
+            } else {
+                out.warn(ApplicationDescriptorTool.class.getSimpleName(), "The Element '"
+ jbossRootChildElement.getName() + "' is not supported ",
+                        XMLConversionHelper.getLineNumber(jbossRootChildElement),
+                        XMLConversionHelper.getColumnNumber(jbossRootChildElement));
+                logger.debug("The Element '" + jbossRootChildElement.getName()
+                        + "' is not supported ");
+            }
+        }
+    }
+
+    private void migrateModule(Element jbossModule, Element geronimoModule) {
+
+        Element jbossModuleChildElement;
+        for (Iterator iter = jbossModule.elements().iterator(); iter.hasNext();) {
+            jbossModuleChildElement = (Element) iter.next();
+            if (jbossModuleChildElement.getName().equals("service")) {
+                // TODO: figure out properly
+                // for the moment we add connector element to replace the
+                // service
+                String serviceName = jbossModuleChildElement.getText();
+                String firstPart = serviceName.substring(0, serviceName.lastIndexOf("."));
+                // add conector element
+                QName qname = new QName("connector", geronimoModule.getNamespace());
+                Element connectorElement = geronimoModule.addElement(qname);
+                connectorElement.setText(firstPart + ".rar");
+
+                // add alt-dd element
+                qname = new QName("alt-dd", geronimoModule.getNamespace());
+                Element altDDElement = geronimoModule.addElement(qname);
+                altDDElement.setText(firstPart + ".xml");
+            } else {
+                out.warn(ApplicationDescriptorTool.class.getSimpleName(), "The Element '"
+ jbossModuleChildElement.getName()
+                        + "' is not supported ", XMLConversionHelper
+                        .getLineNumber(jbossModuleChildElement), XMLConversionHelper
+                        .getColumnNumber(jbossModuleChildElement));
+                logger.debug("The Element '" + jbossModuleChildElement.getName()
+                        + "' is not supported ");
+            }
+        }
+    }
+}

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/app/ApplicationDescriptorTool.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/app/ApplicationDescriptorTool.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/j2g/plugins/org.apache.geronimo.j2g.descriptors/src/org/apache/geronimo/j2g/descriptors/app/ApplicationDescriptorTool.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message