[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[tycho-user] Problems specifying program arguments for the *.ini file
|
- From: motes motes <mort.motes@xxxxxxxxx>
- Date: Mon, 5 Mar 2012 13:56:36 +0100
- Authentication-results: mr.google.com; spf=pass (google.com: domain of mort.motes@gmail.com designates 10.224.211.9 as permitted sender) smtp.mail=mort.motes@gmail.com; dkim=pass header.i=mort.motes@gmail.com
- Delivered-to: tycho-user@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=tu1UtulQHQRdN7Kua4vDe2JFkoDglQicVsyfsyraqic=; b=VS3XGdBcCMA0Z2eDij31gtJvShif6Ee5cT0odgwSKCr13hcFSzEwF+BaZGI1MFo/qh SIPaaVTU9G+iO7WssPHD/x+6yPcZdDic8WA3bHddCigxcZcmxdsxtF2GFOg2foDEhY0D 7z2lBRrYd/VgoIsixiZN7emYwIjjLL+rRgTBd0ZKsAm2lzob24vH5Q/Vi/iwM84eMwK3 Et73lYlNg8pG2YdSKQbiy2bmcUTs13v0TNwKRRGkA8fJ2AabTVy09fdobfL2YyOwqaIl jym2FaV1S3GG3QljyuoOvoS5eQty2WsB/IuQimz61q9ifl7iO18uUiHfK4vR0/T6G/63 IuPA==
In my .product file I have added the following
<launcherArgs>
<programArgs>-data @user.home/${deployable}/workspace</programArgs>
<vmArgsMac>-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
</launcherArgs>
which during build time will be filtered using the
maven-resource-plugin. In my pom.xml file I have:
<properties>
<deployable>My App</deployable>
...
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<nonFilteredFileExtensions>
<nonFilteredFileExtension>dll</nonFilteredFileExtension>
<nonFilteredFileExtension>exe</nonFilteredFileExtension>
<nonFilteredFileExtension>ico</nonFilteredFileExtension>
</nonFilteredFileExtensions>
</configuration>
<executions>
<execution>
<id>filter-product</id>
<phase>generate-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}</outputDirectory>
<resources>
<resource>
<filtering>true</filtering>
<directory>${basedir}/unfiltered</directory>
<includes>
<include>**/*.product</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
But the ${deployable} property is not substituted and the executable
is not created (the build does not write any warnings or errors). Only
if I remove the program arg will the product be build correctly. So
1) Why does the filtering of the property not work
2) Why is the .exe not build and why are there no errors/warnings?