Re: [OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Dave Newton
t; From: Milan Milanovic <[EMAIL PROTECTED]> > Subject: Re: [OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization > To: user@struts.apache.org > Date: Thursday, July 10, 2008, 1:34 PM > Dear Dave, > > > newton.dave wrote: > > > > --- On Thu, 7/10/08

Re: [OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Milan Milanovic
Dear Dave, newton.dave wrote: > > --- On Thu, 7/10/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: >> Oh, it uses commons-logging-1.0.3.jar but I'm using >> commons-logging-1.0.4.jar in my applications lib directory. >> So, I need to delete 1.0.4 and copy 1.0.3 in my lib ? > > Wouldn't it have

Re: [OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Dave Newton
--- On Thu, 7/10/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > Oh, it uses commons-logging-1.0.3.jar but I'm using > commons-logging-1.0.4.jar in my applications lib directory. > So, I need to delete 1.0.4 and copy 1.0.3 in my lib ? Wouldn't it have been quicker to try it? If it can't find a

Re: [OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Milan Milanovic
Dear Dave, newton.dave wrote: > > --- On Thu, 7/10/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: >> I noticed this, but my Sitegraph plugin in the same >> directory as the dependent jars so I don't need to >> put them into classpath? > > Oh, it looks like the sitegraph plugin puts its requir

Re: [OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Dave Newton
--- On Thu, 7/10/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > I noticed this, but my Sitegraph plugin in the same > directory as the dependent jars so I don't need to > put them into classpath? Oh, it looks like the sitegraph plugin puts its requirements in its manifest file, so never mind a

Re: [OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Milan Milanovic
Dear Dave, newton.dave wrote: > > So... you didn't use "x.x.x", and you didn't add "[-ns NAMESPACE]", which > are obviously placeholders. So is the "...". It should be replaced with > (a) nothing, removing the -cp, and rely on the CLASSPATH environment > variable, (b) use -cp and use the CLASSP

Re: [OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Dave Newton
--- On Thu, 7/10/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > this is how it is given at SiteGraph page: > > java -cp ... -jar struts2-sitegraph-plugin-x.x.x.jar > -config CONFIG_DIR > -views VIEWS_DIRS > -output OUTPUT > [-ns NAMESPACE] So... you didn't use "x.x.x", and y

Re: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Milan Milanovic
Dear Lukasz, Yes, Environment variable CLASSPATH, I wrote above what is content of the variable. java -cp is for setting classpath and it is given at Sitegraph page. I tried just with "java -jar struts2-sitegraph-plugin-2.0.11.1.jar -config ../src/java...", but it is the same. -- Milan Lukas

Re: [OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Milan Milanovic
Dear Dave, this is how it is given at SiteGraph page: java -cp ... -jar struts2-sitegraph-plugin-x.x.x.jar -config CONFIG_DIR -views VIEWS_DIRS -output OUTPUT [-ns NAMESPACE] -- Milan newton.dave wrote: > > --- On Thu, 7/10/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: >

Re: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Milan Milanovic
When I write echo %CLASSPATH% in my command prompt I get this: and I get this exception: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lo gging/LogFactory at org.apache.struts2.sitegraph.SiteGraph.(SiteGraph.java:51) When I write echo %CLASSPATH% in my co

[OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Dave Newton
--- On Thu, 7/10/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > I put this in my classpath: > > C:\eclipse\workspace\myProject\WebContent\WEB-INF\lib\commons-logging-1.0.4.jar; > > and I run sitegraph from my lib folder: > > C:\eclipse\workspace\myProject\WebContent\WEB-INF\lib>java > -cp ...

Re: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Gabriel Belingueres
You didn't unclude the most important part of all your command line: "java -cp " Obviously you failed to add the commons logging jar file to the classpath. Try: java -cp path/to/the/following/file/commons-logging-1.0.4.jar;... .. 2008/7/10 Milan Milanovic <[EMAIL PROTECTED]>: > > Dear D

Re: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Lukasz Lenart
> I put this in my classpath: > > C:\eclipse\workspace\myProject\WebContent\WEB-INF\lib\commons-logging-1.0.4.jar; > > and I run sitegraph from my lib folder: > > C:\eclipse\workspace\myProject\WebContent\WEB-INF\lib>java -cp ... -jar stru > ts2-sitegraph-plugin-2.0.11.1.jar -config ../src/java -vi

RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Milan Milanovic
Dear Dave, I put this in my classpath: C:\eclipse\workspace\myProject\WebContent\WEB-INF\lib\commons-logging-1.0.4.jar; and I run sitegraph from my lib folder: C:\eclipse\workspace\myProject\WebContent\WEB-INF\lib>java -cp ... -jar stru ts2-sitegraph-plugin-2.0.11.1.jar -config ../src/java -vi

RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-09 Thread [EMAIL PROTECTED]
That's not how classpaths work: as I said, jar files must be listed individually. This is most easily done programmatically in a shell script (or batch file*s*; thanks Windows :( *Class* files need only the top-level directory listed--usually a build output directory. Dave Milan Milanovic wro

RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-09 Thread Milan Milanovic
Hi, newton.dave wrote: > > Driving. In an automobile. To get from one place to another. > > Oh that, sorry ;-). You are anwsering to the list while driving, WOW :-). newton.dave wrote: > > Java 101 just means really basic Java: if you put all the libraries in > your lib directory that'd p

RE: [OT] Re: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-09 Thread [EMAIL PROTECTED]
It's the only time I can sleep, too :D Dave Antonio Petrelli wrote: > 2008/7/9 [EMAIL PROTECTED] <[EMAIL PROTECTED]>: >> Driving. In an automobile. To get from one place to another. > Sending e-mail *while* driving? You want a ticket, right? :-D > Antonio > ---

[OT] Re: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-09 Thread Antonio Petrelli
2008/7/9 [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Driving. In an automobile. To get from one place to another. Sending e-mail *while* driving? You want a ticket, right? :-D Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-09 Thread [EMAIL PROTECTED]
Driving. In an automobile. To get from one place to another. Java 101 just means really basic Java: if you put all the libraries in your lib directory that'd probably be enough (plus your build directory, I think somebody else mentioned). Dave Milan Milanovic wrote: > You are driving ? Java 10

Re: [S2] Struts configuration vizualization

2008-07-09 Thread Milan Milanovic
Is this plugin going to work if I define action classes located in struts.xml by using Spring ? -- Thx, Milan Musachy Barroso wrote: > > Or this: > > http://cwiki.apache.org/S2PLUGINS/sitegraph-plugin.html > > musachy > > On Wed, Jul 9, 2008 at 8:08 AM, Don Brown <[EMAIL PROTECTED]> wrote:

RE: RE: Re: [S2] Struts configuration vizualization

2008-07-09 Thread Milan Milanovic
You are driving ? Java 101 ? I must say I don't understand you :-(. I now how to define classpath, but there is a lot of things to configure for this SiteGraph plugin, so I'm asking if anyone have an example ? -- Milan newton.dave wrote: > > No, I'm driving. This is Java 101, so any Java tuto

RE: RE: Re: [S2] Struts configuration vizualization

2008-07-09 Thread [EMAIL PROTECTED]
No, I'm driving. This is Java 101, so any Java tutorial should be able to point you in the right direction. Dave Milan Milanovic wrote: > Could you please give me an example ? > -- > Milan > newton.dave wrote: >> >> No, it means you should include the directory *containing* the compiled >> cla

RE: Re: [S2] Struts configuration vizualization

2008-07-09 Thread Milan Milanovic
Could you please give me an example ? -- Milan newton.dave wrote: > > No, it means you should include the directory *containing* the compiled > class files. Jar files must be listed individually (trivial under > Unix-like environments, nearly under Windows--set your classpath or do it > from a

Re: [S2] Struts configuration vizualization

2008-07-09 Thread Milan Milanovic
I put this in my System environment variable: CLASSPATH, C:\eclipse\workspace\myProject\WebContent\WEB-INF\lib\commons-logging-1.0.4.jar; but I still got the same error ? -- Milan Gabriel Belingueres-2 wrote: > > You may need common-logging jar files to actually execute the plugin, > that is

Re: [S2] Struts configuration vizualization

2008-07-09 Thread Gabriel Belingueres
You may need common-logging jar files to actually execute the plugin, that is, in your java classpath. 2008/7/9 Milan Milanovic <[EMAIL PROTECTED]>: > > It's wierd because I have in that lib directory: > > commons-logging-1.0.4.jar > commons-logging-api-1.1.jar > > -- > Milan > > > Milan Milanovic

RE: Re: [S2] Struts configuration vizualization

2008-07-09 Thread [EMAIL PROTECTED]
No, it means you should include the directory *containing* the compiled class files. Jar files must be listed individually (trivial under Unix-like environments, nearly under Windows--set your classpath or do it from a shell/batch script; why would you do it by hand?!) Dave Milan Milanovic wro

Re: [S2] Struts configuration vizualization

2008-07-09 Thread Milan Milanovic
It's wierd because I have in that lib directory: commons-logging-1.0.4.jar commons-logging-api-1.1.jar -- Milan Milan Milanovic wrote: > > When I tried to run it from my web-inf/lib directory, like this: > > C:\eclipse\workspace\myProjeect\WebContent\WEB-INF\lib>java -cp ... -jar > stru > ts

Re: [S2] Struts configuration vizualization

2008-07-09 Thread Milan Milanovic
When I tried to run it from my web-inf/lib directory, like this: C:\eclipse\workspace\myProjeect\WebContent\WEB-INF\lib>java -cp ... -jar stru ts2-sitegraph-plugin-2.0.11.1.jar - config ../src/java views ../../pages/adminis tration,../../pages/registry,../../pages/samples output graf I got this

Re: [S2] Struts configuration vizualization

2008-07-09 Thread Milan Milanovic
Hi, what this means: "Futhermore, you must also include your Action class files referenced in struts.xml" ? Does this mean that I should include in command line all of my 100 action classes ? -- Thx, Milan Musachy Barroso wrote: > > Or this: > > http://cwiki.apache.org/S2PLUGINS/sitegraph-pl

Re: [S2] Struts configuration vizualization

2008-07-09 Thread Milan Milanovic
Thanks. But this plug-in must be runned from command-line, it doesn't exists as an Eclipse plug-in ? -- Regard, Milan Musachy Barroso wrote: > > Or this: > > http://cwiki.apache.org/S2PLUGINS/sitegraph-plugin.html > > musachy > > On Wed, Jul 9, 2008 at 8:08 AM, Don Brown <[EMAIL PROTECTED]

Re: [S2] Struts configuration vizualization

2008-07-09 Thread Musachy Barroso
Or this: http://cwiki.apache.org/S2PLUGINS/sitegraph-plugin.html musachy On Wed, Jul 9, 2008 at 8:08 AM, Don Brown <[EMAIL PROTECTED]> wrote: > You can try the config browser plugin: > > http://struts.apache.org/2.x/docs/config-browser-plugin.html > > Don > > On Wed, Jul 9, 2008 at 2:04 AM, Mila

Re: [S2] Struts configuration vizualization

2008-07-09 Thread Don Brown
You can try the config browser plugin: http://struts.apache.org/2.x/docs/config-browser-plugin.html Don On Wed, Jul 9, 2008 at 2:04 AM, Milan Milanovic <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm wodering is there any Eclipse plug-in (or something similar) which will > vizualize struts.xml config