diff --git a/jdeveloper/.cvsignore b/jdeveloper/.cvsignore new file mode 100644 index 00000000..27817184 --- /dev/null +++ b/jdeveloper/.cvsignore @@ -0,0 +1,3 @@ +target +velocity.log +maven.log \ No newline at end of file diff --git a/jdeveloper/plugin.jelly b/jdeveloper/plugin.jelly new file mode 100644 index 00000000..e13c77c0 --- /dev/null +++ b/jdeveloper/plugin.jelly @@ -0,0 +1,397 @@ + + + + + + + + + + + Creating ${basedir}/${pom.artifactId}.jpr... + + + + + ${pom.package} + + ${pom.package} + + + + ${maven.jdeveloper.workspace}-${maven.war.final.name} + ${maven.jdeveloper.workspace}-${ear.bundle.war.context-root} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + false + ${lib.dependency.artifactId} + + + + + + Development + + + oracle.bm.commonIde.data.project.ModelerProjectSettings + + + + + + + + + + oracle.jdeveloper.compiler.ant.AntConfiguration + + + + + + true + + + + + + Development + + + + oracle.jdeveloper.compiler.OjcConfiguration + + false + + .gif + .properties + .jpg + .jpeg + .xml + -apf.xml + + Cp1252 + true + + false + false + true + false + false + true + false + true + Default + false + false + + + + oracle.jdeveloper.javadoc.JProjectJavadoc + + false + true + true + true + true + true + false + 32 + + false + + -protected + + + + oracle.jdeveloper.runner.RunConfiguration + + client + false + false + false + true + + + true + true + true + true + + true + + + true + + + + + oracle.jdevimpl.config.JProjectLibraries + + j2sdk 1.4.1 + 1.4.1 + + + JDeveloper Runtime; + + ${dep.artifactId}; + + + ${path} + + + + + oracle.jdevimpl.config.JProjectPaths + + + + + + + + + oracle.jdevimpl.idl.config.IdlConfiguration + + false + false + false + false + false + false + false + false + false + + + + + oracle.jdevimpl.runner.codecoach.CCConfiguration + + ALL + com;java;javax;sun;sunw;org;oracle + + 4 + + + + oracle.jdevimpl.runner.debug.DebugConfiguration + + -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=<port> + -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=<port> + -XXdebug,quiet,port<port> + workspace + false + + false + ojvm + running + java;javax;sun;sunw;com.sun;org.xml.sax + + + + + oracle.jdevimpl.runner.profile.ProfileConfiguration + + 20000 + 0 + + true + true + true + true + true + true + + G(All events;(G(VM Events;(E(0;GC;-16776961;1);E(10;Wait;-65485;0);E(11;Synch Blocks 0;-39322;0);E(12;Synch Blocks 1;-39322;0);E(13;Synch Blocks 2;-39322;0);E(20;Prepare Class;-16751002;0);E(21;Load Class;-16724992;0);E(22;Resolve Class;-16737997;0);));G(BC4J Events;(E(1000;JBO_MISCELLANEOUS;-4144960;1);E(1001;JDBC_SELECT;-256;1);E(1002;JDBC_CREATE_STATEMENT;-256;1);E(1003;JDBC_CONNECT;-256;1);E(1004;JDBC_CREATE_PREPARED_STATEMENT;-256;1);E(1005;JDBC_EXECUTE;-256;1);E(1006;METAOBJECT_LOAD;-65281;1);E(1007;EXECUTE_QUERY;-16776961;1);E(1008;BC4J_CREATE_COMPOBJ;-65281;0);E(1009;BC4J_CREATE_ROOTAM;-65281;1);E(1010;BC4J_CREATE_VIEWOBJECT;-65281;0);E(1011;BC4J_CREATE_AM;-65281;0);E(1012;BC4J_CREATE_VIEWLINK;-65281;0);E(1013;SQLB_DOENTITYDML;-16776961;1);E(1014;SQLB_DOENTITYSELECT;-16776961;1);E(1015;VIEWOBJECT_GETSTATEMENT;-16776961;1);E(1016;REMOTE_METHOD_CALL;-65536;1);));)); + java;javax;sun;sunw;com;oracle + + + + true + + true + true + true + true + true + true + true + true + true + true + + 10 + + false + 4000 + + true + true + true + true + true + true + true + + 5 + 20 + false + + + + oracle.jdevimpl.sqlj.config.SqljConfiguration + + false + oracle + + false + false + false + false + false + false + false + + + + WebappJspCompilerOptions + + false + + + + + + + + + + + + + + + + + + + useDynamicPaths + true + + + + + ${pom.organization.name} + ${pom.organization.name} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/jdeveloper/plugin.properties b/jdeveloper/plugin.properties new file mode 100644 index 00000000..f2b2d343 --- /dev/null +++ b/jdeveloper/plugin.properties @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------- +# P L U G I N P R O P E R I E S +# ------------------------------------------------------------------- +# JDeveloper plugin. +# ------------------------------------------------------------------- + +# Define project properties +maven.jdeveloper.workspache=WPS +maven.jdeveloper.relative.path=../../.. +maven.jdeveloper.maven.home=contrib/maven-1.0-beta-7 + +# Enable J2EE stuff +maven.war.final.name=${pom.artifactId} +ear.bundle.war.context-root=${pom.artifactId} + diff --git a/jdeveloper/project.properties b/jdeveloper/project.properties new file mode 100644 index 00000000..5e723259 --- /dev/null +++ b/jdeveloper/project.properties @@ -0,0 +1,5 @@ +# ------------------------------------------------------------------- +# P R O J E C T P R O P E R T I E S +# ------------------------------------------------------------------- +maven.xdoc.date=left +maven.xdoc.version=${pom.currentVersion} \ No newline at end of file diff --git a/jdeveloper/project.xml b/jdeveloper/project.xml new file mode 100644 index 00000000..53b8b45f --- /dev/null +++ b/jdeveloper/project.xml @@ -0,0 +1,123 @@ + + + + ${basedir}/../project.xml + 3 + maven-jdeveloper-plugin + Maven Jdevelper Plug-in + 1.0-SNAPSHOT + 2002 + + + A plugin to generate various files for Oracle's JDeveloper IDE and ease the use of + Maven within that environment + + + JDeveloper Plugin for Maven + + http://jakarta.apache.org/turbine/maven/reference/plugins/jdeveloper/ + http://jira.werken.com/BrowseProject.jspa?id=10030 + jakarta.apache.org + /www/jakarta.apache.org/turbine/maven/reference/plugins/jdeveloper/ + /www/jakarta.apache.org/builds/jakarta-turbine-maven/ + + + scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:jakarta-turbine-maven/src/plugins-build/jdeveloper + http://cvs.apache.org/viewcvs/jakarta-turbine-maven/src/plugins-build/jdeveloper/ + + + + + Tobias Rademacher + tradem + toby-wan-kenobi@web.de + GROB Werke + + Java Developer + + + + + + + + ant + 1.5.1 + + root + + + + + dom4j + 1.4-dev-8 + + + + commons-grant + 1.0-beta-4 + + + + commons-jelly + SNAPSHOT + + + + commons-jelly+tags-jsl + SNAPSHOT + + root.maven + + + + + commons-jelly+tags-log + SNAPSHOT + + root.maven + + + + + commons-jelly+tags-velocity + SNAPSHOT + + root.maven + + + + + commons-jelly + commons-jelly-tags-xml + SNAPSHOT + http://jakarta.apache.org/commons/sandbox/jelly/tags/xml/ + + root.maven + + + + + maven + b8 + maven.jar + + + + velocity + 1.3 + + root.maven + + + + + velocity-dvsl + 0.45 + + root.maven + + + + + diff --git a/jdeveloper/xdocs/changes.xml b/jdeveloper/xdocs/changes.xml new file mode 100644 index 00000000..79b4e95d --- /dev/null +++ b/jdeveloper/xdocs/changes.xml @@ -0,0 +1,19 @@ + + + + Changes + Tobias Radmeacher + + + + + + Created plugin + + + Added documenation + + + + + diff --git a/jdeveloper/xdocs/goals.xml b/jdeveloper/xdocs/goals.xml new file mode 100644 index 00000000..3144d6d7 --- /dev/null +++ b/jdeveloper/xdocs/goals.xml @@ -0,0 +1,37 @@ + + + + + Jdeveloper Plugin Goals + Tobias Rademacher + + + + + + jdeveloper + + The default goal. This goal simply executes the + jdeveloper:generate-project goal + + + + + jdeveloper:generate-project + + Generates a .jpr file for JDevelopr describing + the project and adding the dependencies. +
    +
  1. the build source directory
  2. +
  3. the build unit test source directory
  4. +
  5. each Maven project dependency
  6. +
  7. an output directory for compiled code: + target\jdeveloper-classes +
  8. +
+
+
+
+ + +
diff --git a/jdeveloper/xdocs/index.xml b/jdeveloper/xdocs/index.xml new file mode 100644 index 00000000..9deb1f38 --- /dev/null +++ b/jdeveloper/xdocs/index.xml @@ -0,0 +1,26 @@ + + + + + Maven JDeveloper Plugin + Tobias Rademacher + + + +
+

+ This plug-in provides the ability to generate JDeveloper project files + (.JPR). +

+

+ For more information on the functionality provided by this plugin, + please see the Goals document. +

+

+ For more information on how to customise the functionality provided + by this plugin, please see the properties + document. +

+
+ +
diff --git a/jdeveloper/xdocs/navigation.xml b/jdeveloper/xdocs/navigation.xml new file mode 100644 index 00000000..1e79afc2 --- /dev/null +++ b/jdeveloper/xdocs/navigation.xml @@ -0,0 +1,16 @@ + + + + Maven JDeveloper Plugin + + + + + + + + + + + + diff --git a/jdeveloper/xdocs/properties.xml b/jdeveloper/xdocs/properties.xml new file mode 100644 index 00000000..dd609231 --- /dev/null +++ b/jdeveloper/xdocs/properties.xml @@ -0,0 +1,75 @@ + + + + + JDeveloper Plugin Properties + Tobias Rademacher + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
PropertyOptional?Description
maven.jdeveloper.workspacheYes +

+ The workspache to which your project belongs. This is used + to generate J2EE-Webapp names. +

+
maven.jdeveloper.relative.pathNo +

+ Stupidly JDeveloper access dependency JAR files with a realtive path. + This path points to your $MAVE_HOME directory relative from your + JDeveloper Installation directory. Normaly this look like ../../ + or similar depending where you have installed maven and the JDeveloper IDE. +

+

+ The complete path of a depending JAR is generate with: +

+
    +
  1. maven.jdeveloper.relative.path
  2. +
  3. maven.jdeveloper.maven.home
  4. +
  5. repository information
  6. +
+
maven.jdeveloper.maven.homeNo +

+ The name of your $MAVEN_HOME directory for instance maven-1.0-beta-7 +

+

+ The complete path of a depending JAR is generate with: +

+
    +
  1. maven.jdeveloper.relative.path
  2. +
  3. maven.jdeveloper.maven.home
  4. +
  5. repository information
  6. +
+
maven.war.final.nameYes +

+ The name of the Web Applicaion (if it is a web app). +

+
+

+ A good place to set this property is the build.propeties file in user.home directory. +

+
+ +