[jira] Updated: (MIDEA-102) Module filepath is generated incorrectly for sibling parent

2008-06-25 Thread Daniel Frey (JIRA)

 [ 
http://jira.codehaus.org/browse/MIDEA-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Frey updated MIDEA-102:
--

Attachment: maven-idea-plugin-MIDEA-102-2.patch

For me this issue is open for the described file structure (see comments 
above). However, a slightly altered patch works fine. Please find it attached.

> Module filepath is generated incorrectly for sibling parent
> ---
>
> Key: MIDEA-102
> URL: http://jira.codehaus.org/browse/MIDEA-102
> Project: Maven 2.x IDEA Plugin
>  Issue Type: Bug
>Affects Versions: 2.1
> Environment: $ mvn -v
> Maven version: 2.0.7
> Java version: 1.5.0_11
> OS name: "windows xp" version: "5.1" arch: "x86"
> cygwin
>Reporter: Joern Huxhorn
>Assignee: Dennis Lundberg
> Fix For: 2.2
>
> Attachments: maven-idea-plugin-MIDEA-102-2.patch, 
> maven-idea-plugin-MIDEA-102.patch
>
>
> I have a multi-module mvn project.
> When I do an mvn idea:clean idea:idea, the following ProjectModuleManager 
> snippet in the top level .ipr is generated:
>  
>  
> 
>   
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/domain/gateway-domain.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/instruction-store/gateway-instruction-store.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/parser/gateway-parser.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/psrgeneration/gateway-psr-generation.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/output/gateway-output.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/destination-resolver/gateway-destination-resolver.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/choreography/gateway-choreography.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/presentation/gateway-presentation.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/assembly/gateway-assembly.iml"/>
>  
>   
> The $PROJECT_DIR in this case is C:/dev/voca/gateway/.
> But this path is being appended in a hard-coded fashion after the 
> $PROJECT_DIR entry.
> The symptom in Intellij is the following error message:
> Cannot load module: File 
> C:\dev\voca\gateway\C:\dev\voca\gateway\domain\gateway-domain.iml does not 
> exist
> Would you like to remove the module from the project?
> The workaround is to delete the extra appended file path from each module 
> entry in the above mentioned snippet.

-- 
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




[jira] Created: (MANTRUN-84) Taskdef classpath not reolved

2008-03-20 Thread Daniel Frey (JIRA)
Taskdef classpath not reolved
-

 Key: MANTRUN-84
 URL: http://jira.codehaus.org/browse/MANTRUN-84
 Project: Maven 2.x Antrun Plugin
  Issue Type: Bug
Affects Versions: 1.1
 Environment: Maven version: 2.0.7
Java version: 1.6.0_05
OS name: "windows xp" version: "5.1" arch: "x86"
Apache Ant version 1.7.0 compiled on December 13 2006
Reporter: Daniel Frey
 Attachments: test.zip

Trying to run an antrun tast ReplaceRegExp that relies on ant-optional and a 
regular expression parser using Java 1.6. I have included a ZIP with the 
relevant files for a testcase as follows:

0. Running with JDK 1.6 and Maven 2.0.7
1. The pom.xml contains an antrun task that tries to replace some values in a 
given file.
2. Running the test with "mvn package" fails with the error "No supported 
regular expression matcher found".
3. Decommenting the property line in pom.xml does lead to another error 
"ClassNotFoundException: org.apache.tools.ant.util.regexp.JakartaOroRegexp"

On the other hand running the same task in ant 1.7 runs perfectly (as long as 
the property line is not decommented).

Please try to reproduce the error.

Thanks

-- 
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




[jira] Commented: (MIDEA-102) Module filepath is generated incorrectly for sibling parent

2008-03-14 Thread Daniel Frey (JIRA)

[ 
http://jira.codehaus.org/browse/MIDEA-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_127278
 ] 

Daniel Frey commented on MIDEA-102:
---

Just tested it with maven-idea-plugin-2.2-20080308.204124-6. For me, this issue 
(http://jira.codehaus.org/browse/MIDEA-102#action_122161) stays open. Nothing 
has changed. I get exactly the same result as with 2.1.

> Module filepath is generated incorrectly for sibling parent
> ---
>
> Key: MIDEA-102
> URL: http://jira.codehaus.org/browse/MIDEA-102
> Project: Maven 2.x IDEA Plugin
>  Issue Type: Bug
>Affects Versions: 2.1
> Environment: $ mvn -v
> Maven version: 2.0.7
> Java version: 1.5.0_11
> OS name: "windows xp" version: "5.1" arch: "x86"
> cygwin
>Reporter: Joern Huxhorn
>Assignee: Dennis Lundberg
> Fix For: 2.2
>
> Attachments: maven-idea-plugin-MIDEA-102.patch
>
>
> I have a multi-module mvn project.
> When I do an mvn idea:clean idea:idea, the following ProjectModuleManager 
> snippet in the top level .ipr is generated:
>  
>  
> 
>   
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/domain/gateway-domain.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/instruction-store/gateway-instruction-store.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/parser/gateway-parser.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/psrgeneration/gateway-psr-generation.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/output/gateway-output.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/destination-resolver/gateway-destination-resolver.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/choreography/gateway-choreography.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/presentation/gateway-presentation.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/assembly/gateway-assembly.iml"/>
>  
>   
> The $PROJECT_DIR in this case is C:/dev/voca/gateway/.
> But this path is being appended in a hard-coded fashion after the 
> $PROJECT_DIR entry.
> The symptom in Intellij is the following error message:
> Cannot load module: File 
> C:\dev\voca\gateway\C:\dev\voca\gateway\domain\gateway-domain.iml does not 
> exist
> Would you like to remove the module from the project?
> The workaround is to delete the extra appended file path from each module 
> entry in the above mentioned snippet.

-- 
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




[jira] Commented: (MECLIPSE-398) Remove files added by on clean

2008-03-10 Thread Daniel Frey (JIRA)

[ 
http://jira.codehaus.org/browse/MECLIPSE-398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126693
 ] 

Daniel Frey commented on MECLIPSE-398:
--

 A workaround would be to be able to execute additional commands at the 
eclipse:clean goal - i.e. with the antrun plugin. Is this possible?

> Remove files added by  on clean
> -
>
> Key: MECLIPSE-398
> URL: http://jira.codehaus.org/browse/MECLIPSE-398
> Project: Maven 2.x Eclipse Plugin
>  Issue Type: Bug
>Affects Versions: 2.4
> Environment: Windows XP Professional SP 2, Java 1.6.0_03-b05
>Reporter: Daniel Frey
>
> Files generated with the  should be deleted on 
> eclipse:clean automatically.

-- 
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




[jira] Created: (MECLIPSE-398) Remove files added by on clean

2008-03-10 Thread Daniel Frey (JIRA)
Remove files added by  on clean
-

 Key: MECLIPSE-398
 URL: http://jira.codehaus.org/browse/MECLIPSE-398
 Project: Maven 2.x Eclipse Plugin
  Issue Type: Bug
Affects Versions: 2.4
 Environment: Windows XP Professional SP 2, Java 1.6.0_03-b05
Reporter: Daniel Frey


Files generated with the  should be deleted on 
eclipse:clean automatically.

-- 
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




[jira] Commented: (MIDEA-102) CLONE -still broken - Module filepath is generated incorrectly

2008-02-02 Thread Daniel Frey (JIRA)

[ 
http://jira.codehaus.org/browse/MIDEA-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_122161
 ] 

Daniel Frey commented on MIDEA-102:
---

Hi there

I just tested it with the 2.2-SNAPSHOT and got a wrong result! My project 
structure is:

ch.ki.ras/
ch.ki.ras.monitor/
ch.ki.ras.om/

where the first directory contains the master POM. What I get in the project 
file ch.ki.ras/ch.ki.ras.ipr is 





So not only the path is not relative to the main POM, but also the path 
information is trucated. Instead it should be 





Would be wunderful to get a new SNAPSHOT soon!

Thanks
Daniel Frey

> CLONE -still broken - Module filepath is generated incorrectly
> --
>
> Key: MIDEA-102
> URL: http://jira.codehaus.org/browse/MIDEA-102
> Project: Maven 2.x IDEA Plugin
>  Issue Type: Bug
>Affects Versions: 2.1
> Environment: $ mvn -v
> Maven version: 2.0.7
> Java version: 1.5.0_11
> OS name: "windows xp" version: "5.1" arch: "x86"
> cygwin
>Reporter: Joern Huxhorn
>Assignee: Dennis Lundberg
> Fix For: 2.2
>
> Attachments: maven-idea-plugin-MIDEA-102.patch
>
>
> I have a multi-module mvn project.
> When I do an mvn idea:clean idea:idea, the following ProjectModuleManager 
> snippet in the top level .ipr is generated:
>  
>  
> 
>   
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/domain/gateway-domain.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/instruction-store/gateway-instruction-store.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/parser/gateway-parser.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/psrgeneration/gateway-psr-generation.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/output/gateway-output.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/destination-resolver/gateway-destination-resolver.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/choreography/gateway-choreography.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/presentation/gateway-presentation.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/assembly/gateway-assembly.iml"/>
>  
>   
> The $PROJECT_DIR in this case is C:/dev/voca/gateway/.
> But this path is being appended in a hard-coded fashion after the 
> $PROJECT_DIR entry.
> The symptom in Intellij is the following error message:
> Cannot load module: File 
> C:\dev\voca\gateway\C:\dev\voca\gateway\domain\gateway-domain.iml does not 
> exist
> Would you like to remove the module from the project?
> The workaround is to delete the extra appended file path from each module 
> entry in the above mentioned snippet.

-- 
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




[jira] Issue Comment Edited: (MIDEA-102) CLONE -still broken - Module filepath is generated incorrectly

2008-02-02 Thread Daniel Frey (JIRA)

[ 
http://jira.codehaus.org/browse/MIDEA-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_122161
 ] 

daniel.frey edited comment on MIDEA-102 at 2/2/08 3:44 PM:
---

Hi there

I just tested it with the 2.2-SNAPSHOT and got a wrong result! My project 
structure is:

ch.ki.ras/
ch.ki.ras.monitor/
ch.ki.ras.om/

where the first directory contains the master POM. What I get in the project 
file ch.ki.ras/ch.ki.ras.ipr is 





So not only the path is not relative to the main POM, but also the path 
information is trucated. Instead it should be 






Would be wunderful to get a new SNAPSHOT soon!

Thanks
Daniel Frey

  was (Author: daniel.frey):
Hi there

I just tested it with the 2.2-SNAPSHOT and got a wrong result! My project 
structure is:

ch.ki.ras/
ch.ki.ras.monitor/
ch.ki.ras.om/

where the first directory contains the master POM. What I get in the project 
file ch.ki.ras/ch.ki.ras.ipr is 





So not only the path is not relative to the main POM, but also the path 
information is trucated. Instead it should be 





Would be wunderful to get a new SNAPSHOT soon!

Thanks
Daniel Frey
  
> CLONE -still broken - Module filepath is generated incorrectly
> --
>
> Key: MIDEA-102
> URL: http://jira.codehaus.org/browse/MIDEA-102
> Project: Maven 2.x IDEA Plugin
>  Issue Type: Bug
>Affects Versions: 2.1
> Environment: $ mvn -v
> Maven version: 2.0.7
> Java version: 1.5.0_11
> OS name: "windows xp" version: "5.1" arch: "x86"
> cygwin
>Reporter: Joern Huxhorn
>Assignee: Dennis Lundberg
> Fix For: 2.2
>
> Attachments: maven-idea-plugin-MIDEA-102.patch
>
>
> I have a multi-module mvn project.
> When I do an mvn idea:clean idea:idea, the following ProjectModuleManager 
> snippet in the top level .ipr is generated:
>  
>  
> 
>   
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/domain/gateway-domain.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/instruction-store/gateway-instruction-store.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/parser/gateway-parser.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/psrgeneration/gateway-psr-generation.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/output/gateway-output.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/destination-resolver/gateway-destination-resolver.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/choreography/gateway-choreography.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/presentation/gateway-presentation.iml"/>
>filepath="$PROJECT_DIR$/C:/dev/voca/gateway/assembly/gateway-assembly.iml"/>
>  
>   
> The $PROJECT_DIR in this case is C:/dev/voca/gateway/.
> But this path is being appended in a hard-coded fashion after the 
> $PROJECT_DIR entry.
> The symptom in Intellij is the following error message:
> Cannot load module: File 
> C:\dev\voca\gateway\C:\dev\voca\gateway\domain\gateway-domain.iml does not 
> exist
> Would you like to remove the module from the project?
> The workaround is to delete the extra appended file path from each module 
> entry in the above mentioned snippet.

-- 
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