[Ann] yWorks Ant Explorer

Hi,

have submitted a new plugin called "yWorks Ant Explorer". I had some
problems with uploading it - so there is also a duplicated plugin with
an other name...

The plugin is still beta - so any bug reports and criticism are very
welcome...



Johannes Schneider

16 comments
Comment actions Permalink

Hi,

Johannes Schneider wrote:

have submitted a new plugin called "yWorks Ant Explorer".


What does it do?

Bas

0
Comment actions Permalink

This plugin visualizes you Ant Build files.

It creates two views:
- Target view: Displays all targets within the ant file (and within
imported files) and their dependencies.
- Properties view: Displays the properties and their origin


You also can execute a target and view the progress in the target view.



Johannes Schneider



Bas Leijdekkers wrote:

Hi,

Johannes Schneider wrote:

>> have submitted a new plugin called "yWorks Ant Explorer".


What does it do?

Bas

0
Comment actions Permalink

I'm not sure how useful this is yet but the animation is very cool:)

"Johannes Schneider" <js@yworks.com> wrote in message
news:d8bnn9$6ep$1@is.intellij.net...

Hi,

>

have submitted a new plugin called "yWorks Ant Explorer". I had some
problems with uploading it - so there is also a duplicated plugin with an
other name...

>

The plugin is still beta - so any bug reports and criticism are very
welcome...

>
>
>

Johannes Schneider



0
Comment actions Permalink

I can't figure out how to run it.

Tobin


0
Comment actions Permalink

Tobin Juday wrote:

I can't figure out how to run it.


Open your build file as usual (just double click it). On the right
bottom of the editor window, you can select "Ant Explorer"...


Johannes Schneider

0
Comment actions Permalink

Hey, that's cool. Nice job.

Tobin


0
Comment actions Permalink

Nice work, well done!

0
Comment actions Permalink

i get this error,
Error parsing Ant file:null
Any suggestions?
Cheers,
Parthi

0
Comment actions Permalink

parthi wrote:

i get this error,
Error parsing Ant file:null
Any suggestions?
Cheers,
Parthi


Could you take a look into the idea log file? And paste the exception?


Thanks,

Johannes Schneider

0
Comment actions Permalink

Johannes Schneider wrote:

Could you take a look into the idea log file? And paste the exception?


Johannes - I've found a different problem - if you open 3-4 build.xml
files in the same project, the chart is the same for all 3, and the
plugin gets quite confused...

0
Comment actions Permalink

Mark Derricutt wrote:

Johannes - I've found a different problem - if you open 3-4 build.xml
files in the same project, the chart is the same for all 3, and the
plugin gets quite confused...


Yes, this is a known issue - I hope I can fix it soon...
Thanks for reporting.


Johannes Schneider

0
Comment actions Permalink

requested--LOG

2005-06-13 13:15:25,132 INFO - ject.impl.BaseFileConfigurable - Time to save C:\cobra\Cobra.iml: 0
2005-06-13 13:15:25,132 INFO - ject.impl.BaseFileConfigurable - Time to save D:\DATA\857741342.PINE\IdeaProjects\Cobra\Cobra.ipr: 0
2005-06-13 13:15:25,152 INFO - ject.impl.BaseFileConfigurable - Time to save D:\DATA\857741342.PINE\IdeaProjects\Cobra\Cobra.iws: 10
2005-06-13 13:15:25,152 INFO - lij.localVcs.impl.LocalVcsImpl - enter: save(repositorySize=1609)
2005-06-13 13:15:25,152 INFO - lij.localVcs.impl.LocalVcsImpl - purged 0 items
2005-06-13 13:15:25,162 INFO - lij.localVcs.impl.LocalVcsImpl - repositorySizeAfterPurging=1609; Time to purge: 10
2005-06-13 13:15:25,162 INFO - lij.localVcs.impl.LocalVcsImpl - exit: save(repositorySize=1609)
2005-06-13 13:16:52,808 INFO - fs.impl.VirtualFileManagerImpl - refresh(), modalityState=ModalityState.NON_MODAL
2005-06-13 13:16:52,818 INFO - impl.local.LocalFileSystemImpl - adding request to synchronize queue:com.intellij.openapi.m.a.a.c$5@fce6e1
2005-06-13 13:16:52,818 INFO - fs.impl.VirtualFileManagerImpl - beforeRefreshStart()
2005-06-13 13:16:52,818 INFO - fs.impl.VirtualFileManagerImpl - afterRefreshFinish()
2005-06-13 13:16:52,829 INFO - impl.local.LocalFileSystemImpl - Executing request:com.intellij.openapi.m.a.a.c$5@fce6e1
2005-06-13 13:16:52,909 INFO - fs.impl.VirtualFileManagerImpl - beforeRefreshStart()
2005-06-13 13:16:52,909 INFO - fs.impl.VirtualFileManagerImpl - afterRefreshFinish()
2005-06-13 13:16:59,839 INFO - ject.impl.BaseFileConfigurable - Time to save C:\cobra\Cobra.iml: 0
2005-06-13 13:16:59,839 INFO - ject.impl.BaseFileConfigurable - Time to save D:\DATA\857741342.PINE\IdeaProjects\Cobra\Cobra.ipr: 0
2005-06-13 13:16:59,849 INFO - ject.impl.BaseFileConfigurable - Time to save D:\DATA\857741342.PINE\IdeaProjects\Cobra\Cobra.iws: 0
2005-06-13 13:16:59,849 INFO - lij.localVcs.impl.LocalVcsImpl - enter: save(repositorySize=1609)
2005-06-13 13:16:59,849 INFO - lij.localVcs.impl.LocalVcsImpl - purged 0 items
2005-06-13 13:16:59,849 INFO - lij.localVcs.impl.LocalVcsImpl - repositorySizeAfterPurging=1609; Time to purge: 0
2005-06-13 13:16:59,859 INFO - lij.localVcs.impl.LocalVcsImpl - exit: save(repositorySize=1609)
2005-06-13 13:17:00,880 INFO - fs.impl.VirtualFileManagerImpl - refresh(), modalityState=ModalityState.NON_MODAL
2005-06-13 13:17:00,890 INFO - impl.local.LocalFileSystemImpl - adding request to synchronize queue:com.intellij.openapi.m.a.a.c$5@f2d0d
2005-06-13 13:17:00,890 INFO - fs.impl.VirtualFileManagerImpl - beforeRefreshStart()
2005-06-13 13:17:00,890 INFO - fs.impl.VirtualFileManagerImpl - afterRefreshFinish()
2005-06-13 13:17:00,900 INFO - impl.local.LocalFileSystemImpl - Executing request:com.intellij.openapi.m.a.a.c$5@f2d0d
2005-06-13 13:17:00,900 INFO - fs.impl.VirtualFileManagerImpl - beforeRefreshStart()
2005-06-13 13:17:00,900 INFO - fs.impl.VirtualFileManagerImpl - afterRefreshFinish()
2005-06-13 13:17:02,983 INFO - lication.impl.LaterInvocatorEx - enterModal:com.intellij.openapi.i.b.a$d_[dialog11,0,28,0x0,invalid,hidden,layout=java.awt.BorderLayout,modal,title=Error parsing Ant file,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=com.intellij.openapi.i.b.a$4[,0,0,0x0,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
2005-06-13 13:17:04,135 INFO - lication.impl.LaterInvocatorEx - leaveModal:com.intellij.openapi.i.b.a$d_[dialog11,543,472,193x107,invalid,hidden,layout=java.awt.BorderLayout,modal,title=Error parsing Ant file,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=com.intellij.openapi.i.b.a$4[,4,23,185x80,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
2005-06-13 13:17:04,135 INFO - y.antexplorer.AntEditor - Error creating parsing Ant File
java.lang.NullPointerException
at com.yworks.ax.c0.a(DashoA14*..)
at com.yworks.ax.c1.taskFinished(DashoA14*..)
at org.apache.tools.ant.Project.fireTaskFinished(Project.java:1909)
at org.apache.tools.ant.Task.perform(Task.java:380)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:133)
at com.yworks.ax.c0.(DashoA14*..) at com.yworks.ax.cz.b(DashoA14*..) at com.yworks.antvis.idea.SelectionComponent.createAnalysis(DashoA14*..) at com.yworks.ax.c.]]>(DashoA14*..)
at com.yworks.ax.b.a(DashoA14*..)
at com.yworks.antvis.idea.AntEditorProvider.createEditor(DashoA14*..)
at com.intellij.openapi.o.b.d.b(d.java:164)
at com.intellij.openapi.o.b.d.access$900(d.java:540)
at com.intellij.openapi.o.b.d$6.run(d$6.java:2)
at com.intellij.openapi.command.b.a.executeCommand(a.java:105)
at com.intellij.openapi.o.b.d.a(d.java:174)
at com.intellij.openapi.o.b.d.openFile(d.java:109)
at com.intellij.openapi.o.b.d$4.run(d$4.java:13)
at com.intellij.openapi.command.b.a.executeCommand(a.java:43)
at com.intellij.openapi.o.b.d.openTextEditor(d.java:324)
at com.intellij.ide.actions.BaseNavigateToSourceAction$b_.a(BaseNavigateToSourceAction$b_.java:1)
at com.intellij.ide.actions.BaseNavigateToSourceAction.actionPerformed(BaseNavigateToSourceAction.java:9)
at com.intellij.openapi.h.a.e.a(e.java:170)
at com.intellij.openapi.h.a.e.b(e.java:60)
at com.intellij.openapi.h.a.e.a(e.java:19)
at com.intellij.ide.t.a(t.java:162)
at com.intellij.ide.t.dispatchEvent(t.java:9)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
2005-06-13 13:17:06,228 INFO - ject.impl.BaseFileConfigurable - Time to save C:\cobra\Cobra.iml: 0
2005-06-13 13:17:06,228 INFO - ject.impl.BaseFileConfigurable - Time to save D:\DATA\857741342.PINE\IdeaProjects\Cobra\Cobra.ipr: 0
2005-06-13 13:17:06,238 INFO - ject.impl.BaseFileConfigurable - Time to save D:\DATA\857741342.PINE\IdeaProjects\Cobra\Cobra.iws: 0
2005-06-13 13:17:06,238 INFO - lij.localVcs.impl.LocalVcsImpl - enter: save(repositorySize=1609)
2005-06-13 13:17:06,238 INFO - lij.localVcs.impl.LocalVcsImpl - purged 0 items
2005-06-13 13:17:06,238 INFO - lij.localVcs.impl.LocalVcsImpl - repositorySizeAfterPurging=1609; Time to purge: 0
2005-06-13 13:17:06,248 INFO - lij.localVcs.impl.LocalVcsImpl - exit: save(repositorySize=1609)



-


cheers

0
Comment actions Permalink

Thanks for posting...
Will take a deeper look into ;)


Johannes Schneider

parthi wrote:

requested--LOG

2005-06-13 13:15:25,132 INFO - ject.impl.BaseFileConfigurable - Time to save C:\cobra\Cobra.iml: 0
2005-06-13 13:15:25,132 INFO - ject.impl.BaseFileConfigurable - Time to save D:\DATA\857741342.PINE\IdeaProjects\Cobra\Cobra.ipr: 0
2005-06-13 13:15:25,152 INFO - ject.impl.BaseFileConfigurable - Time to save D:\DATA\857741342.PINE\IdeaProjects\Cobra\Cobra.iws: 10
2005-06-13 13:15:25,152 INFO - lij.localVcs.impl.LocalVcsImpl - enter: save(repositorySize=1609)
2005-06-13 13:15:25,152 INFO - lij.localVcs.impl.LocalVcsImpl - purged 0 items
2005-06-13 13:15:25,162 INFO - lij.localVcs.impl.LocalVcsImpl - repositorySizeAfterPurging=1609; Time to purge: 10
2005-06-13 13:15:25,162 INFO - lij.localVcs.impl.LocalVcsImpl - exit: save(repositorySize=1609)
2005-06-13 13:16:52,808 INFO - fs.impl.VirtualFileManagerImpl - refresh(), modalityState=ModalityState.NON_MODAL
2005-06-13 13:16:52,818 INFO - impl.local.LocalFileSystemImpl - adding request to synchronize queue:com.intellij.openapi.m.a.a.c$5@fce6e1
2005-06-13 13:16:52,818 INFO - fs.impl.VirtualFileManagerImpl - beforeRefreshStart()
2005-06-13 13:16:52,818 INFO - fs.impl.VirtualFileManagerImpl - afterRefreshFinish()
2005-06-13 13:16:52,829 INFO - impl.local.LocalFileSystemImpl - Executing request:com.intellij.openapi.m.a.a.c$5@fce6e1
2005-06-13 13:16:52,909 INFO - fs.impl.VirtualFileManagerImpl - beforeRefreshStart()
2005-06-13 13:16:52,909 INFO - fs.impl.VirtualFileManagerImpl - afterRefreshFinish()
2005-06-13 13:16:59,839 INFO - ject.impl.BaseFileConfigurable - Time to save C:\cobra\Cobra.iml: 0
2005-06-13 13:16:59,839 INFO - ject.impl.BaseFileConfigurable - Time to save D:\DATA\857741342.PINE\IdeaProjects\Cobra\Cobra.ipr: 0
2005-06-13 13:16:59,849 INFO - ject.impl.BaseFileConfigurable - Time to save D:\DATA\857741342.PINE\IdeaProjects\Cobra\Cobra.iws: 0
2005-06-13 13:16:59,849 INFO - lij.localVcs.impl.LocalVcsImpl - enter: save(repositorySize=1609)
2005-06-13 13:16:59,849 INFO - lij.localVcs.impl.LocalVcsImpl - purged 0 items
2005-06-13 13:16:59,849 INFO - lij.localVcs.impl.LocalVcsImpl - repositorySizeAfterPurging=1609; Time to purge: 0
2005-06-13 13:16:59,859 INFO - lij.localVcs.impl.LocalVcsImpl - exit: save(repositorySize=1609)
2005-06-13 13:17:00,880 INFO - fs.impl.VirtualFileManagerImpl - refresh(), modalityState=ModalityState.NON_MODAL
2005-06-13 13:17:00,890 INFO - impl.local.LocalFileSystemImpl - adding request to synchronize queue:com.intellij.openapi.m.a.a.c$5@f2d0d
2005-06-13 13:17:00,890 INFO - fs.impl.VirtualFileManagerImpl - beforeRefreshStart()
2005-06-13 13:17:00,890 INFO - fs.impl.VirtualFileManagerImpl - afterRefreshFinish()
2005-06-13 13:17:00,900 INFO - impl.local.LocalFileSystemImpl - Executing request:com.intellij.openapi.m.a.a.c$5@f2d0d
2005-06-13 13:17:00,900 INFO - fs.impl.VirtualFileManagerImpl - beforeRefreshStart()
2005-06-13 13:17:00,900 INFO - fs.impl.VirtualFileManagerImpl - afterRefreshFinish()
2005-06-13 13:17:02,983 INFO - lication.impl.LaterInvocatorEx - enterModal:com.intellij.openapi.i.b.a$d_[dialog11,0,28,0x0,invalid,hidden,layout=java.awt.BorderLayout,modal,title=Error parsing Ant file,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=com.intellij.openapi.i.b.a$4[,0,0,0x0,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
2005-06-13 13:17:04,135 INFO - lication.impl.LaterInvocatorEx - leaveModal:com.intellij.openapi.i.b.a$d_[dialog11,543,472,193x107,invalid,hidden,layout=java.awt.BorderLayout,modal,title=Error parsing Ant file,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=com.intellij.openapi.i.b.a$4[,4,23,185x80,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
2005-06-13 13:17:04,135 INFO - y.antexplorer.AntEditor - Error creating parsing Ant File
java.lang.NullPointerException
at com.yworks.ax.c0.a(DashoA14*..)
at com.yworks.ax.c1.taskFinished(DashoA14*..)
at org.apache.tools.ant.Project.fireTaskFinished(Project.java:1909)
at org.apache.tools.ant.Task.perform(Task.java:380)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:133)
at com.yworks.ax.c0.<init>(DashoA14*..)
at com.yworks.ax.cz.b(DashoA14*..)
at com.yworks.antvis.idea.SelectionComponent.createAnalysis(DashoA14*..)
at com.yworks.ax.c.<init>(DashoA14*..)
at com.yworks.ax.b.a(DashoA14*..)
at com.yworks.antvis.idea.AntEditorProvider.createEditor(DashoA14*..)
at com.intellij.openapi.o.b.d.b(d.java:164)
at com.intellij.openapi.o.b.d.access$900(d.java:540)
at com.intellij.openapi.o.b.d$6.run(d$6.java:2)
at com.intellij.openapi.command.b.a.executeCommand(a.java:105)
at com.intellij.openapi.o.b.d.a(d.java:174)
at com.intellij.openapi.o.b.d.openFile(d.java:109)
at com.intellij.openapi.o.b.d$4.run(d$4.java:13)
at com.intellij.openapi.command.b.a.executeCommand(a.java:43)
at com.intellij.openapi.o.b.d.openTextEditor(d.java:324)
at com.intellij.ide.actions.BaseNavigateToSourceAction$b_.a(BaseNavigateToSourceAction$b_.java:1)
at com.intellij.ide.actions.BaseNavigateToSourceAction.actionPerformed(BaseNavigateToSourceAction.java:9)
at com.intellij.openapi.h.a.e.a(e.java:170)
at com.intellij.openapi.h.a.e.b(e.java:60)
at com.intellij.openapi.h.a.e.a(e.java:19)
at com.intellij.ide.t.a(t.java:162)
at com.intellij.ide.t.dispatchEvent(t.java:9)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
2005-06-13 13:17:06,228 INFO - ject.impl.BaseFileConfigurable - Time to save C:\cobra\Cobra.iml: 0
2005-06-13 13:17:06,228 INFO - ject.impl.BaseFileConfigurable - Time to save D:\DATA\857741342.PINE\IdeaProjects\Cobra\Cobra.ipr: 0
2005-06-13 13:17:06,238 INFO - ject.impl.BaseFileConfigurable - Time to save D:\DATA\857741342.PINE\IdeaProjects\Cobra\Cobra.iws: 0
2005-06-13 13:17:06,238 INFO - lij.localVcs.impl.LocalVcsImpl - enter: save(repositorySize=1609)
2005-06-13 13:17:06,238 INFO - lij.localVcs.impl.LocalVcsImpl - purged 0 items
2005-06-13 13:17:06,238 INFO - lij.localVcs.impl.LocalVcsImpl - repositorySizeAfterPurging=1609; Time to purge: 0
2005-06-13 13:17:06,248 INFO - lij.localVcs.impl.LocalVcsImpl - exit: save(repositorySize=1609)



-----------cheers

0
Comment actions Permalink

That's really nice.

I like being able to look at the ANT file graphically like that.

Amnon

Johannes Schneider wrote:

Hi,

have submitted a new plugin called "yWorks Ant Explorer". I had some
problems with uploading it - so there is also a duplicated plugin with
an other name...

The plugin is still beta - so any bug reports and criticism are very
welcome...



Johannes Schneider

0
Comment actions Permalink

This is a superb tool. The graphical representation is really clear, and I also like the way it shows dependencies between properties. It is also really well-integrated into IntelliJ, with links from the text view to the graphical view. And the animation is really snazzy.

Some feature requests that would make this really wonderful (in order of priority):
1) Some sort of export- I now have a lovely big diagram of a cumbersome Ant script, but I cannot see it all at once. I'd therefore like to export or print it.
2) The ability to navigate between dependent build scripts from the graphical view. This would be useful for navigating build systems with a master Ant script that delegates behaviour to module scripts (i.e. via an "ant" task).
3) Links from text view to graphical view. Like "Goto source" in the graphical view, it would be really cool to have a "Goto diagram" when the cursor is over an Ant task (or property) in the text view.

By the way, I couldn't download this via the "Plugins" configuration within IDEA- I had to manually download from the community site.

Kevin.

0
Comment actions Permalink

Hi Johannes

it looks lovely!

i have the following error, when using properties defined in the
idea-ant-system.

C:\temp\vss\sts\dev\build.xml:3: Cannot find ${sts.mk}/build.subdir.xml
imported from C:\temp\vss\sts\dev\build.xml

sts.mk would be defined in the idea ant-properties.

attached is the exception.

regards
-claude

"Johannes Schneider" <js@yworks.com> wrote in message
news:d8bnn9$6ep$1@is.intellij.net...

Hi,

>

have submitted a new plugin called "yWorks Ant Explorer". I had some
problems with uploading it - so there is also a duplicated plugin with
an other name...

>

The plugin is still beta - so any bug reports and criticism are very
welcome...

>
>
>

Johannes Schneider






Attachment(s):
exception.txt
0

Please sign in to leave a comment.