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
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
--- 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
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
--- 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
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
--- 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
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
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:
>
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
--- 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 ...
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
> 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
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
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
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
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
> ---
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
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
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
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
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
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
23 matches
Mail list logo