Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   sharing a visualization of the ant build.xml dependency structure (http://www.chiefdelphi.com/forums/showthread.php?t=100688)

Jeanne Boyarsky 19-01-2012 23:14

sharing a visualization of the ant build.xml dependency structure
 
Our team was trying to write a custom target in the NetBeans build.xml. Since there were so many targets in the sunspot build.xml it calls, it was making my heads spin thinking about the interactions. So I turned it into a visual dependency graph.

Sharing in case anyone else is reading the xml:
Ant terminology for anyone reading this who is confused:
  • build.xml - the name of the file containing instructions on how to build/package/deploy the java code
  • target - kind of like a method except in XML and it gets called differently
  • sunspot build.xml - comes with the plugins - has many targets and calls/includes other xml files with even more targets

Patrickwhite 19-01-2012 23:23

Re: sharing a visualization of the ant build.xml dependency structure
 
Whoa - that huge column gets impossible to follow!

What is your goal in doing this? In the preseason I tried to edit the build.xml so that we could have a process for deploying code that had already been built without recompiling it. I ended up leaving the file as is because I wasn't getting anywhere and I was causing strange errors.

Is your goal somewhat similar?

Jeanne Boyarsky 20-01-2012 16:36

The team is working on a simulator to run code without having a robot. (virsysj which is a java port). The idea is to right click the robot and either deploy to the robot or the simulator. Hence reading the Ant stuff. We didn't really need the visualization. I wanted to see it anyway.

Jeanne Boyarsky 20-01-2012 16:38

One key is we DID NOT touch their build.xml. We only touvhed the build.xml for our robot project. Which imports the monstor file in the visualization. I heavily used zooming to read the file though.


All times are GMT -5. The time now is 22:23.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi