Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Building PDE Projects using Tycho automatically

Hi,

I've only briefly followed the conversation, but I think Igor was
referring to this:

http://wiki.eclipse.org/Tycho/Reference_Card#Repository_providing_the_context_of_the_build

Cheers,
Christian


Am 19.01.2012 14:46, schrieb Eric Gwin:
> Piyush,
> 
> You need to install the "tycho project configurators".  I can never
> remember the exact procedure, but a quick search on the web for "install
> tycho configurators" looks like it should get you what you need.
> 
> -Eric
> 
> On 19/01/2012 12:34 AM, PIYUSH BAJAJ wrote:
>> Hi Igor,
>>
>> Thanks for your reply.
>>
>> We have the pom.xml created via script, but i want to eliminate the
>> step where <build> tag is added to pom.xml manually.
>> If this is not done getting the error as - ( [ERROR] Unknown
>> packaging: eclipse-plugin @ line 8, column 14 ) while doing mvn install.
>>
>> Do you know any way i can do this automatically or in a different way.
>>
>> Regarding your other point about p2 repositories, can you please let
>> me know how the command will look like? I don't have much background.
>>
>> Best Regards,
>> Piyush
>>
>>
>> On Wed, Jan 18, 2012 at 9:27 PM, Igor Fedorenko <igor@xxxxxxxxxxxxxx
>> <mailto:igor@xxxxxxxxxxxxxx>> wrote:
>>
>>     Couple of comments
>>
>>     * Regardless of how pom.xml was created, i.e. manually or
>>     generated via
>>     script, pom.xml file is expected to be part of project source
>>     tree. This
>>     will eliminate any manual steps during actual project build.
>>
>>     * -Dtycho.targetPlatform is deprecated and strongly discouraged. Use
>>     remote p2 repositories to resolve project dependencies.
>>
>>     --
>>     Regards,
>>     Igor
>>
>>     Check in pom.xml
>>
>>
>>     On 12-01-18 7:42 AM, PIYUSH BAJAJ wrote:
>>
>>
>>         Hi Experts,
>>
>>         I have a use case in which a plug-in project (PDE) needs to be
>>         build
>>         using maven.
>>
>>         I am following these steps:
>>
>>         -------------------------------------------------------------------------------------------------------
>>         1.Created a simple plug-in project
>>
>>         2.Ran following command to generate pom.xml :
>>
>>         mvn org.sonatype.tycho:maven-tycho-plugin:generate-poms
>>         -DgroupId=tychodemo.grp
>>         -Dtycho.targetPlatform=C:/Work/IDEs/eclipse-jpaas-indogo-sr1-win64/
>>
>>         Build success. Pom created using the above command.
>>
>>         3.Ran following command for installation:
>>
>>         mvn clean install
>>
>>         Build Failed, [ERROR] Unknown packaging: eclipse-plugin @ line
>>         8, column
>>         14 : Added Tycho related build in pom.xml (manually)
>>         This manual add was required since eclipse-plugin is not known
>>         to maven,
>>         and tycho being an extension of maven knows about it.
>>
>>         <properties>
>>         <tycho-version>0.13.0</tycho-version>
>>         </properties>
>>         <build>
>>         <plugins>
>>         <plugin>
>>         <groupId>org.eclipse.tycho</groupId>
>>         <artifactId>tycho-maven-plugin</artifactId>
>>         <version>${tycho-version}</version>
>>         <extensions>true</extensions>
>>         </plugin>
>>         </plugins>
>>         </build>
>>
>>         Using reference : http://wiki.eclipse.org/Tycho/Reference_Card
>>
>>         4.Ran following command :
>>
>>         mvn clean install
>>         -Dtycho.targetPlatform=C:/Work/IDEs/eclipse-jpaas-indogo-sr1-win64/
>>
>>         Build Success.
>>
>>         -------------------------------------------------------------------------------------------------------
>>
>>         Now the build is done, is there a possibility I can eliminate
>>         the manual
>>         step of adding tycho related tags in
>>         pom.xml as in step 3 above, and the complete build is achieved
>>         by just
>>         commands?
>>
>>         Please let me know if you need more information.
>>
>>         Any help is appreciated.
>>
>>         Thanks & Regards,
>>         Piyush
>>
>>
>>
>>         _______________________________________________
>>         tycho-user mailing list
>>         tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
>>         https://dev.eclipse.org/mailman/listinfo/tycho-user
>>
>>     _______________________________________________
>>     tycho-user mailing list
>>     tycho-user@xxxxxxxxxxx <mailto: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
> 
> 
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user


-- 
Arthur Charles Clarke: "CNN is one of the participants in the war. I
have a fantasy where Ted Turner is elected president but refuses because
he doesn't want to give up power."


Back to the top