[jira] Created: (MEAR-136) does not honor directory navigation

2011-01-04 Thread Frank Griffin (JIRA)
 does not honor directory navigation
---

 Key: MEAR-136
 URL: http://jira.codehaus.org/browse/MEAR-136
 Project: Maven 2.x Ear Plugin
  Issue Type: Bug
Affects Versions: 2.4.2
 Environment: Linux
Reporter: Frank Griffin
Priority: Minor


Background:

[...@ftgme2 application]$ pwd
/home/ftg/PSS/PSSEJBEARProject/src/main/application
[...@ftgme2 application]$ ls
derby-ds.xml
...
[...@ftgme2 application]$ pwd
/home/ftg/dvd/dvd-ear/src/main/application
[...@ftgme2 application]$ ls
derby-ds.x

"dvd-ear" inherits from "PSSEJBEARProject".  PSSEJBEARProject contains:


  
org.apache.maven.plugins
maven-ear-plugin
2.4.2


  
  true

  
  

  org.profsoftsvcs
  ejb-ejb
  false


  org.profsoftsvcs
  common-java
  false

  

  
  
../../../../../PSS/PSSEJBEARProject/src/main/application/**,**

  
  

5



  derby-ds.xml


  


  


dvd-ear contains:


  
  
org.apache.maven.plugins
maven-ear-plugin


  
  

  org.profsoftsvcs
  dvd-ejb

  


  


The problem is that in the resulting EAR file, the root contains derby-ds.x 
(from the default ejbSourceDirectory - 
/home/ftg/dvd/dvd-ear/src/main/application) but not derby-ds.xml from 
/home/ftg/PSS/PSSEJBEARProject/src/main/application.

-- 
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: (MEAR-136) does not honor directory navigation

2011-01-04 Thread Frank Griffin (JIRA)

[ 
http://jira.codehaus.org/browse/MEAR-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=250421#action_250421
 ] 

Frank Griffin commented on MEAR-136:


Must be a JIRA thing; the double asterisks show up as singles even in the above 
comment.

>  does not honor directory navigation
> ---
>
> Key: MEAR-136
> URL: http://jira.codehaus.org/browse/MEAR-136
> Project: Maven 2.x Ear Plugin
>  Issue Type: Bug
>Affects Versions: 2.4.2
> Environment: Linux
>Reporter: Frank Griffin
>Priority: Minor
>
> Background:
> [...@ftgme2 application]$ pwd
> /home/ftg/PSS/PSSEJBEARProject/src/main/application
> [...@ftgme2 application]$ ls
> derby-ds.xml
> ...
> [...@ftgme2 application]$ pwd
> /home/ftg/dvd/dvd-ear/src/main/application
> [...@ftgme2 application]$ ls
> derby-ds.x
> "dvd-ear" inherits from "PSSEJBEARProject".  PSSEJBEARProject contains:
> 
>   
> org.apache.maven.plugins
> maven-ear-plugin
> 2.4.2
> 
>   
>   true
>   
>   
> 
>   org.profsoftsvcs
>   ejb-ejb
>   false
> 
> 
>   org.profsoftsvcs
>   common-java
>   false
> 
>   
>   
>   
> ../../../../../PSS/PSSEJBEARProject/src/main/application/**,**
>   
>   
> 5
> 
> 
>   derby-ds.xml
> 
>   
> 
>   
> 
> dvd-ear contains:
> 
>   
>   
> org.apache.maven.plugins
> maven-ear-plugin
> 
>   
>   
> 
>   org.profsoftsvcs
>   dvd-ejb
> 
>   
> 
>   
> 
> The problem is that in the resulting EAR file, the root contains derby-ds.x 
> (from the default ejbSourceDirectory - 
> /home/ftg/dvd/dvd-ear/src/main/application) but not derby-ds.xml from 
> /home/ftg/PSS/PSSEJBEARProject/src/main/application.

-- 
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: (MEAR-136) does not honor directory navigation

2011-01-04 Thread Frank Griffin (JIRA)

[ 
http://jira.codehaus.org/browse/MEAR-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=250420#action_250420
 ] 

Frank Griffin commented on MEAR-136:


Somehow, my XML snippet above got munged.  The ending part of the 
"ejbSourceIncludes" value is actually "/**,**" (two asterisks in each case).

>  does not honor directory navigation
> ---
>
> Key: MEAR-136
> URL: http://jira.codehaus.org/browse/MEAR-136
> Project: Maven 2.x Ear Plugin
>  Issue Type: Bug
>Affects Versions: 2.4.2
> Environment: Linux
>Reporter: Frank Griffin
>Priority: Minor
>
> Background:
> [...@ftgme2 application]$ pwd
> /home/ftg/PSS/PSSEJBEARProject/src/main/application
> [...@ftgme2 application]$ ls
> derby-ds.xml
> ...
> [...@ftgme2 application]$ pwd
> /home/ftg/dvd/dvd-ear/src/main/application
> [...@ftgme2 application]$ ls
> derby-ds.x
> "dvd-ear" inherits from "PSSEJBEARProject".  PSSEJBEARProject contains:
> 
>   
> org.apache.maven.plugins
> maven-ear-plugin
> 2.4.2
> 
>   
>   true
>   
>   
> 
>   org.profsoftsvcs
>   ejb-ejb
>   false
> 
> 
>   org.profsoftsvcs
>   common-java
>   false
> 
>   
>   
>   
> ../../../../../PSS/PSSEJBEARProject/src/main/application/**,**
>   
>   
> 5
> 
> 
>   derby-ds.xml
> 
>   
> 
>   
> 
> dvd-ear contains:
> 
>   
>   
> org.apache.maven.plugins
> maven-ear-plugin
> 
>   
>   
> 
>   org.profsoftsvcs
>   dvd-ejb
> 
>   
> 
>   
> 
> The problem is that in the resulting EAR file, the root contains derby-ds.x 
> (from the default ejbSourceDirectory - 
> /home/ftg/dvd/dvd-ear/src/main/application) but not derby-ds.xml from 
> /home/ftg/PSS/PSSEJBEARProject/src/main/application.

-- 
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: (MEAR-136) does not honor directory navigation

2011-01-04 Thread Frank Griffin (JIRA)

[ 
http://jira.codehaus.org/browse/MEAR-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=250424#action_250424
 ] 

Frank Griffin commented on MEAR-136:


Ah, much nicer, thanks.

>  does not honor directory navigation
> ---
>
> Key: MEAR-136
> URL: http://jira.codehaus.org/browse/MEAR-136
> Project: Maven 2.x Ear Plugin
>  Issue Type: Bug
>Affects Versions: 2.4.2
> Environment: Linux
>Reporter: Frank Griffin
>Priority: Minor
>
> Background:
> {noformat}
> [...@ftgme2 application]$ pwd
> /home/ftg/PSS/PSSEJBEARProject/src/main/application
> [...@ftgme2 application]$ ls
> derby-ds.xml
> ...
> [...@ftgme2 application]$ pwd
> /home/ftg/dvd/dvd-ear/src/main/application
> [...@ftgme2 application]$ ls
> derby-ds.x
> {noformat}
> "dvd-ear" inherits from "PSSEJBEARProject".  PSSEJBEARProject contains:
> {code:xml}
>   
> org.apache.maven.plugins
> maven-ear-plugin
> 2.4.2
> 
>   
>   true
>   
>   
> 
>   org.profsoftsvcs
>   ejb-ejb
>   false
> 
> 
>   org.profsoftsvcs
>   common-java
>   false
> 
>   
>   
>   
> ../../../../../PSS/PSSEJBEARProject/src/main/application/**,**
>   
>   
> 5
> 
> 
>   derby-ds.xml
> 
>   
> 
>   
> {code}
> dvd-ear contains:
> {code:xml}
>   
>   
> org.apache.maven.plugins
> maven-ear-plugin
> 
>   
>   
> 
>   org.profsoftsvcs
>   dvd-ejb
> 
>   
> 
>   
> {code}
> The problem is that in the resulting EAR file, the root contains derby-ds.x 
> (from the default ejbSourceDirectory - 
> /home/ftg/dvd/dvd-ear/src/main/application) but not derby-ds.xml from 
> /home/ftg/PSS/PSSEJBEARProject/src/main/application.

-- 
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: (MEAR-118) Invalid application.xml generated

2011-01-04 Thread Frank Griffin (JIRA)

[ 
http://jira.codehaus.org/browse/MEAR-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=250441#action_250441
 ] 

Frank Griffin commented on MEAR-118:


I'm still seeing this in 2.4.2:

[core.xml]

http://java.sun.com/dtd/application_1_3.dtd";>

  dvd-ear
  The Professional Software Services "dvd-ear" project 
creates the EARFile for the "dvd" project
  
dvd-ejb-1.0-SNAPSHOT.jar
  


> Invalid application.xml generated
> -
>
> Key: MEAR-118
> URL: http://jira.codehaus.org/browse/MEAR-118
> Project: Maven 2.x Ear Plugin
>  Issue Type: Bug
>Affects Versions: 2.4
> Environment: Maven 2.2.1
>Reporter: Stephen Coy
>Assignee: Stephane Nicoll
>Priority: Critical
> Fix For: 2.4.1
>
> Attachments: ApplicationXmlWriter.java.patch
>
>
> If a project description is specified in the pom.xml, then the plugin 
> generates a corresponding description from pom 
> element in the application.xml file.
> Unfortunately, it places it in the wrong location according to the schema 
> (for both J2EE 1.4 and JEE 5):
>   artifact name
>   project description
>   
>   ...
> instead of:
>   project description
>   artifact name
>   
>   ...
> This results in deployment failure on WebSphere.
> Work around is to roll back to version 2.3.2 of the ear plugin.

-- 
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: (MJAVADOC-287) -sourcepath with "." or ".." causes "invalid package name" errors

2010-08-02 Thread Frank Griffin (JIRA)
-sourcepath with "." or ".." causes "invalid package name" errors
-

 Key: MJAVADOC-287
 URL: http://jira.codehaus.org/browse/MJAVADOC-287
 Project: Maven 2.x Javadoc Plugin
  Issue Type: Bug
Affects Versions: 2.7
 Environment: Mandriva Linux 2010.1
Reporter: Frank Griffin


If you create a dummy project to run a custom doclet against the source tree of 
a different project, and specify the -sourcepath as 
 ${basedir}/../otherproject/src/main/java
execution will fail with:
 An error has occurred in JavaDocs report generation:Exit code: 1 - 
javadoc: error - Illegal package name: 
"/data/ftg/dvd-ejbgen/../dvd/target/generated-sources/maven-plugin"

This happens because the argfile is built using the Absolute Path of 
-sourcepath rather than the Canonical Path, e.g.

'/data/ftg/dvd-ejbgen/../dvd/src/main/java/org/profsoftsvcs/dbutils/DVD/DBUtDVDEntityBean.java'
'/data/ftg/dvd-ejbgen/../dvd/src/main/java/org/profsoftsvcs/dbutils/DVD/DBUtDVDSessionBeanImpl.java'


-- 
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] Closed: (MJAVADOC-287) -sourcepath with "." or ".." causes "invalid package name" errors

2010-08-03 Thread Frank Griffin (JIRA)

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

Frank Griffin closed MJAVADOC-287.
--

Resolution: Not A Bug

My error here.  The custom doclet was returning 1 rather than 2 from 
optionLength() for options that took an argument of a path, causing Javadoc to 
interpret the path as a packagename to be processed.  After correcting that, 
the path resolution seems to occur as it should (although not in the part of 
the source I was looking at).

> -sourcepath with "." or ".." causes "invalid package name" errors
> -
>
> Key: MJAVADOC-287
> URL: http://jira.codehaus.org/browse/MJAVADOC-287
> Project: Maven 2.x Javadoc Plugin
>  Issue Type: Bug
>Affects Versions: 2.7
> Environment: Mandriva Linux 2010.1
>Reporter: Frank Griffin
>
> If you create a dummy project to run a custom doclet against the source tree 
> of a different project, and specify the -sourcepath as 
>  ${basedir}/../otherproject/src/main/java
> execution will fail with:
>  An error has occurred in JavaDocs report generation:Exit code: 1 - 
> javadoc: error - Illegal package name: 
> "/data/ftg/dvd-ejbgen/../dvd/target/generated-sources/maven-plugin"
> This happens because the argfile is built using the Absolute Path of 
> -sourcepath rather than the Canonical Path, e.g.
> '/data/ftg/dvd-ejbgen/../dvd/src/main/java/org/profsoftsvcs/dbutils/DVD/DBUtDVDEntityBean.java'
> '/data/ftg/dvd-ejbgen/../dvd/src/main/java/org/profsoftsvcs/dbutils/DVD/DBUtDVDSessionBeanImpl.java'

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