Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-build-dev] Trouble migrating build from 3.2 to 3.3 (2)

I'm converting our build from 3.2 to 3.3 and am encountering a problem.
I set up directories that look like this:

  <buildDirectory>/
    features/
      ...
    plugins/
      plugin.aaa/...
      plugin.bbb/...

In 3.2 the plugins' generated build.xml files wrote java compiler output
class files to 

  plugin.xxx/
    @dot/...

but now, in 3.3, the build.xml writes them to 

  plugin.xxx_1.2.3.4/
    @dot/...

i.e. to a versioned id.

However, plugins that depend on a previously-built plugin (say
plugin.bbb referencing plugin.aaa) will have the unversioned plugin
directory on the compile classpath:

  <target name="@dot"...
    <path id="@dot.classpath">
      ...
      <pathelement path=".../plugin.aaa/bin/"/>
      <pathelement path=".../plugin.aaa/@dot/"/>
      ...

rather than

  <target name="@dot"...
    <path id="@dot.classpath">
      ...
      <pathelement path=".../plugin.aaa_1.2.3.4/bin/"/>
      <pathelement path=".../plugin.aaa_1.2.3.4/@dot/"/>
      ...

So the compile fails because it can't find classes from plugin.aaa.  At
that point, the directories look like this:

  <buildDirectory>/
    features/...
    plugins/
      plugin.aaa/
        build.xml -- generated by PDE
      plugin.aaa_1.2.3.4/
        @dot/... -- .class files from compile
      plugin.bbb/
        build.xml
      plugin.bbb_1.2.3.4/
        @dot/...

Any help would be greatly appreciated.
 
     This message may contain privileged and/or confidential information.  If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so.  Thank you.


Back to the top