0

I would like to integrate into the build process the following: - Remove all the jrxml files in the source. - Process plugin jar with a proguard config file.

This is what i have tried so far

Leaving intact the rest of the "Eclipse Export Wizard" process.

I have tried to enable the 'custom build' check in the 'build' tab of the plugin and got a "no build.xml found try disabling..." then disabled it, tried again, copied the build.xml, and unchecked the 'custom build' and tried again, got an error:

C:\workspace\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\compile.org.eclipse.pde.container.feature.xml:4: The following error occurred while executing this line:
C:\project\build.xml:245: The following error occurred while executing this line:
C:\project\build.xml:206: java.lang.reflect.InvocationTargetException
The following error occurred while executing this line:
C:\project\build.xml:245: The following error occurred while executing this line:
C:\project\build.xml:206: java.lang.reflect.InvocationTargetException

Tried running the build.xml as ant and i got a no java_home found, seted up the java_home and the build.xml works, but the Eclipse Export Wizard still got the same problems.

4

1 に答える 1

2

やっとここまでできたのですが、

  1. build.properties の「ビルド」タブで「カスタム ビルド」のチェックを外す必要があります。
  2. 次に、build.properties / PDE Tools / Create Ant Build ファイルを右クリックします (これにより build.xml が生成されます)。
  3. 次に、「カスタムビルド」を確認できます

そして、それはすべての人々です...変更できるbuild.xmlがあります(これにより、antタグを追加して* .jrxmlを無視し、proguardをantと統合できます)1つの詳細は、絶対および${eclipse.home} ${java.home} への相対パス

于 2012-07-06T17:05:37.330 に答える