You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Arik Kfir (JIRA)" <ji...@codehaus.org> on 2005/10/25 05:31:11 UTC

[jira] Commented: (MNG-1314) The default project-jdk-name in project.ipr doesn't work when used on Idea when jdkName is not specified in pom

    [ http://jira.codehaus.org/browse/MNG-1314?page=comments#action_49212 ] 

Arik Kfir commented on MNG-1314:
--------------------------------

Yes this happens to me too. What I did was to rename my IDEA jdk name (not in the project) to the convention m2 uses...but it would be much better if the plugin figured out the jdk automatically

> The default project-jdk-name  in project.ipr doesn't work when used on Idea  when jdkName is not specified in pom
> -----------------------------------------------------------------------------------------------------------------
>
>          Key: MNG-1314
>          URL: http://jira.codehaus.org/browse/MNG-1314
>      Project: Maven 2
>         Type: Bug
>   Components: maven-idea-plugin
>     Reporter: Johnny R. Ruiz III
>     Assignee: Johnny R. Ruiz III
>      Fix For: 2.0.1

>
>
> When jdkName is not specified in configuration of idea:idea,  the default java version is used.  It creates an entry in project.ipr that is not working.
> <component name="ProjectRootManager" version="2" assert-keyword="false" jdk-15="false" project-jdk-name="java version 1.4.2_08" />  --> this doesn't work
> <component name="ProjectRootManager" version="2" assert-keyword="true" jdk-15="false" project-jdk-name="java version &quot;1.4.2_08&quot;" />  -->  this worked.
> Does anyone experience the same problem?  I'll create a patch for this, might be useful if this is really an error.  

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org