Hi Jose,
On 11/14/2011 11:19 AM, Blanco, Jose wrote:
> Tim,
> Thank you, Thank you, Thank you! This is great information to have in
> understanding xmlui.
>
> So, one more simple question, I think. I looked at my xmlui.xconf file and
> see that I'm loading the following aspects:
>
> <aspect name="Artifact Browser"
> path="resource://aspects/ArtifactBrowser/" />
> <aspect name="Administration"
> path="resource://aspects/Administrative/" />
> <aspect name="E-Person" path="resource://aspects/EPerson/" />
> <aspect name="Submission and Workflow"
> path="resource://aspects/Submission/" />
>
> So, knowing this I see that the "/community-list" request would be handled by:
>
> ArtifactBrowser
>
> And not
>
> BrowseArtifacts
>
> Which makes me think, what purpose does BrowseArtifacts serve? Why do we
> have it?
In the 1.8.0 xmlui.xconf, it is now configured to use BrowseArtifacts
(as ArtifactBrower is deprecated). There is this note:
<!--
@deprecated: the Artifact Browser has been divided into
ViewArtifacts, BrowseArtifacts, SearchArtifacts
<aspect name="Artifact Browser"
path="resource://aspects/ArtifactBrowser/" />
-->
So, essentially, the ArtifactBrowser is going away in the future. It's
been reworked and split into separate aspects: ViewArtifacts,
BrowseArtifacts, SearchArtifacts -- thus giving one a bit more control
over content in their DSpace.
> One more question, Tim. I hope it's a simple one. I often have problem
> getting the cache to clear in the xmlui world. I remember an email by Mark
> Diggory about deleting a certain directory, but can't remember what directory
> that is, do you know?
In DSpace 1.8.0, there's now an Admin UI button to clear the cache
(without requiring any sort of Tomcat restart). It's in the XMLUI
Control Panel on the Java information tab.
If you are using something before 1.8.0, then you can clear the
XMLUI/Cocoon cache manually by doing the following:
1. Stop Tomcat
2. Your XMLUI/Cocoon cache directory will be at a location like:
[tomcat]/work/Catalina/localhost/[xmlui-path]/cache-dir/
[tomcat] refers to the full path of Tomcat
[xmlui-path] is the path that you have XMLUI running at.
You path may differ slightly (depending on your Tomcat configurations)
-- this is just where mine is. (But, somewhere under your 'work'
directory in Tomcat should be a 'cache-dir' for your XMLUI)
3. You can either delete that entire directory, or just delete the two
'cocoon-ehcache' files located there (named 'cocoon-ehcache.data' and
'cocoon-ehcache.index')
4. Finally, restart Tomcat.
Again, this is all *much much* easier in 1.8.0, as we made it a simple
link in the Control Panel. You no longer have to search for the correct
directory or even restart Tomcat. Just click the link & your cache is
immediately cleared for you (only Administrators can do this obviously)
- Tim
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech