You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2010/04/06 22:01:33 UTC
[jira] Created: (GERONIMO-5231) Override JVM libraries with newer
versions
Override JVM libraries with newer versions
------------------------------------------
Key: GERONIMO-5231
URL: https://issues.apache.org/jira/browse/GERONIMO-5231
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: buildsystem
Affects Versions: 3.0
Reporter: Jarek Gawor
Assignee: Jarek Gawor
Fix For: 3.0
In some cases, Java EE 6 requires newer library versions then what is provided by Java SE 6. For example, EE 6 requires annotations 1.1 api but SE 6 provides annotation 1.0 api. So it is necessary that during a build we override the JVM provided libraries with newer versions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-5231) Override JVM libraries with newer
versions
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854614#action_12854614 ]
Jarek Gawor commented on GERONIMO-5231:
---------------------------------------
In revision 931626 I added a "boolean listFiles" option so that the set property could contain files or directories. So for example, if you want the geronimo-property-plugin to set "-Djava.endorsed.dirs" property configure the plugin with:
{code}
<propertyValuePrefix>-Djava.endorsed.dirs=</propertyValuePrefix>
<listFiles>false</listFiles>
{code}
If you want the plugin to set "-Xbootclasspath/p:" property configure the plugin with:
{code}
<propertyValuePrefix>-Xbootclasspath/p:</propertyValuePrefix>
<listFiles>true</listFiles>
{code}
> Override JVM libraries with newer versions
> ------------------------------------------
>
> Key: GERONIMO-5231
> URL: https://issues.apache.org/jira/browse/GERONIMO-5231
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: buildsystem
> Affects Versions: 3.0
> Reporter: Jarek Gawor
> Assignee: Jarek Gawor
> Fix For: 3.0
>
>
> In some cases, Java EE 6 requires newer library versions then what is provided by Java SE 6. For example, EE 6 requires annotations 1.1 api but SE 6 provides annotation 1.0 api. So it is necessary that during a build we override the JVM provided libraries with newer versions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (GERONIMO-5231) Override JVM libraries
with newer versions
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854189#action_12854189 ]
Jarek Gawor edited comment on GERONIMO-5231 at 4/7/10 5:39 PM:
---------------------------------------------------------------
Committed a basic solution in revision 931319. In that solution I created a geronimo-property-plugin which executes in the "validate" phase and sets "bootClassPath" system property. The value of "bootClassPath" property is set to -Xbootclasspath/p:<path><pathSeparator><path>... string where each <path> is the jar file to prepend to boot classpath. The "bootClassPath" property is then used in maven-compiler-plugin and maven-surefire-plugin and passed as a java/javac argument.
was (Author: gawor@mcs.anl.gov):
Committed a basic solution in revision 931319. In that solution I created a maven-property-plugin which executes in the "validate" phase and sets "bootClassPath" system property. The value of "bootClassPath" property is set to -Xbootclasspath/p:<path><pathSeparator><path>... string where each <path> is the jar file to prepend to boot classpath. The "bootClassPath" property is then used in maven-compiler-plugin and maven-surefire-plugin and passed as a java/javac argument.
> Override JVM libraries with newer versions
> ------------------------------------------
>
> Key: GERONIMO-5231
> URL: https://issues.apache.org/jira/browse/GERONIMO-5231
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: buildsystem
> Affects Versions: 3.0
> Reporter: Jarek Gawor
> Assignee: Jarek Gawor
> Fix For: 3.0
>
>
> In some cases, Java EE 6 requires newer library versions then what is provided by Java SE 6. For example, EE 6 requires annotations 1.1 api but SE 6 provides annotation 1.0 api. So it is necessary that during a build we override the JVM provided libraries with newer versions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-5231) Override JVM libraries with newer
versions
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854189#action_12854189 ]
Jarek Gawor commented on GERONIMO-5231:
---------------------------------------
Committed a basic solution in revision 931319. In that solution I created a maven-property-plugin which executes in the "validate" phase and sets "bootClassPath" system property. The value of "bootClassPath" property is set to -Xbootclasspath/p:<path><pathSeparator><path>... string where each <path> is the jar file to prepend to boot classpath. The "bootClassPath" property is then used in maven-compiler-plugin and maven-surefire-plugin and passed as a java/javac argument.
> Override JVM libraries with newer versions
> ------------------------------------------
>
> Key: GERONIMO-5231
> URL: https://issues.apache.org/jira/browse/GERONIMO-5231
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: buildsystem
> Affects Versions: 3.0
> Reporter: Jarek Gawor
> Assignee: Jarek Gawor
> Fix For: 3.0
>
>
> In some cases, Java EE 6 requires newer library versions then what is provided by Java SE 6. For example, EE 6 requires annotations 1.1 api but SE 6 provides annotation 1.0 api. So it is necessary that during a build we override the JVM provided libraries with newer versions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.