McClain Looney <mlooney@gmail.com> wrote on 11/30/2004 01:47:10 PM:
> > One of the things I proposed for this release, we can now consider for 
the
> > next one, is that we should change our feature structure so that we 
just
> > have a single feature.  The Windows JavaHL plugin can be conditioned 
for
> > Windows within that feature.  This is how Eclipse does it with its
> > platform-dependent code.  One problem I see in our current structure, 
is
> > that we do not currently have a feature you can install if using 
Eclipse
> > with Motif and/or on any versions of Unix.  Having a single feature 
would
> > solve this.
> 
> i had considered this earlier, and even tried to implement it, but
> couldn't manage to figure it out properly (for some reason i don't
> recall at the moment).  if you can figure it out, go crazy. currently
> we do support linux on the update site, but i've just not gotten
> around to setting the right properties in the feature for the other
> unicies (unixes?).
I will play around with it and see if I can make it work.  I have a Mac 
box at home and Windows and Linux at work, so I can at least make sure 
those platforms all still work.
Basically, I am proposing the feature.xml look like this, which should 
work for all platforms:
<?xml version="1.0" encoding="UTF-8"?>
<feature
      id="org.tigris.subversion.subclipse"
      label="Subclipse"
      version="0.9.23"
      provider-name="tigris.org"
      colocation-affinity="org.tigris.subversion.subclipse">
   <install-handler/>
   <description>
      %description
   </description>
   <copyright url="http://subclipse.tigris.org/">
      http://subclipse.tigris.org/
   </copyright>
   <license url="%licenseURL">
      %license
   </license>
   <url>
      <update label="%updateSiteName" url=
"http://subclipse.tigris.org/update"/>
      <discovery label="%updateSiteName" url=
"http://subclipse.tigris.org/update"/>
   </url>
   <requires>
      <import plugin="org.eclipse.core.resources"/>
      <import plugin="org.eclipse.ui"/>
      <import plugin="org.eclipse.team.core"/>
      <import plugin="org.eclipse.core.runtime"/>
      <import plugin="org.eclipse.osgi"/>
      <import plugin="org.eclipse.ui.ide"/>
      <import plugin="org.eclipse.ui.views"/>
      <import plugin="org.eclipse.jface.text"/>
      <import plugin="org.eclipse.ui.workbench.texteditor"/>
      <import plugin="org.eclipse.ui.editors"/>
      <import plugin="org.eclipse.team.ui"/>
      <import plugin="org.eclipse.compare"/>
   </requires>
   <plugin
         id="org.tigris.subversion.javahl.win32"
         os="win32"
         download-size="0"
         install-size="0"
         version="0.9.23"
         fragment="true"/>
   <plugin
         id="org.tigris.subversion.subclipse.core"
         download-size="0"
         install-size="0"
         version="0.9.23"/>
   <plugin
         id="org.tigris.subversion.subclipse.ui"
         download-size="0"
         install-size="0"
         version="0.9.23"/>
   <plugin
         id="org.tigris.subversion.subclipse"
         download-size="0"
         install-size="0"
         version="0.9.23"/>
</feature>
_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs. 
_____________________________________________________________________________
Received on Wed Dec  1 05:50:49 2004