Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Version properties for exe file

I think in this tabs it's not possible to set any version information. Is it possible to include a *.rc file in tycho builds to set values as it is described in comment 10 in this issue https://bugs.eclipse.org/bugs/show_bug.cgi?id=294827

Thx Peter



From:        "Sievers, Jan" <jan.sievers@xxxxxxx>
To:        Tycho user list <tycho-user@xxxxxxxxxxx>
Date:        05.04.2013 09:04
Subject:        Re: [tycho-user] Version properties for exe file
Sent by:        tycho-user-bounces@xxxxxxxxxxx




I am not familiar with launch4j but this looks similar to the settings in the Launching/Splash tabs of the .product file editor.

Regards
Jan

From: tycho-user-bounces@xxxxxxxxxxx [
mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Peter GASSNER
Sent: Donnerstag, 4. April 2013 13:03
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Version properties for exe file

Hi All,

is it possible to add properties to exe files with tycho as it can be done with launch4j like in following example?
 
Thanks Peter

<plugin>
            <groupId>com.akathist.maven.plugins.launch4j</groupId>
            <artifactId>launch4j-maven-plugin</artifactId>
            <version>1.5.1</version>
            <executions>
                <execution>
                    <id>l4j-clui</id>
                    <phase>package</phase>
                    <goals>
                        <goal>launch4j</goal>
                    </goals>
                    <configuration>
                        <headerType>gui</headerType>
                        <jar>${project.build.directory}/${artifactId}-${version}-shaded.jar</jar>
                        <outfile>${project.build.directory}/hasCode.exe</outfile>
                        <downloadUrl>
http://java.com/download</downloadUrl>
                        <classPath>
                            <mainClass>com.hascode.tutorial.Main</mainClass>
                            <preCp>anything</preCp>
                        </classPath>
                        <icon>src/main/resources/icon/application.ico</icon>
                        <jre>
                            <minVersion>1.6.0</minVersion>
                            <jdkPreference>preferJre</jdkPreference>
                        </jre>
                        <versionInfo>
                            <fileVersion>1.0.0.0</fileVersion>
                            <txtFileVersion>${project.version}</txtFileVersion>
                            <fileDescription>${project.name}</fileDescription>
                            <copyright>2012 hasCode.com</copyright>
                            <productVersion>1.0.0.0</productVersion>
                            <txtProductVersion>1.0.0.0</txtProductVersion>
                            <productName>${project.name}</productName>
                            <companyName>hasCode.com</companyName>
                            <internalName>hasCode</internalName>
                            <originalFilename>hasCode.exe</originalFilename>
                        </versionInfo>
                    </configuration>
                </execution>
            </executions>
        </plugin>
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top