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