[ http://jira.codehaus.org/browse/MIDEA-3?page=all ]

Jason van Zyl moved MANTRUN-11 to MIDEA-3:
------------------------------------------

        Key: MIDEA-3  (was: MANTRUN-11)
    Project: Maven 2.x Idea Plugin  (was: Maven 2.x Antrun Plugin)

> adjust assert and generics settings according to JDK used
> ---------------------------------------------------------
>
>          Key: MIDEA-3
>          URL: http://jira.codehaus.org/browse/MIDEA-3
>      Project: Maven 2.x Idea 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]

Reply via email to