[ 
http://jira.codehaus.org/browse/MOJO-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_106007
 ] 

Andrew Williams commented on MOJO-900:
--------------------------------------

For the patch to apply it seems you first need to "svn cp 
src/main/java/org/codehaus/mojo/appassembler/daemon/Util.java 
src/main/java/org/codehaus/mojo/appassembler/Util.java" sorry about the trouble!

> Generated daemons ignore the repository layout
> ----------------------------------------------
>
>                 Key: MOJO-900
>                 URL: http://jira.codehaus.org/browse/MOJO-900
>             Project: Mojo
>          Issue Type: Bug
>          Components: appassembler
>            Reporter: Andrew Williams
>            Priority: Critical
>         Attachments: appassembler-layout.patch
>
>
> The daemon generators are not informed of the repository layout (they just 
> use the default layout) so using any other layouts will cause invalid links 
> to be written and for the scripts to fail.
> This patch fixes that along with:
> o RepositoryLayout creation is moved to Util
> o Util is moved out of the daemon package, as it is more globally useful
> o "getRelativePath" is removed from Util, as it provided no functionality 
> that the ArtifactRepositoryLayouts did not already provide
> o "getAbsolutePath" (now layout aware) is renamed to "getRelativePath" as it 
> is not absolute at all, just relative to the repository root.
> All tests still pass.

-- 
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 from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to