Hi,

On 22.05.2013 15:44, [email protected] wrote:
> Hello Peter,
>
> I used the Eclipse update site you provided. Thanks.
>
> But I also tried to make the Maven build. "mvn clean install" on trunk 
> succeeded. "mvn clean package" on ruta-eclipse-update-site failed because ant 
> can't find eclipse.home (ECLIPSE_HOME). 

sorry, I totally forgot about that. The necessary steps are described here:
http://uima.apache.org/eclipse-update-site.html
(section "How to Change the Update Site", first paragraph)

The settings.xml file should contains something like (pointers to an
Eclipse installation/plugins):

<settings xmlns="http://maven.apache.org/POM/4.0.0";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                      http://maven.apache.org/xsd/settings-1.0.0.xsd";>
  <profiles>
    <profile>
      <id>local-build-configuration</id>
      <!-- Use <activeProfiles>
                 <activeProfile>local-build-configuration</activeProfile>
               </activeProfiles>
           outside of the <profile> element. See example at bottom.
            -->
      <properties>
       
<uima-maven-build-eclipse-home>D:/work/eclipse</uima-maven-build-eclipse-home>
       
<eclipse-equinox-launcher>D:/work/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar</eclipse-equinox-launcher>
       
<uima-eclipse-jar-processor>${uima-maven-build-eclipse-home}/plugins/org.eclipse.equinox.p2.jarprocessor_1.0.200.v20110815-1438.jar</uima-eclipse-jar-processor>
        <gpg.useagent>true</gpg.useagent>
      </properties>
    </profile>
  </profiles>

  <!-- activeProfiles - a list of profiles that are active for all
builds -->
  <activeProfiles>
    <activeProfile>local-build-configuration</activeProfile>
  </activeProfiles>
</settings>

Best,

Peter


> Regards,
> Armin
>
> -----Ursprüngliche Nachricht-----
> Von: Peter Klügl [mailto:[email protected]] 
> Gesendet: Mittwoch, 22. Mai 2013 14:31
> An: [email protected]
> Betreff: Re: AW: Ruta 2.0.2-SNAPSHOT - Eclipse Plugin Installation
>
> Hi,
>
> hmm, hard to say what went wrong.
>
> I uploaded a new snapshot update site here:
> http://people.apache.org/~pkluegl/temp/eclipse-update-site-20130522/
> <http://people.apache.org/%7Epkluegl/temp/eclipse-update-site-20130522/>
>
> You need to uncheck "Group items by category", because the items are not 
> categorized due to the snapshot version.
>
> What I did:
> - checkout trunk
> - checkout ruta-eclipse-update-site
> - updated versions in ruta-eclipse-update-site/pom.xml 
> <item-maven-release-version>2.0.2-SNAPSHOT</item-maven-release-version>
> <item-eclipse-release-version>2.0.2.SNAPSHOT</item-eclipse-release-version>
> - "mvn clean install" on trunk
> - "mvn clean package" on ruta-eclipse-update-site
> - using ruta-eclipse-update-site/target/eclipse-update-site as update site
>
> If you have already installed the 2.0.2.SNAPSHOT feature, then Eclipse will 
> not be able to update the plugins to a new (same) version. In this case, 
> replacing the plugins might help.
>
> Best,
>
> Peter
>
>
> On 22.05.2013 12:34, [email protected] wrote:
>> Hi Peter,
>>
>> the eclipse update site does not work. Eclipse does not recognize it as an 
>> udpate site.
>>
>> Cheers,
>> Armin
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Peter Klügl [mailto:[email protected]]
>> Gesendet: Dienstag, 21. Mai 2013 13:24
>> An: [email protected]
>> Betreff: Re: Ruta 2.0.2-SNAPSHOT - Eclipse Plugin Installation
>>
>> Hi,
>>
>> On 21.05.2013 09:18, [email protected] wrote:
>>> Hi!
>>>
>>> I've checkout Ruta 2.0.2-SNAPSHOT with
>>>
>>> svn checkout https://svn.apache.org/repos/asf/uima/sandbox/ruta/trunk
>>>
>>> and build it succesfully with
>>>
>>> mvn clean install.
>>>
>>> Now, how to install the Eclipse plugins? Is there a local reposity or 
>>> update site for Eclipse? Or, which files need to be copied manually?
>> The update site is here:
>> https://svn.apache.org/repos/asf/uima/sandbox/ruta/trunk/ruta-eclipse-
>> update-site
>>
>> After "mvn clean package", the update site should be located at 
>> target/eclipse-update-site However, it is problematic to install a new build 
>> for the same version of a feature (since an uninstall of the feature does 
>> not remove the plugins). If you already installed ruta-XXX-2.0.0.SNAPSHOT, 
>> then you can replace the jars in the plugin folder of your eclipse 
>> installation with the jars in the plugins folder of your update site.
>>
>> Peter
>>
>>
>>> Thanks,
>>>
>>> Armin

Reply via email to