[
https://jira.codehaus.org/browse/MAPPASM-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=297407#comment-297407
]
Eric Vantillard commented on MAPPASM-163:
-----------------------------------------
good point, you are right.
Thinking about it, my need is to know the base directory.
In this case, I have two solutions :
# adding a file in the configuration directory with the absolute path of the
installation : not very nice.
# using the {{basedir}} property but according to [the
documentation|http://mojo.codehaus.org/appassembler/appassembler-maven-plugin/usage-script.html]
:
{panel}
basedir - The installation directory of the application, i.e. the directory
where bin/ and repo/ exist.
Use this if you need to load files relative to your installation directory.
*(This is marked as deprecated and will be removed with Release 1.3).*
{panel}
> current directory is not the same in unix script and in windows script
> ----------------------------------------------------------------------
>
> Key: MAPPASM-163
> URL: https://jira.codehaus.org/browse/MAPPASM-163
> Project: Mojo AppAssembler Plugin
> Issue Type: Bug
> Affects Versions: 1.2.1
> Environment: unix
> Reporter: Eric Vantillard
>
> the script must change the current directory before running the program.
> This is done in windows script but not in unix script.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.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