You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Michael Dick (JIRA)" <ji...@apache.org> on 2006/10/06 15:20:19 UTC

[jira] Created: (OPENJPA-65) Remove zip files from zip archive and remove "-all" from openjpa-all-${version}.jar

Remove zip files from zip archive and remove "-all" from openjpa-all-${version}.jar
-----------------------------------------------------------------------------------

                 Key: OPENJPA-65
                 URL: http://issues.apache.org/jira/browse/OPENJPA-65
             Project: OpenJPA
          Issue Type: Task
            Reporter: Michael Dick
            Priority: Minor


The goal of this task is to change the packaging of the OpenJPA zip file so that the individual modules (openjpa-lib, openjpa-kernel, etc) are not included. The class files contained in the modules are already included in openjpa-all-${version}.jar. 

the task will also remove "-all" from openjpa-all-${version}.jar in order to avoid confusion. 



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (OPENJPA-65) Remove zip files from zip archive and remove "-all" from openjpa-all-${version}.jar

Posted by "Kevin Sutter (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OPENJPA-65?page=all ]

Kevin Sutter updated OPENJPA-65:
--------------------------------

    Attachment:     (was: openjpa-65.patch.txt)

> Remove zip files from zip archive and remove "-all" from openjpa-all-${version}.jar
> -----------------------------------------------------------------------------------
>
>                 Key: OPENJPA-65
>                 URL: http://issues.apache.org/jira/browse/OPENJPA-65
>             Project: OpenJPA
>          Issue Type: Task
>            Reporter: Michael Dick
>            Priority: Minor
>
> The goal of this task is to change the packaging of the OpenJPA zip file so that the individual modules (openjpa-lib, openjpa-kernel, etc) are not included. The class files contained in the modules are already included in openjpa-all-${version}.jar. 
> the task will also remove "-all" from openjpa-all-${version}.jar in order to avoid confusion. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (OPENJPA-65) Remove zip files from zip archive and remove "-all" from openjpa-all-${version}.jar

Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OPENJPA-65?page=all ]

Michael Dick resolved OPENJPA-65.
---------------------------------

    Resolution: Fixed

Forgot to close this earlier. 

The individual models have been removed from the distribution zip files. The -all suffix was also removed from the openjpa jar, but it has crept back in.  Since removing the modules was the main point of this report (IMHO) I'm marking it as closed. 

The -all suffix can be removed by using the outputFileNameMapping tag forthe openjpa-all dependencySet in assembly.xml. Here's what the dependecy set might look like : 

        <dependencySet>
            <outputDirectory>/</outputDirectory>
            <unpack>false</unpack>
            <scope>runtime</scope>
            <outputFileNameMapping>openjpa-${version}.${extension}</outputFileNameMapping>
            <includes>
                <include>org.apache.openjpa:openjpa-all</include>
            </includes>
        </dependencySet>


> Remove zip files from zip archive and remove "-all" from openjpa-all-${version}.jar
> -----------------------------------------------------------------------------------
>
>                 Key: OPENJPA-65
>                 URL: http://issues.apache.org/jira/browse/OPENJPA-65
>             Project: OpenJPA
>          Issue Type: Task
>            Reporter: Michael Dick
>            Priority: Minor
>
> The goal of this task is to change the packaging of the OpenJPA zip file so that the individual modules (openjpa-lib, openjpa-kernel, etc) are not included. The class files contained in the modules are already included in openjpa-all-${version}.jar. 
> the task will also remove "-all" from openjpa-all-${version}.jar in order to avoid confusion. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (OPENJPA-65) Remove zip files from zip archive and remove "-all" from openjpa-all-${version}.jar

Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OPENJPA-65?page=comments#action_12440779 ] 
            
Michael Dick commented on OPENJPA-65:
-------------------------------------

Kevin found a bug in the patch and removed it on Friday afternoon. 

Removing the modules from the zip file was the easy part, no problems there. 

Removing the -all suffix from openjpa-all.jar was trickier. I was able to create the jar, but maven renames it when when the jar is installed to the local repository. I can package the "right" jar in the .zip fairly easily, but I can't change the jar that gets installed in the local repository.

I've come up wtih a few options, but I'm not thrilled with them :

1.) Just change the file that gets put in the zip file. This will work, but I don't like having two names for the same jar (I can be over ruled though). 

2.) Create the jar in the openjpa project instead of the openjpa-all project. I'm not sure how this will work out since I haven't tried it. It looks like it will resolve the maven repository issue, but I think there might be ordering problems.

3.)  Leave openjpa-all-${version} alone and just remove the modules.

There might be other options that I haven't found yet (I'm open to suggestions).


> Remove zip files from zip archive and remove "-all" from openjpa-all-${version}.jar
> -----------------------------------------------------------------------------------
>
>                 Key: OPENJPA-65
>                 URL: http://issues.apache.org/jira/browse/OPENJPA-65
>             Project: OpenJPA
>          Issue Type: Task
>            Reporter: Michael Dick
>            Priority: Minor
>
> The goal of this task is to change the packaging of the OpenJPA zip file so that the individual modules (openjpa-lib, openjpa-kernel, etc) are not included. The class files contained in the modules are already included in openjpa-all-${version}.jar. 
> the task will also remove "-all" from openjpa-all-${version}.jar in order to avoid confusion. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (OPENJPA-65) Remove zip files from zip archive and remove "-all" from openjpa-all-${version}.jar

Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OPENJPA-65?page=all ]

Michael Dick updated OPENJPA-65:
--------------------------------

    Attachment: openjpa-65.patch.txt

Attaching patch file. 

The patch removes the modules from openjpa.zip and renames the jar created in openjpa-all. 

> Remove zip files from zip archive and remove "-all" from openjpa-all-${version}.jar
> -----------------------------------------------------------------------------------
>
>                 Key: OPENJPA-65
>                 URL: http://issues.apache.org/jira/browse/OPENJPA-65
>             Project: OpenJPA
>          Issue Type: Task
>            Reporter: Michael Dick
>            Priority: Minor
>         Attachments: openjpa-65.patch.txt
>
>
> The goal of this task is to change the packaging of the OpenJPA zip file so that the individual modules (openjpa-lib, openjpa-kernel, etc) are not included. The class files contained in the modules are already included in openjpa-all-${version}.jar. 
> the task will also remove "-all" from openjpa-all-${version}.jar in order to avoid confusion. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (OPENJPA-65) Remove zip files from zip archive and remove "-all" from openjpa-all-${version}.jar

Posted by "Patrick Linskey (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OPENJPA-65?page=comments#action_12440776 ] 
            
Patrick Linskey commented on OPENJPA-65:
----------------------------------------

Somehow, I can't see the attachment. Also, Kevin, you should have commit access -- why not just commit the change instead of add the patch?

> Remove zip files from zip archive and remove "-all" from openjpa-all-${version}.jar
> -----------------------------------------------------------------------------------
>
>                 Key: OPENJPA-65
>                 URL: http://issues.apache.org/jira/browse/OPENJPA-65
>             Project: OpenJPA
>          Issue Type: Task
>            Reporter: Michael Dick
>            Priority: Minor
>
> The goal of this task is to change the packaging of the OpenJPA zip file so that the individual modules (openjpa-lib, openjpa-kernel, etc) are not included. The class files contained in the modules are already included in openjpa-all-${version}.jar. 
> the task will also remove "-all" from openjpa-all-${version}.jar in order to avoid confusion. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (OPENJPA-65) Remove zip files from zip archive and remove "-all" from openjpa-all-${version}.jar

Posted by "Kevin Sutter (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OPENJPA-65?page=all ]

Kevin Sutter updated OPENJPA-65:
--------------------------------

    Comment: was deleted

> Remove zip files from zip archive and remove "-all" from openjpa-all-${version}.jar
> -----------------------------------------------------------------------------------
>
>                 Key: OPENJPA-65
>                 URL: http://issues.apache.org/jira/browse/OPENJPA-65
>             Project: OpenJPA
>          Issue Type: Task
>            Reporter: Michael Dick
>            Priority: Minor
>
> The goal of this task is to change the packaging of the OpenJPA zip file so that the individual modules (openjpa-lib, openjpa-kernel, etc) are not included. The class files contained in the modules are already included in openjpa-all-${version}.jar. 
> the task will also remove "-all" from openjpa-all-${version}.jar in order to avoid confusion. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira