Skip to content

Instantly share code, notes, and snippets.

View briandealwis's full-sized avatar

Brian de Alwis briandealwis

View GitHub Profile
@briandealwis
briandealwis / tycho multiple products
Created April 7, 2011 12:25
Tycho pom.xml demonstrating how to build multiple products
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<!--
Complete pom.xml for building two products described in
files "productFile1.product" and "productFile2.product".
Note that app icons are copied in from another plugin using
@briandealwis
briandealwis / gist:782862
Created January 17, 2011 13:55 — forked from spullara/gist:782523
One-liner to turn jar with Main-Class into executable shell script
# turn a jar with a Main-Class into a stand alone executable
(echo '#!/usr/bin/env java -jar'; cat blahblah.jar) > blah
# turn a jar with a particular main clas into a stand alone executable
(echo '#!/usr/bin/env java -jar package.MainClass'; cat blahblah.jar) > blah