incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Jaquith (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-438) Change Development Structure to java project or dynamic web project
Date Fri, 30 Jan 2009 14:19:59 GMT

    [ https://issues.apache.org/jira/browse/JSPWIKI-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668878#action_12668878
] 

Andrew Jaquith commented on JSPWIKI-438:
----------------------------------------

For whatever reason, the Ant "tests" target fails instantly, for all tests, with a classloading
problem, for example:

Testsuite: java.com.ecyrd.jspwiki.FileUtilTest
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec

	Caused an ERROR
java.com.ecyrd.jspwiki.FileUtilTest
java.lang.ClassNotFoundException: java.com.ecyrd.jspwiki.FileUtilTest
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:164)

A casual glance at the build.xml file suggests that line 745 in build.xml should say:

           <fileset dir="${tests.src}/java">

as should line 777.

I'll take a look tonight to see if there's anything else.



> Change Development Structure to java project or dynamic web project
> -------------------------------------------------------------------
>
>                 Key: JSPWIKI-438
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-438
>             Project: JSPWiki
>          Issue Type: Wish
>         Environment: Eclipse 3.4
>            Reporter: Kurt Stein
>            Assignee: Janne Jalkanen
>
> Hi,
> I am having difficulties to install JSPWiki in Eclipse. I know that Janne has made some
scripts that compile to project. Well, Eclipse runs some nice background compiling development
features so that you don´t need to run the script everytime you change some code.
> Only thing is you need to arrange the wiki structure i little bit more like a web project.
> I know that this has been a issue before but are there any reasons why f.e. the webdocs
can´t be moved to WEB-INF?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message