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

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

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
 Assigned to: 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


[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

Posted by "Arik Kfir (JIRA)" <ji...@codehaus.org>.
    [ 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


[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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1314?page=comments#action_49216 ] 

Brett Porter commented on MNG-1314:
-----------------------------------

additionally, IDEA 5.0 uses yet another format by default. we could support that by a configuration option (and possibly make it the default since its the current release).

> 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


[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

Posted by "Johnny R. Ruiz III (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1314?page=comments#action_49219 ] 

Johnny R. Ruiz III commented on MNG-1314:
-----------------------------------------

Anyone knows the default format for IDEA 5.0?   

> 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


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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1314?page=all ]
     
Brett Porter closed MNG-1314:
-----------------------------

    Resolution: Fixed

> 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
>  Attachments: MNG-1314-maven-idea-plugin.patch
>
>
> 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


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

Posted by "Johnny R. Ruiz III (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1314?page=all ]

Johnny R. Ruiz III updated MNG-1314:
------------------------------------

    Attachment: MNG-1314-maven-idea-plugin.patch

I have created a patch for this.

-  By default it will use the project-jdk-name format from Idea version 5.0.1 which is  "1.4" or "1.5".  
-  You can set argument -DideaVersion=4.xxx   to use the format "java version &quot;1.4.2_08&quot;"

Please apply.  Thanks.



> 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
>  Attachments: MNG-1314-maven-idea-plugin.patch
>
>
> 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