From: Emmanuel P. <Emm...@lr...> - 2011-09-01 05:08:45
|
Don't try to compile everymmodule in project zvtm from root. This won't work. Checkout zvtm-core/trunk, 'mvn install' it, then checkout zgrviewer/trunk and 'mvn package' it. This should work. -- Emmanuel Pietriga INRIA Saclay - In Situ http://www.lri.fr/~pietriga On 1 sept. 2011, at 00:23, Mingmin Chen wrote: > Thanks. I tried "mvn compile" under both zvtm and zgrviewer/trunk, but none of them succeeded. I am assuming that some jar file doesn't exist in the maven repository. > > The log I got from zvtm is: > > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] ZVTM > [INFO] ZVTM-AGILE2D > [INFO] ZVTM-SVG > [INFO] ZVTM-PDF > [INFO] ZUIST > [INFO] ZUIST-PDF > [INFO] zvtm-fits > [INFO] zvtm-cluster > [INFO] ZVTM-LAYOUT > [INFO] ZVTM-ZUIST > [INFO] ------------------------------------------------------------------------ > [INFO] Building ZVTM > [INFO] task-segment: [compile] > [INFO] ------------------------------------------------------------------------ > [INFO] [resources:resources {execution: default-resources}] > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 1 resource > [INFO] [compiler:compile {execution: default-compile}] > [INFO] Nothing to compile - all classes are up to date > [INFO] ------------------------------------------------------------------------ > [INFO] Building ZVTM-AGILE2D > [INFO] task-segment: [compile] > [INFO] ------------------------------------------------------------------------ > [INFO] [resources:resources {execution: default-resources}] > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 0 resource > [INFO] ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > No versions are present in the repository for the artifact with a range [0.0.1-SNAPSHOT,) > agile2d:agile2d:jar:null > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > zvtm repository (http://zvtm.sourceforge.net/maven) > > Path to dependency: > 1) fr.inria.zvtm:zvtm-agile2d:jar:0.1.0-SNAPSHOT > > > And the log I got from zgrviewer/trunk is > > 1 required artifact is missing. > > for artifact: > fr.inria.zvtm:zgrviewer:jar:0.9.0-SNAPSHOT > > > Something wrong with the pom.xml or the repository? > > Thanks, > Mingmin > > On Mon, Aug 29, 2011 at 10:20 PM, Emmanuel Pietriga <emm...@in...> wrote: > > That file is generated right before compilation by antlr from the DOT.g grammar file. Checkout the source code from SVN, run 'mvn compile', and you will get the Java parser. > > > > Emmanuel > > > > -- > > Emmanuel Pietriga > > INRIA Saclay - In Situ > > http://www.lri.fr/~pietriga > > > > On 29 août 2011, at 20:39, Mingmin Chen wrote: > > > >> Thanks. Is there any way to get the source code of DOTParser, > >> DOTTreeParser which I don't see in the SVN repository? > >> > >> Mike > >> > >> On Mon, Aug 29, 2011 at 11:03 AM, Emmanuel Pietriga > >> <Emm...@lr...> wrote: > >>> The DOT parser will return an abstract syntax tree representing a DOT file *output* by GraphViz with layout information already stored in it. ZGRViewer does not know how to layout a graph. It relies on GraphViz for that. > >>> > >>> -- > >>> Emmanuel Pietriga > >>> INRIA Saclay - In Situ > >>> http://www.lri.fr/~pietriga > >>> > >>> On 29 août 2011, at 19:49, Mingmin Chen wrote: > >>> > >>>> Hi Emmanuel, > >>>> > >>>> Thanks, but from what I know from the source code, DOTLexer, > >>>> DOTParser, DOTTreeParser (which do not depend on Graphviz) together > >>>> are able to parse a .dot file to get a > >>>> net.claribole.zgrviewer.dot.Graph instance. > >>>> > >>>> I tried displayDOT() in DOTManager.java, which caused an error in > >>>> createEdgesGlyphs() (in ZgrReader.java). The bug is that > >>>> edge.pos.getControls() always returns an array of null in > >>>> createEdgesGlyphs, even with the simplest .dot file. So, I assume that > >>>> it is a bug in DOTTreeParser which does give enough information to the > >>>> Graph it generates. However, I cannot get the source code of > >>>> DOTTreeParser in the SVN repository. Is there any way I can the > >>>> complete source code of zgrviewer? > >>>> > >>>> > >>>> Thanks, > >>>> Mike > >>>> > >>>> On Fri, Aug 26, 2011 at 11:21 PM, Emmanuel Pietriga > >>>> <emm...@in...> wrote: > >>>>> Hello Mike, > >>>>> > >>>>> ZGRViewer only *displays* graphs laid out by GraphViz. It does not embed any layout algorithm, and can't generate anything if GraphViz is not installed. > >>>>> > >>>>> Emmanuel > >>>>> -- > >>>>> Emmanuel Pietriga > >>>>> INRIA Saclay - In Situ > >>>>> http://www.lri.fr/~pietriga > >>>>> > >>>>> On 26 août 2011, at 21:04, Mingmin Chen wrote: > >>>>> > >>>>>> Hello, > >>>>>> > >>>>>> I am new to zgrviewer. I am wondering if there are some method to > >>>>>> generate a png or gif file from a dot file without using graphviz. > >>>>>> > >>>>>> The reason why I don't wanna use graphviz is that I may wanna use it > >>>>>> in some server which it is not guaranteed that Graphviz is installed. > >>>>>> > >>>>>> I know that zgrviewer provides a parser to get a > >>>>>> net.claribole.zgrviewer.dot.Graph instance by parsing a dot file. But > >>>>>> how do I get a png file from this net.claribole.zgrviewer.dot.Graph > >>>>>> instance? > >>>>>> > >>>>>> Thanks, > >>>>>> Mike > >>>>>> > >>>>>> ------------------------------------------------------------------------------ > >>>>>> EMC VNX: the world's simplest storage, starting under $10K > >>>>>> The only unified storage solution that offers unified management > >>>>>> Up to 160% more powerful than alternatives and 25% more efficient. > >>>>>> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev > >>>>>> _______________________________________________ > >>>>>> zvtm-devel mailing list > >>>>>> zvt...@li... > >>>>>> https://lists.sourceforge.net/lists/listinfo/zvtm-devel > >>>>> > >>>>> > >>>>> ------------------------------------------------------------------------------ > >>>>> EMC VNX: the world's simplest storage, starting under $10K > >>>>> The only unified storage solution that offers unified management > >>>>> Up to 160% more powerful than alternatives and 25% more efficient. > >>>>> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev > >>>>> _______________________________________________ > >>>>> zvtm-devel mailing list > >>>>> zvt...@li... > >>>>> https://lists.sourceforge.net/lists/listinfo/zvtm-devel > >>>>> > >>>> > >>>> ------------------------------------------------------------------------------ > >>>> EMC VNX: the world's simplest storage, starting under $10K > >>>> The only unified storage solution that offers unified management > >>>> Up to 160% more powerful than alternatives and 25% more efficient. > >>>> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev > >>>> _______________________________________________ > >>>> zvtm-devel mailing list > >>>> zvt...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/zvtm-devel > >>> > >>> > >>> ------------------------------------------------------------------------------ > >>> Special Offer -- Download ArcSight Logger for FREE! > >>> Finally, a world-class log management solution at an even better > >>> price-free! And you'll get a free "Love Thy Logs" t-shirt when you > >>> download Logger. Secure your free ArcSight Logger TODAY! > >>> http://p.sf.net/sfu/arcsight-sdnews > >>> _______________________________________________ > >>> zvtm-devel mailing list > >>> zvt...@li... > >>> https://lists.sourceforge.net/lists/listinfo/zvtm-devel > >>> > >> > >> ------------------------------------------------------------------------------ > >> Special Offer -- Download ArcSight Logger for FREE! > >> Finally, a world-class log management solution at an even better > >> price-free! And you'll get a free "Love Thy Logs" t-shirt when you > >> download Logger. Secure your free ArcSight Logger TODAY! > >> http://p.sf.net/sfu/arcsisghtdev2dev > >> _______________________________________________ > >> zvtm-devel mailing list > >> zvt...@li... > >> https://lists.sourceforge.net/lists/listinfo/zvtm-devel > > > > > > ------------------------------------------------------------------------------ > > Special Offer -- Download ArcSight Logger for FREE! > > Finally, a world-class log management solution at an even better > > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > > download Logger. Secure your free ArcSight Logger TODAY! > > http://p.sf.net/sfu/arcsisghtdev2dev > > _______________________________________________ > > zvtm-devel mailing list > > zvt...@li... > > https://lists.sourceforge.net/lists/listinfo/zvtm-devel > > > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev_______________________________________________ > zvtm-devel mailing list > zvt...@li... > https://lists.sourceforge.net/lists/listinfo/zvtm-devel |