Hello,

thanks again to Mark for his answer to my question. I was able to build a 
working version of DSpace using the new action. There actually wasn’t a real 
problem with the way I added the actionclass. The problem was in netbeans were 
I build DSpace I haven’t found the settings that prevented netbeans from 
including the new class onto the classpath but I was able to build it 
independent from netbeans.
Best,
Wilko

Von: van Hoek, Wilko [mailto:[email protected]]
Gesendet: Montag, 19. März 2012 15:03
An: [email protected]
Betreff: Re: [Dspace-tech] Adding a new action to xmlworkflow-action

Hello Mark,

I’ve put the new class into the dspace-api module in the same package where the 
default actions for the xmlworkflow are. Shouldn’t it be included in the 
CLASSPATH if it resides in an already existing package of the dspace-api?!?
I’ ll try to examine the build process, maybe there is something wrong…

Thanks,
Wilko

Von: [email protected] [mailto:[email protected]] Im Auftrag von Mark Diggory
Gesendet: Samstag, 17. März 2012 01:51
An: van Hoek, Wilko
Cc: [email protected]
Betreff: Re: [Dspace-tech] Adding a new action to xmlworkflow-action

Wilko,

In which module are you making the new class? it's not getting onto the 
CLASSPATH for your build.

Best,
Mark

On Thursday, March 15, 2012, van Hoek, Wilko 
<[email protected]<mailto:[email protected]>> wrote:
> Hello everyone,
>
>
>
> I am trying to add an own Step to our xmlworkflow. I defined the new step in 
> the workflow.xml and added two new beans to the workflow-action.xml that 
> point to the new actionclass I’ve implemented. It resides in the package 
> org.dspace.xmlworkflow.state.actions.processingaction To create said new 
> class I duplicated an existing class and modified it. After cleaning and 
> rebuilding my DSpace I’m getting the following nested error:
>
>
>
> … Cannot find class 
> [org.dspace.xmlworkflow.state.actions.processingaction.NewAction] for bean 
> with name 'newactionAPI' defined in file 
> [c:\DSpace\config\spring\api\workflow-actions.xml]; …
>
>
>
> I checked the dspace-api-1.8.1.jar (in every Folder I could find it in) and 
> was always able to find the “missing class” in the processingaction package. 
> So it is there and I can’t understand why my Tomcat insist on being unable to 
> find it.
>
>
>
> I hope someone can help me with that, thanks in advance!
>
> Wilko
>
>
>
> ----
>
> Wilko van Hoek / GESIS - Leibniz Institut für Sozialwissenschaften / 
> http://www.gesis.org
>
>
>
>

--
[Beschreibung: Das Bild wurde vom Absender entfernt. @mire Inc.]

Mark Diggory (Schedule a 
Meeting<https://www.google.com/calendar/selfsched?sstoken=UUdDSzJzTTlOUE1mfGRlZmF1bHR8MzgwMmEwYjk1NDc1NDQ1MGI0NWViYjYzZjExZDI3Mzg>)
2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
http://www.atmire.com<http://www.atmire.com/>


<<inline: ~WRD000.jpg>>

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to