Skip to main content



      Home
Home » Language IDEs » Eclipse Web Tools Platform Project (WTP) » Custom Build Chain for XML?
Custom Build Chain for XML? [message #1859866] Sun, 02 July 2023 04:31 Go to next message
Eclipse UserFriend
I have a bunch of XML files that I edit with the "Eclipse XML Editor and Tools" software - I hope this is the right forum for this.

For these, I've got a custom "build process" based on two PERL scripts:

Step 1: each *.xml -> *.pdf, *.idx (with idx files being CSVs with data extracted and processed from the XML)

Step 2: all *.idx together -> index.pdf (forming an index over all the objects)

I could easily create a Makefile for this, but how do I teach these rules to Eclipse?

[Updated on: Sun, 02 July 2023 04:32] by Moderator

Re: Custom Build Chain for XML? [message #1859868 is a reply to message #1859866] Sun, 02 July 2023 20:08 Go to previous messageGo to next message
Eclipse UserFriend
There are different amounts of integration you can implement, but the simplest would be to add your external build process as an External Builder on the project, so that it will run automatically like all the others.

https://help.eclipse.org/latest/topic/org.eclipse.platform.doc.user/tasks/tasks-exttools-running.htm?cp=0_3_14
Re: Custom Build Chain for XML? [message #1859872 is a reply to message #1859868] Mon, 03 July 2023 02:22 Go to previous messageGo to next message
Eclipse UserFriend
OK, so I can always call make, but that I could just do from the command line. My question was more on how to implement those rules in Eclipse.
Re: Custom Build Chain for XML? [message #1859929 is a reply to message #1859872] Wed, 05 July 2023 16:54 Go to previous messageGo to next message
Eclipse UserFriend
That would be to create a plug-in of your own and register an extension using https://help.eclipse.org/latest/topic/org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_core_resources_builders.html?cp=2_1_1_16 .
Re: Custom Build Chain for XML? [message #1860103 is a reply to message #1859929] Tue, 18 July 2023 02:39 Go to previous message
Eclipse UserFriend
Thanks for the link. Looks like I basically have to program a make in Java to accomplish this. Nope.
Previous Topic:No Script Engines found
Next Topic:"Include Directory" for XSD files?
Goto Forum:
  


Current Time: Fri Jul 11 10:25:52 EDT 2025

Powered by FUDForum. Page generated in 0.07700 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top