Skip to main content

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

You should first check that Xcode does not provide an Eclipse application that performs the generaton (EMF does for exemple)

Jeff


On Thu, Aug 1, 2013 at 11:01 AM, Igor Zapletnev <igor.zapletnev@xxxxxxxxx> wrote:
Can anyone confirm this? Thanks!


On Wed, Jul 31, 2013 at 4:37 PM, Igor Zapletnev <igor.zapletnev@xxxxxxxxx> wrote:
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




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




--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Back to the top