Is it possible somehow possible to add a environment variable to the generated scripts say LD_LIBRARY_PATH=$BASEDIR/native/libs/
. I did not find anything in the docs. Maybe there will at least be a "hacky" way using another maven plugin?
Asked
Active
Viewed 585 times
0

KIC
- 5,887
- 7
- 58
- 98
-
What kind of things are you creating JSW, Daemon ? – khmarbaise Jun 24 '16 at 14:18
-
Currently just simple script but should become a demon in the end – KIC Jun 24 '16 at 14:29
-
1Have you taken a look here: http://www.mojohaus.org/appassembler/appassembler-maven-plugin/generate-daemons-mojo.html#environmentSetupFileName – khmarbaise Jun 24 '16 at 15:59
-
@khmarbaise thx, that worked! Dou you want to add it as an answer? – KIC Jun 27 '16 at 11:58
1 Answers
0
The simple solution for this is to use a environment setup file which can be configurate in Appassembler within the pom.xml

khmarbaise
- 92,914
- 28
- 189
- 235