[ http://jira.codehaus.org/browse/MANTRUN-11?page=all ]
Jason van Zyl moved MNG-1000 to MANTRUN-11:
-------------------------------------------
Fix Version: (was: 2.0.1)
type: Bug (was: Improvement)
Component: (was: maven-idea-plugin)
Workflow: jira (was: Maven)
Key: MANTRUN-11 (was: MNG-1000)
Project: Maven 2.x Antrun Plugin (was: Maven 2)
> adjust assert and generics settings according to JDK used
> ---------------------------------------------------------
>
> Key: MANTRUN-11
> URL: http://jira.codehaus.org/browse/MANTRUN-11
> Project: Maven 2.x Antrun Plugin
> Type: Bug
> Reporter: Brett Porter
> Assignee: Brett Porter
> Attachments: MNG-1000-maven-idea-plugin.patch
>
>
> <maven:get plugin="maven-java-plugin" property="maven.compile.source"
> var="jdkLevel" />
> <j:if test="${empty(jdkLevel)}">
> <j:set var="jdkLevel" value="${java.specification.version}" />
> </j:if>
> <j:choose>
> <j:when test="${jdkLevel == '1.4'}">
> <component name="ProjectRootManager" version="2" assert-keyword="true"
> jdk-15="false"/>
> </j:when>
> <j:when test="${jdkLevel.compareTo('1.5') >= 0}">
> <component name="ProjectRootManager" version="2" assert-keyword="true"
> jdk-15="true"/>
> </j:when>
> <j:otherwise>
> <component name="ProjectRootManager" version="2"
> assert-keyword="false"/>
> </j:otherwise>
> </j:choose>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]