How to compiler Bpel in Eclipse

    Ode has provide a batch file(bpelc in Linux, bpelc.bat in Windows) to compiler Bpel to check it whether designed correct or not. It is inconvenient design Bpel on Eclipse and compiler on command line. For this reason, Eclipse's external tools function is useful. External tools can let us to use particular program to launch some files. It's like to use "Run As".

    Open Run -> External Tools -> External Tools Configuration... on tool bar. There are two launch, Ant Build and Program, on left menu. Here we select "Program" to launch batch file.

    Press "New launch configuration" icon to add new Program launch. Named this new launch which you like in name field. Then we can assign bpelc location at Location field in main tab. At Arguments field, use ${selected_resource_loc} variable that can retrieve the launched file's location(detailed description please see here). The whole setting like as below picture. Enjoy it.

留言

熱門文章