I have read TargetPanel doc and still looking for example for my
usecase where I want TargetPanel to default its directory to this
format:
\program_files\mycomp\myapp
Currently its has the default value as \program files\myapp
Any suggestion?
Thanks
-D
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
I have contributed an improvement to the TargetPanel and the changes
were already merged into 4.3 branch on github.com by Julien
(https://github.com/jponge/izpack/commit/d4c06243548c0ae4172d15eb1c3813e9919ae13e
).
Here is an example of how we setup the default values for different OS
in our install.xml file and also "force" the path to do not contain
spaces (on Windows the path with spaces can lead to strange application
behaviour sometime):
<?xml version="1.0" encoding="UTF-8"?>
<installation version="1.0">
...
<variables>
...
<variable name="TargetPanel.noWhitespaces" value="true"/>
<variable name="TargetPanel.dir.mac"
value="$APPLICATIONS_DEFAULT_ROOT/Jahia_xCM_v${project.version}"/>
<variable name="TargetPanel.dir.macosx"
value="$APPLICATIONS_DEFAULT_ROOT/Jahia_xCM_v${project.version}"/>
<variable name="TargetPanel.dir.unix"
value="/usr/local/Jahia_xCM_v${project.version}"/>
<variable name="TargetPanel.dir.windows"
value="C:\Jahia_xCM_v${project.version}"/>
Kind regards
Sergiy
Sergiy Shyrkov
Product Development
---------------------------------
Jahia Solutions Group
web: http://www.jahia.com
---------------------------------
Jahia - The Open Source Web Content Integration Software
This e-mail and its contents are subject to the DISCLAIMER at http://www.jahia.com/disclaimer
--
Julien Ponge
http://julien.ponge.info/
Sergiy Shyrkov
Product Development
---------------------------------
Jahia Solutions Group
web: http://www.jahia.com
---------------------------------
Jahia - The Open Source Web Content Integration Software
This e-mail and its contents are subject to the DISCLAIMER at http://www.jahia.com/disclaimer
On 09.09.2011 15:38, Dan Tran wrote:
> My app can handle install path with spaces. However, from your
> example, I set mine as
>
> <variable name="TargetPanel.dir.windows"
> value="${ENV[ProgramFiles]}\MyComp\My App"/>
>
> IZpack just seems to ignore this variable, and use its own default's value.
>
> very strange. Any suggestion is very appreciated.
>
> -Dan
Thanks,
Torsten
-Dan
Btw, 5.0.0-beta-snapshot is available at this moment
enjoy testing
-Dan
-Dan
-D
could you provide the stacktrace of that exception, please? We have a
chance to fix it or an least file a new JIRA ticket for the future.
Kind regards
Sergiy
Sergiy Shyrkov
Product Development
---------------------------------
Jahia Solutions Group
web: http://www.jahia.com
---------------------------------
Jahia - The Open Source Web Content Integration Software
This e-mail and its contents are subject to the DISCLAIMER at http://www.jahia.com/disclaimer
https://svn.codehaus.org/izpack-svn/izpack-maven/trunk/izpack-maven-plugin/src/it/sample
-Dan
On Mon, Sep 12, 2011 at 12:49 AM, Sergiy Shyrkov