Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-update-dev] Using pde to build a feature and the associated branding plugin

Back...  this may be a bug (and I'll get it in bugzilla) - but before I
jump - let me ask.

I was working my project back into shape - as a.b.c-feature and then a.b.c
for the branding plugin.

When I build the feature update jar it fails when I ask for a refresh
target as the last activity.

Project com.ibm.lab.tool does not exist and cannot be refreshed.
My project dir name is com.ibm.lab.tool-feature.
This is the entry in the generated build.xml:

 <project name="com.ibm.lab.tool" default="build.update.jar" basedir=".">

and then:

<property name="feature" value="com.ibm.lab.tool"/>


Maybe a property for feature-dir is needed as in:
<property name="feature-dir" value="com.ibm.lab.tool-feature"/>

So that this could then be the refesh target:
      <target name="refresh" depends="init" if="eclipse.running">
change>     <eclipse.refreshLocal resource="${feature-dir}" depth
="infinite"/>
            <antcall target="all.children">
                  <param name="target" value="refresh"/>
            </antcall>
      </target>

Pat McCarthy




Back to the top