What is the best way to integrate an external build tool into Eclipse?

I just started using Eclipse to develop Python, since we can use the wonderful plugin I found to enable distributed pair programming. In any case, the next step for Eclipse to integrate correctly with our existing environment would be to find a way to manage our current build tool ( Waf ) from the IDE.

So the question is, can I configure Eclipse to drive a Waf in style Make? I see that Makeit has quite advanced features for it, such as the ability to determine what goals are available, etc. Bonus points for telling me if there is a way so I can get to this! (I suspect the answer is that all of this is built into the Make plugin for Ecplipse).

+5
source share
3 answers

You can try defining Custom builder by calling Waf with the appropriate parameters for the python compilation stage.

http://nmake.alcatel-lucent.com/manual/eclipse/jdt_lu38/builders.png

(From eclipsejdt alcatel-lucent manual )

( Waf) , ( .bat , )

eclipsejdt, :

, "jex1p", Project > Properties > Builders. New..., Program OK.

, :

Name             : nmbldr_pre
Location         : ${system_path:ksh}
Working Directory: ${build_project}
Arguments        : nmbldr -p 2 -t ${build_type} -s jpre
+2

eclipse CDT waf, ProjectPreferences- > C/++ Build- > BuilderSettings " ", waf

,   //mark/bin/waf -v -k -j2

, waf make -j, eclipse.

" ", waf, . , ..

, , , Eclipse , Make Make Make, , waf .

+3

VonC, Custom builder.

Alternatively, work less (in the short term) to crack the ant script, to do a hard climb and identify an external builder to set it up for the project. You may find the disadvantages of an external builder (for example, without additional support) means that it is worth the effort to do this β€œcorrectly”.

0
source

All Articles