Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Create a Target Definition

You could also `mvn deploy` the update site zip to Nexus, then use the
Nexus Unzip plugin to get a fully-published update site in Nexus.

Here's an example of that:

Build the update site:
https://github.com/jbosstools/jbosstools-locus/blob/master/site/pom.xml

Deploy it to Nexus:
https://github.com/jbosstools/jbosstools-locus/blob/master/deployment/pom.xml

Resulting nexus artifact (the zip of the site):
https://repository.jboss.org/nexus/content/repositories/snapshots/org/jboss/tools/locus/update.site/1.5.0-SNAPSHOT/

Resulting unpacked p2 update site, which works w/ Eclipse, p2 browser,
etc.: https://repository.jboss.org/nexus/content/unzip/unzip/org/jboss/tools/locus/update.site/1.5.0-SNAPSHOT/update.site-1.5.0-SNAPSHOT.zip-unzip/

On Tue, Dec 1, 2015 at 1:02 PM, Cesar Sturion <csturion@xxxxxxxxx> wrote:
> Ok, I understand, but my question is: I climb all content like the image or
> only have to climb the artifacts.jar files and content.jar?
>
>
>
> It will not be different from the structure that the Nexus uses today?
>
> On Tue, Dec 1, 2015 at 2:13 PM, Jeff MAURY <jeffmaury@xxxxxxxxxxxxx> wrote:
>>
>> You can scp from your machine to the Nexus machine and then using the file
>> URL
>>
>> Jeff
>>
>> On Tue, Dec 1, 2015 at 5:08 PM, Cesar Sturion <csturion@xxxxxxxxx> wrote:
>>>
>>> But Jeff, I have created the files in my local machine
>>> (file:///D:/projects/eclipse/repository/).
>>>
>>> I do not know much of Nexus, there is a way to climb this information to
>>> it using the directory of my machine?
>>>
>>>
>>>
>>> On Tue, Dec 1, 2015 at 1:15 PM, Jeff MAURY <jeffmaury@xxxxxxxxxxxxx>
>>> wrote:
>>>>
>>>> In Nexus, define a P2 proxy repository and use the file: URL to access
>>>> your files as the source
>>>>
>>>> Jeff
>>>>
>>>> On Tue, Dec 1, 2015 at 2:18 PM, Cesar Sturion <csturion@xxxxxxxxx>
>>>> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I can generate files using  featuresandbundles publisher, but now, how
>>>>> can I import it in Nexus or using it in Tycho?
>>>>>
>>>>> On Sat, Nov 28, 2015 at 1:23 PM, Mikhail Kalkov
>>>>> <mikhail.kalkov@xxxxxxxxx> wrote:
>>>>>>
>>>>>> Cesar, I think you can use featuresandbundles publisher to generate a
>>>>>> software site from directories.
>>>>>>
>>>>>> Kind regards,
>>>>>> Mikhail Kalkov
>>>>>>
>>>>>> Den 27 nov 2015 17:41 skrev "Cesar Sturion" <csturion@xxxxxxxxx>:
>>>>>>>
>>>>>>> Jan,
>>>>>>>
>>>>>>> I'm sorry, but I do not quite understand the examples.
>>>>>>>
>>>>>>> In my case the .jars is in:
>>>>>>>
>>>>>>> C:\tools\eclipse\eclipse_europa\plugins
>>>>>>> C:\tools\eclipse\eclipse_europa\features
>>>>>>>
>>>>>>> Tycho will resolve a directory structure? And one more important
>>>>>>> information the project is built on version 1.6 of java.
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> Cesar Sturion
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Nov 27, 2015 at 6:11 AM, Sievers, Jan <jan.sievers@xxxxxxx>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>> https://www.eclipse.org/tycho/sitedocs-extras/tycho-p2-extras-plugin/publish-features-and-bundles-mojo.html
>>>>>>>>
>>>>>>>>
>>>>>>>> this is just a wrapper for
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fp2_publisher.html&anchor=features_and_bundles_publisher
>>>>>>>>
>>>>>>>>
>>>>>>>> Jan
>>>>>>>>
>>>>>>>> On 26/11/15 18:56, "tycho-user-bounces@xxxxxxxxxxx on behalf of
>>>>>>>> Cesar Sturion" <tycho-user-bounces@xxxxxxxxxxx on behalf of
>>>>>>>> csturion@xxxxxxxxx> wrote:
>>>>>>>>
>>>>>>>> >Hi,
>>>>>>>> >
>>>>>>>> >I will try explain my problem and describe my possible solution.
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >Today we have a Eclipse Rcp project that uses plugins and features
>>>>>>>> > of Eclipse Europa.
>>>>>>>> >
>>>>>>>> >For use this, we have a Target Definition, that where is to
>>>>>>>> > configured the directory where Eclipse Europa is instaled.
>>>>>>>> >
>>>>>>>> >But tycho does not accept a target definition using a directory,
>>>>>>>> > just Software Site.
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >Is there a way to create on a server github or internal file
>>>>>>>> > server?
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >If Yes, what files should I include? Would all the plugins
>>>>>>>> > directory and feature jar?
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >Regards,
>>>>>>>> >
>>>>>>>> >Cesar Sturion
>>>>>>>> >
>>>>>>>> _______________________________________________
>>>>>>>> tycho-user mailing list
>>>>>>>> tycho-user@xxxxxxxxxxx
>>>>>>>> To change your delivery options, retrieve your password, or
>>>>>>>> unsubscribe from this list, visit
>>>>>>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> tycho-user mailing list
>>>>>>> tycho-user@xxxxxxxxxxx
>>>>>>> To change your delivery options, retrieve your password, or
>>>>>>> unsubscribe from this list, visit
>>>>>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> tycho-user mailing list
>>>>>> tycho-user@xxxxxxxxxxx
>>>>>> To change your delivery options, retrieve your password, or
>>>>>> unsubscribe from this list, visit
>>>>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> tycho-user mailing list
>>>>> tycho-user@xxxxxxxxxxx
>>>>> To change your delivery options, retrieve your password, or unsubscribe
>>>>> from this list, visit
>>>>> 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
>>>>
>>>> _______________________________________________
>>>> tycho-user mailing list
>>>> tycho-user@xxxxxxxxxxx
>>>> To change your delivery options, retrieve your password, or unsubscribe
>>>> from this list, visit
>>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>>>
>>>
>>>
>>> _______________________________________________
>>> tycho-user mailing list
>>> tycho-user@xxxxxxxxxxx
>>> To change your delivery options, retrieve your password, or unsubscribe
>>> from this list, visit
>>> 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
>>
>> _______________________________________________
>> tycho-user mailing list
>> tycho-user@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>
>
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/tycho-user



-- 
Nick Boldt :: Productization Lead :: JBoss Tools & Dev Studio :: Red Hat, Inc.
http://nick.divbyzero.com


Back to the top