Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho + xcore

Thanks for quick response. At first I will prefer to use eclipserun plug-in (is it more easy way?). 
To be more clear, to add xcore support through eclipserun plug-in I need:

1) Write my own eclipse-application that will use XCore mechanism to generate xcore files;
2) Publish this application into my maven repository;
3) Use eclipserun plug-in;

  <groupId>org.eclipse.tycho.extras</groupId>
            <artifactId>tycho-eclipserun-plugin</artifactId>
            <version>${tycho-version}</version>
            <configuration>
                <appArgLine>-application myCustomAppId -file xcoremodefile.xcore</appArgLine>
                <dependencies>
                    <dependency>
                        <artifactId>org.mygroup.myapplication</artifactId>
                        <type>eclipse-plugin</type>
                    </dependency>
                </dependencies>
            </configuration>
            <executions>
                <execution>
                    <goals>
                        <goal>eclipse-run</goal>
                    </goals>
                    <phase>compile</phase>
                </execution>
            </executions>
        </plugin>


On Wed, Jul 31, 2013 at 3:39 PM, Mickael Istria <mistria@xxxxxxxxxx> wrote:
AFAIK, there is no Maven plugin specific to Xcore generation. However, the tycho-eclipserun-plugin provides you the necessary to invoke Eclipse application (including Eclipse antRunner ) to leverage existing mechanism for headless generation: http://wiki.eclipse.org/Tycho/Additional_Tools#tycho-eclipserun-plugin
If you're fine with doing some Maven plugin development, you can give a try to creating a Maven plugin dedicated to Xcore.

HTH
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



Back to the top