You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by Steve Nisbet <S....@mmu.ac.uk> on 2010/03/12 10:14:26 UTC

Couple of questions

Morning folks,
I now have what appears to be a working Wookie installation. I've had a good poot about the various arena's of information you
have regarding Wookie including the embryonic 
http://incubator.apache.org/wookie/index.html
 
the download and install guide, the project status page, and the Admin guide and so on. I realise things are incubating and just
getting off the floor, but one thing I really missed on getting a working install was a sample widget in my shiny Admin panel to
try. Can't seem to find any in the docs - are there any around? I know I can follow the guide to building my own, but I think a
lot of administrators of sites, CMS and VLE's and so on like to be sure that a sub-system is working right after an install before
they commit to getting local effort involved in coding stuff up.
 
Is there a gallery somewhere we can get sample Widgets?
 
 
 
best wishes
 
Steve
 
Learning Resource Manager
Learning & Research Technologies
LRIS
Manchester Metropolitan University
 
Before acting on this email or opening any attachments you should read the
Manchester Metropolitan University's email disclaimer available on its website
http://www.mmu.ac.uk/emaildisclaimer 

Re: Couple of questions

Posted by Scott Wilson <sc...@gmail.com>.
On 14 Mar 2010, at 14:35, Steve Nisbet wrote:
> pre-compile-core:
>     [echo] Compiling files in /root/trunk/src
>     [echo] Build directory is /root/trunk/build/classes
>    [mkdir] Created dir: /root/trunk/build/classes
>     [echo] Compile core of wookie-0.8.1-SNAPSHOT.
>    [javac] Compiling 89 source files to /root/trunk/build/classes
>    [javac] /root/trunk/src/org/apache/wookie/util/gadgets/GadgetAdapter.java:45: org.apache.wookie.util.gadgets.GadgetAdapter is
> not abstract and does not override abstract method fromXML(org.jdom.Element,java.lang.String[]) in
> org.apache.wookie.w3c.W3CWidget
>    [javac] public class GadgetAdapter implements W3CWidget {
>    [javac]        ^
>    [javac] Note: Some input files use or override a deprecated API.
>    [javac] Note: Recompile with -Xlint:deprecation for details.
>    [javac] Note: Some input files use unchecked or unsafe operations.
>    [javac] Note: Recompile with -Xlint:unchecked for details.
>    [javac] 1 error
> 
> BUILD FAILED
> /root/trunk/ant/ivy-java-common.xml:94: Compile failed; see the compiler error output for details.

For Steve and anyone else who is seeing this problem - I just fixed the ivy settings to get rid of this jar caching issue; do an "svn up" and off you go...


Re: Couple of questions

Posted by Scott Wilson <sc...@gmail.com>.
Hi Steve,

1. First, the error you're seeing below is caused by the local wookieW3CParser.jar being an outdated copy that has been cached on your system - the GadgetParser class calls the current API not the old one. So, you need to clean out your jar cache as the parser jar has been updated since you first installed. You can either run "ant clean", then rebuild (you can make a nice hot beverage of your choice while your computer downloads all the jars it needs again). Or you can manually delete the wookieW3CParser from .ant/cache and .m2/repository, if you don't mind digging about a bit and some trial-and-error. (Yes, we will fix this soon!)

2. Second, I think you could have the same issue as Fernando, with Tomcat not able to write to webapps/wookie/wservices preventing any widgets deploying. I've added a FAQ entry on this (its at the bottom of the FAQ page[1]). 

3. If it still doesn't work drop me an email and I'll arrange to pop over and give it a poke seeing as we're both in Manchester ;-)

S

[1] http://incubator.apache.org/wookie/faq.html

On 14 Mar 2010, at 14:35, Steve Nisbet wrote:

> Howdy Ross,
> alas, followed everything on 
> http://incubator.apache.org/wookie/downloading-and-installing-wookie.html#DownloadingandInstallingWookie-RunningWookiewithTomcatandMySQL
> 
> to the letter (have noticed you have updated the information regarding dealing with the security issues in Tomcat), but not a
> single widget is deployed at all, the deploy directory is empty. My attempts at deploying by hand (dropping the wgt into the
> directory) similarly fail to generate any Widgets. Still getting a security error even after deploying the 2.2.1 IMPL jar.
> 
> Thinking things might have changed with the recent work you have done on the SVN, I plodded through the install, now I get a fail
> in ant deploy-webapp with the following 
> 
> 
> 
> pre-compile-core:
>     [echo] Compiling files in /root/trunk/src
>     [echo] Build directory is /root/trunk/build/classes
>    [mkdir] Created dir: /root/trunk/build/classes
>     [echo] Compile core of wookie-0.8.1-SNAPSHOT.
>    [javac] Compiling 89 source files to /root/trunk/build/classes
>    [javac] /root/trunk/src/org/apache/wookie/util/gadgets/GadgetAdapter.java:45: org.apache.wookie.util.gadgets.GadgetAdapter is
> not abstract and does not override abstract method fromXML(org.jdom.Element,java.lang.String[]) in
> org.apache.wookie.w3c.W3CWidget
>    [javac] public class GadgetAdapter implements W3CWidget {
>    [javac]        ^
>    [javac] Note: Some input files use or override a deprecated API.
>    [javac] Note: Recompile with -Xlint:deprecation for details.
>    [javac] Note: Some input files use unchecked or unsafe operations.
>    [javac] Note: Recompile with -Xlint:unchecked for details.
>    [javac] 1 error
> 
> BUILD FAILED
> /root/trunk/ant/ivy-java-common.xml:94: Compile failed; see the compiler error output for details.
> 
> Getting kind of lost with the project at the moment. Any ideas?
> 
> best
> 
> Steve
> 
> 
> 
> Learning Resource Manager
> Learning & Research Technologies
> LRIS
> Manchester Metropolitan University
> 
> Before acting on this email or opening any attachments you should read the
> Manchester Metropolitan University's email disclaimer available on its website
> http://www.mmu.ac.uk/emaildisclaimer 
> 
> 
>>>> Ross Gardler <rg...@apache.org> 13/03/2010 23:07 >>>
> On 12/03/2010 09:14, Steve Nisbet wrote:
> 
>> Is there a gallery somewhere we can get sample Widgets?
> 
> Follow the instructions on the download & install to get a local 
> "stnadalone" instance running and you are pre-populated with a whole 
> bunch of widgets. From the widget gallery page click the demo link on a 
> widget to see it working (it even simulates a multiuser environemnt for you)
> 
> Ross


Re: Couple of questions

Posted by Steve Nisbet <S....@mmu.ac.uk>.
Howdy Ross,
alas, followed everything on 
http://incubator.apache.org/wookie/downloading-and-installing-wookie.html#DownloadingandInstallingWookie-RunningWookiewithTomcatandMySQL
 
to the letter (have noticed you have updated the information regarding dealing with the security issues in Tomcat), but not a
single widget is deployed at all, the deploy directory is empty. My attempts at deploying by hand (dropping the wgt into the
directory) similarly fail to generate any Widgets. Still getting a security error even after deploying the 2.2.1 IMPL jar.
 
Thinking things might have changed with the recent work you have done on the SVN, I plodded through the install, now I get a fail
in ant deploy-webapp with the following 
 
 
 
pre-compile-core:
     [echo] Compiling files in /root/trunk/src
     [echo] Build directory is /root/trunk/build/classes
    [mkdir] Created dir: /root/trunk/build/classes
     [echo] Compile core of wookie-0.8.1-SNAPSHOT.
    [javac] Compiling 89 source files to /root/trunk/build/classes
    [javac] /root/trunk/src/org/apache/wookie/util/gadgets/GadgetAdapter.java:45: org.apache.wookie.util.gadgets.GadgetAdapter is
not abstract and does not override abstract method fromXML(org.jdom.Element,java.lang.String[]) in
org.apache.wookie.w3c.W3CWidget
    [javac] public class GadgetAdapter implements W3CWidget {
    [javac]        ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
 
BUILD FAILED
/root/trunk/ant/ivy-java-common.xml:94: Compile failed; see the compiler error output for details.
 
Getting kind of lost with the project at the moment. Any ideas?
 
best
 
Steve
 
 
 
Learning Resource Manager
Learning & Research Technologies
LRIS
Manchester Metropolitan University
 
Before acting on this email or opening any attachments you should read the
Manchester Metropolitan University's email disclaimer available on its website
http://www.mmu.ac.uk/emaildisclaimer 


>>> Ross Gardler <rg...@apache.org> 13/03/2010 23:07 >>>
On 12/03/2010 09:14, Steve Nisbet wrote:

> Is there a gallery somewhere we can get sample Widgets?

Follow the instructions on the download & install to get a local 
"stnadalone" instance running and you are pre-populated with a whole 
bunch of widgets. From the widget gallery page click the demo link on a 
widget to see it working (it even simulates a multiuser environemnt for you)

Ross

Re: Couple of questions

Posted by Ross Gardler <rg...@apache.org>.
On 12/03/2010 09:14, Steve Nisbet wrote:

> Is there a gallery somewhere we can get sample Widgets?

Follow the instructions on the download & install to get a local 
"stnadalone" instance running and you are pre-populated with a whole 
bunch of widgets. From the widget gallery page click the demo link on a 
widget to see it working (it even simulates a multiuser environemnt for you)

Ross