Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [higgins-dev] Need help with Plugin Target Builds

Mike,

In order to have some project be buildable as plugun it is necessary
to use plugin dependencies instead of dependencies on local projects.

With regards to war targets... Higgins2ant plugin which we are using
to generate build.xml, buildaux.xml and dependencies.xml files for our
project does not generate such target in dependencies.xml because I
don't know how to determine which project should have such targets.
However it generate two targets which could be useful in war target:
-copylibraries and -copyalljars.
The first target copy all dependency libraries (thirdparty) to the
location specified as "toDir" parameter
The second one do the same for jar files of dependency projects.
I think that using these targets it is not so difficult to manually
write simple build script for war target.


Valery

Tuesday, October 9, 2007, 3:33:40 PM, you wrote:

> I've been trying to get the plugin targets and the auto builds working
> (the jar targets seem to be ok).
> It's unclear to me why this buildis failing for 
> "org.eclipse.higgins.sts.common". Can someone familiar with the plugin
> target for ant builds please take a look?
> Also there needs to be a way to auto build WAR target, seems like that
> feature is missing (or undocumented).

> Buildfile: C:\Documents and 
> Settings\Administrator\Higgins\org.eclipse.higgins.sts.common\build.xml
> --SNIP: I've removed a lot of noise output
>      [java] init:
>      [java] gather.bin.parts:
>      [java] [copy] Copying 43 files to C:\Documents and 
> Settings\Administrator\Higgins\org.eclipse.higgins.sts.common\build\temp.dir\tmp\eclipse\plugins\org.eclipse.higgins.sts.common_0.9.0
>      [java] BUILD FAILED
>      [java] C:\Documents and 
> Settings\Administrator\Higgins\org.eclipse.higgins.sts.common\pluginBuilder.xml:107:
> The following error occurred while executing this line:
>      [java] C:\Documents and 
> Settings\Administrator\Higgins\org.eclipse.higgins.sts.common\pluginBuilder.xml:122:
> The following error occurred while executing this line:
>      [java] C:\Documents and 
> Settings\Administrator\Higgins\org.eclipse.higgins.sts.common\pluginBuilder.xml:279:
> The following error occurred while executing this line:
>      [java] C:\Documents and 
> Settings\Administrator\Higgins\org.eclipse.higgins.sts.common\build\temp.dir\builder\build.xml:26:
> The following error occurred while executing this line:
>      [java] C:\Documents and 
> Settings\Administrator\Higgins\org.eclipse.higgins.sts.common\build\temp.dir\builder\build.xml:91:
> The following error occurred while executing this line:
>      [java] C:\Documents and 
> Settings\Administrator\Higgins\org.eclipse.higgins.sts.common\build\temp.dir\builder\customTargets.xml:10:
> The following error occurred while executing this line:
>      [java] C:\Documents and 
> Settings\Administrator\Higgins\org.eclipse.higgins.sts.common\build\temp.dir\builder\allElements.xml:12:
> The following error occurred while executing this line:
>      [java] 
> C:\eclipse\plugins\org.eclipse.pde.build_3.2.1.r321_v20060823\scripts\genericTargets.xml:150:
> The following error occurred while executing this line:
>      [java] C:\Documents and 
> Settings\Administrator\Higgins\org.eclipse.higgins.sts.common\build\temp.dir\assemble.org.eclipse.higgins.sts.common.all.xml:4:
> The following error occurred while executing this line:
>      [java] C:\Documents and 
> Settings\Administrator\Higgins\org.eclipse.higgins.sts.common\build\temp.dir\builder\allElements.xml:26:
> The following error occurred while executing this line:
>      [java] C:\Documents and 
> Settings\Administrator\Higgins\org.eclipse.higgins.sts.common\build\temp.dir\assemble.org.eclipse.higgins.sts.common.xml:52:
> The following error occurred while executing this line:
>      [java] C:\Documents and 
> Settings\Administrator\Higgins\org.eclipse.higgins.sts.common\build\temp.dir\plugins\org.eclipse.higgins.sts.common\build.xml:154:
> java.lang.NullPointerException
>      [java] Total time: 45 seconds
>      [java] Java Result: 13

> BUILD FAILED
> C:\Documents and 
> Settings\Administrator\Higgins\org.eclipse.higgins.sts.common\buildaux.xml:142:
> The following error occurred while executing this line:
> C:\Documents and 
> Settings\Administrator\Higgins\org.eclipse.higgins.sts.common\pluginBuilder.xml:107:
> The following error occurred while executing this line:
> C:\Documents and 
> Settings\Administrator\Higgins\org.eclipse.higgins.sts.common\pluginBuilder.xml:143:
> Build Eclipse plugin failed

> Total time: 52 seconds
> _______________________________________________
> higgins-dev mailing list
> higgins-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/higgins-dev



Back to the top