Re: [Dspace-tech] Feedback Form Error

2012-11-22 Thread TSon
I am adding the stacktrace
-

 Java stacktrace [hide]

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1943)
at java.lang.String.substring(String.java:1916)
at
org.dspace.app.xmlui.aspect.artifactbrowser.SendFeedbackAction.act(SendFeedbackAction.java:84)
at
org.apache.cocoon.sitemap.impl.DefaultExecutor.invokeAction(DefaultExecutor.java:55)
at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:105)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
at
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:81)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:239)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:186)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:260)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:107)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:87)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
at
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:81)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:239)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:186)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:260)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:107)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
at
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:81)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:239)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:186)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:260)
at
org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:277)
at
org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:148)
at
org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSource(SitemapSourceFactory.java:62)
at
org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:153)
at
org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:183)
at
org.apache.cocoon.generation.FileGenerator.setup(FileGenerator.java:99)
at
org.dspace.app.xmlui.cocoon.AspectGenerator.setup(AspectGenerator.java:81)
at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
at

Re: [Dspace-tech] Feedback Form Error

2012-11-22 Thread helix84
Try this solution:

http://dspace.2283337.n4.nabble.com/Problem-with-Feedback-Link-td4184938.html


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Feedback Form Error after changing DNS entry

2012-11-22 Thread TSon
Hi Everyone, 

(DSpace 1.8.2)

I just set up the DNS entry for my DSpace installation so that mydspace.xyz
points to the server 192.168.x.xx after making the entry I can type in the
browser mydspace.xyz and my dspace home page comes up without a problem. 
However when I click on the feedback form I get the following error: 

org.dspace.authorize.AuthorizeException: The feedback mail page may only be
invoked from another DSpace page 

I researched the problem here and I changed the setting in dspace.cfg to: 

mail.allowed.referrers = myspace.xyz (was set to localhost) 

Now I am getting the following error when I try to go to the feedback page: 

java.lang.StringIndexOutOfBoundsException: String index out of range: -1 

Can anyone tell me what I need to do the correct this problem?


I am adding the stacktrace 
- 

 Java stacktrace [hide] 

java.lang.StringIndexOutOfBoundsException: String index out of range: -1 
at java.lang.String.substring(String.java:1943) 
at java.lang.String.substring(String.java:1916) 
at
org.dspace.app.xmlui.aspect.artifactbrowser.SendFeedbackAction.act(SendFeedbackAction.java:84)
 
at
org.apache.cocoon.sitemap.impl.DefaultExecutor.invokeAction(DefaultExecutor.java:55)
 
at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:105)
 
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
 
at
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
 
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
 
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
 
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
 
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:81)
 
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:239)
 
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:186)
 
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:260)
 
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:107)
 
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
 
at
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:87)
 
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
 
at
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
 
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
 
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
 
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
 
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:81)
 
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:239)
 
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:186)
 
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:260)
 
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:107)
 
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
 
at
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
 
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
 
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
 
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
 
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:81)
 
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:239)
 
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:186)
 
at

[Dspace-tech] How do I import an MS Word file into DSpace using SWORD?

2012-11-22 Thread Magnus Norberg

Does anyone know where I can read more about this?
Thanks!
/Magnus, Sweden   --
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Feedback Form Error

2012-11-22 Thread Sonia R Thompson
Helix84,

My setting seem correct but I still I get the error. Here are my current 
settings:



# DSpace host name - should match base URL.  Do not include port number
dspace.hostname = myspace.xyz

# DSpace base host URL.  Include port number etc.
dspace.baseUrl = http://myspace.xyz:8080

# DSpace base URL.  Include port number etc., but NOT trailing slash
# Change to xmlui if you wish to use the xmlui as the default, or remove
# /jspui and set webapp of your choice as the ROOT webapp in
# the servlet engine.
dspace.url = ${dspace.baseUrl}/xmlui

# The base URL of the OAI webapp (do not include /request).
dspace.oai.url = ${dspace.baseUrl}/oai

# Name of the site
dspace.name = MYSpace


TSon

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Thursday, 22 November 2012 09:19 AM
To: TSon
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Feedback Form Error

Try this solution:

http://dspace.2283337.n4.nabble.com/Problem-with-Feedback-Link-td4184938.html


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How do I import an MS Word file into DSpace using SWORD?

2012-11-22 Thread helix84
On Thu, Nov 22, 2012 at 2:31 PM, Magnus Norberg mango_pa...@hotmail.com wrote:
 Does anyone know where I can read more about this?

Hi Magnus,

here's a good starting place:

http://blog.stuartlewis.com/2009/07/04/direct-from-ms-word-to-dspace-via-sword/


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Feedback Form Error

2012-11-22 Thread helix84
Is that the actual contents of your dspace.cfg?

How is dspace.xyz defined in your hosts file (/etc/hosts)?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] PDF text extra spaces

2012-11-22 Thread Mark Ehle
Folks - Is there a way to get the pdf text extractor to not put spaces
between the letters of words? When I save the text using Adobe reader, it
looks correct, but in dspace the text looks like this:

===
Citizens don't believe America will go to war with Iran
POLL, F R O M 1A
t e r r e s t r i a l l i fe .
W i t h D e m o c r a t s p o i s e d
to t a k e c o n t r o l of C o n g r e s s
t h i s w e e k , e igh t in 10 p e o -
ple p r e d i c t l a w m a k e r s wi l l
r a i s e t h e $5 . i5 -an-hour fed-
e ra l m i n i m u m w a g e .
It w o u l d b e t h e f i r s t
i n c r e a s e s i n c e 1997.


And the same area from Adobe Reader looks like this:


Citizens don't believe America will go to war with Iran

POLL, FROM 1A
proposed raising it in stag-while 26 percent said North with $3 over the
summer. worldwide have died from with Iran or North Korea.
es to $7.25 an hour. Presi-Korea. Also, 57 percent said it the disease.
Democrats and people
dent Bush has said he sup-Higher gas prices, legal-is likely that another
state Health officials fear under 35 were more likely


Thanks for your help!

Mark
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Feedback Form Error

2012-11-22 Thread Sonia R Thompson
Hello helix84,

Yes it is the actual contents of the dspace.cfg - I just made changes to the 
actual hostname for publication but formatting is the same.

I cannot seem to find the hosts file.  I searched the whole of 
/var/data/dspace/ but no luck.  Is it a file I am supposed to create?

Thanks
TSon

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Thursday, 22 November 2012 09:59 AM
To: Sonia R Thompson
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Feedback Form Error

Is that the actual contents of your dspace.cfg?

How is dspace.xyz defined in your hosts file (/etc/hosts)?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Feedback Form Error

2012-11-22 Thread helix84
No, it's a file that should be present by default on every system in
/etc/hosts. It's not part of DSpace per se.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Feedback Form Error

2012-11-22 Thread helix84
On Thu, Nov 22, 2012 at 4:33 PM, Sonia R Thompson
sthomp...@caribbeancourtofjustice.org wrote:
 Ok, good I found it.  Here are the contents:

 127.0.0.1   localhost
 #START HOSTNAME
 192.168.x.xx   MYSpaceMYSpace.local
 #END HOSTNAME

 Should I add the DNS name I created for 192.168.x.xx like this

 192.168.x.xx   myspace.xyz

 Thank you so much for your time

 TSon


You can either add it there like this:

192.168.x.xx   MYSpaceMYSpace.local myspace.xyz

or, alternatively, you can use the MYSpace.local hostname in
dspace.cfg instead of myspace.xyz.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] PDF text extra spaces

2012-11-22 Thread helix84
On Thu, Nov 22, 2012 at 3:46 PM, Mark Ehle marke...@gmail.com wrote:
 Folks - Is there a way to get the pdf text extractor to not put spaces
 between the letters of words? When I save the text using Adobe reader, it
 looks correct, but in dspace the text looks like this:

That's usually what you get when you use wrong encoding to view the
text, e.g. if the text is in UTF-16 and you're assuming it's ASCII.

I have no advice in this case, I'd suspect the original file is
somehow incorrect.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] PDF text extra spaces

2012-11-22 Thread helix84
Actually, you might try changing the default PDFBox PDF filter and
using the alternative XPDF:

https://wiki.duraspace.org/display/DSDOC18/Configuration#Configuration-XPDFFilter


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] PDF text extra spaces

2012-11-22 Thread helix84
On Thu, Nov 22, 2012 at 5:09 PM, helix84 heli...@centrum.sk wrote:
 Actually, you might try changing the default PDFBox PDF filter and
 using the alternative XPDF:

 https://wiki.duraspace.org/display/DSDOC18/Configuration#Configuration-XPDFFilter

And you can test whether that would work with your document simply by
running the pdftotext tool from command line.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Modifications to DSPACE-JSPUI code being ignored on partial rebuilds

2012-11-22 Thread Darren Arsenault
Hi all,

I am using DSpace 1.8.0 and JSPUI in my instance.

I am having an issue with some modified code being ignored after a partial 
rebuild of DSpace.

I altered the ItemTag.java class in the dspace-jspui directory. I added code 
that displays URL information as an actual link, as opposed to the plain text 
default, and performed a full rebuild:

cd D:\dspace-1.8.0-source\
mvn clean package
cd dspace\target\dspace-1.8.0-build
ant update

then copy the appropriate folders and files to Tomcat and restart the server.

The code works perfectly after this is done.

Then, when I do a partial rebuild for whatever reason (usually a small 
VIEW-layer change) like so:

cd D:\dspace-1.8.0-source\dspace\
mvn clean package
cd target\dspace-1.8.0-build
ant update

then copy the appropriate folders and restart the server

The code now does not work anymore, and the links are once again displayed as 
plain text.

I am fairly certain at this point that it is my lack of knowledge concerning 
MVN  and/or ANT that is causing this. Could anyone direct me as to what the 
cause of my current sorrow is, and where I might learn more about it?

Thank you very much for your time. Good-day and be well.

Darren Arsenault
Programmer
Algonquin College
1385 Woodroffe Avenue
Ottawa, ON, K2G 1V8

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Modifications to DSPACE-JSPUI code being ignored on partial rebuilds

2012-11-22 Thread helix84
Hi Darren,

quick build serves to rebuild things like overlays, which reside in
[dspace-source]/dspace/modules. I almost never use it, so I'm not
sure, but I don't think it rebuilds the JSPUI jars.

ItemTag is located in
dspace-jspui/dspace-jspui-webapp/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java.

I think you need to place it into
[dspace-source]/dspace/modules/jspui/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java,
which will overlay the original file in the original location. Then
changes to this file should apear after the quick rebuild.

Can you try and report back?

You can learn more background about overlays in Tim's presentation:
https://www.ideals.illinois.edu/handle/2142/11915


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Modifications to DSPACE-JSPUI code being ignored on partial rebuilds

2012-11-22 Thread Darren Arsenault
Hi Ivan,

That did the trick! Thank you very much!

I place all of my modified JSPs in [dspace-source]/dspace/modules/..., but I 
did not realize that we could add new directories—containing the modified API 
code—that would then overlay the originals as well. I've done quite a few full 
builds that were unnecessary given that this is possible—I wish I had asked 
sooner!

I haven't seen Tim's presentation yet, but I intend to. Thanks again.

Darren Arsenault
Programmer
Algonquin College
1385 Woodroffe Avenue
Ottawa, ON, K2G 1V8

From: ivan.ma...@gmail.com [ivan.ma...@gmail.com] On Behalf Of helix84 
[heli...@centrum.sk]
Sent: November-22-12 1:58 PM
To: Darren Arsenault
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Modifications to DSPACE-JSPUI code being ignored on 
partial rebuilds

Hi Darren,

quick build serves to rebuild things like overlays, which reside in
[dspace-source]/dspace/modules. I almost never use it, so I'm not
sure, but I don't think it rebuilds the JSPUI jars.

ItemTag is located in
dspace-jspui/dspace-jspui-webapp/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java.

I think you need to place it into
[dspace-source]/dspace/modules/jspui/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java,
which will overlay the original file in the original location. Then
changes to this file should apear after the quick rebuild.

Can you try and report back?

You can learn more background about overlays in Tim's presentation:
https://www.ideals.illinois.edu/handle/2142/11915


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Interested in a simplified build?

2012-11-22 Thread Steve Swinsburg
Hi all,

Is anyone interested in a simplified build for DSpace?

Currently you need to build via Maven, then deploy via Ant, from a different 
directory. This wastes a lot of time. So I wrote an Ant script to bootstrap the 
build and deployment into one command which allows chaining. It's just one file 
and the current Ant commands work. It does not affect the current build process 
at all, its in addition, but we now use it exclusively as it saves us a lot of 
time.

For example:

help:
 [echo]
 [echo] DSpace build helper
 [echo] ---
 [echo]
 [echo] Available targets are:
 [echo]
 [echo] clean   -- Runs mvn clean
 [echo] package   -- Runs mvn package
 [echo] update -- Update config, etc, lib and web applications 
without touching your data. This will call package if it needs to.
 [echo] update_webapps   -- Update web applications
 [echo]
 [echo] fresh_install   -- Perform a fresh installation of the software, 
including the databases  config
 [echo] clean_database   -- Remove DSpace database tables, destroying data
 [echo]


So if you are interested I'll file a Jira and send a pull request.

regards,
Steve

--
Steve Swinsburg
Java Team Leader
Information Technology Infrastructure
Information Technology Services
Building 3K
The Australian National University
Canberra ACT 0200

T: +61 2 6125 6608
F: +61 2 6125 0449

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Interested in a simplified build?

2012-11-22 Thread helix84
Hi Steve,

I'm sure this is a convenient feature for you. I just wanted to note
that the other developers were generally aiming to eliminate ant for
deployment and complete the transition to Maven, so I guess it would
make sense to try that instead (if it's possible).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] XOAI patch fail

2012-11-22 Thread Alain Tschanz
I'm trying to add the XOAI add-on (lyncode-XOAI-DSpace-Addon-1.8.2-7b462ba) to 
my 1.8.2 DSpace install, but keep getting an error message when I run the patch 
script:




./install.sh ../dspace-1.8.2-src-release

patching file dspace/config/launcher.xml

patching file dspace/modules/pom.xml

patching file dspace/pom.xml

patching file dspace/solr/solr.xml

Hunk #1 FAILED at 31.

1 out of 1 hunk FAILED -- saving rejects to file dspace/solr/solr.xml.rej

patching file dspace/src/main/config/build.xml

patching file pom.xml





dspace/solr/solr.xml.rej



--- dspace/solr/solr.xml

+++ dspace/solr/solr.xml

@@ -31,6 +31,7 @@

   cores adminPath=/admin/cores

 core name=search instanceDir=search /

 core name=statistics instanceDir=statistics /

+ core name=xoai instanceDir=xoai /

   /cores



/solr

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] XOAI patch fail

2012-11-22 Thread helix84
It's failing because of difference in EOL in solr.xml. I fixed the
xoai.diff file to account for that, find it attached. The rest patches
successfully.

Regards,
~~helix84


On Fri, Nov 23, 2012 at 1:52 AM, Alain Tschanz atsch...@njstatelib.org wrote:
 I’m trying to add the XOAI add-on (lyncode-XOAI-DSpace-Addon-1.8.2-7b462ba)
 to my 1.8.2 DSpace install, but keep getting an error message when I run the
 patch script:





 ./install.sh ../dspace-1.8.2-src-release

 patching file dspace/config/launcher.xml

 patching file dspace/modules/pom.xml

 patching file dspace/pom.xml

 patching file dspace/solr/solr.xml

 Hunk #1 FAILED at 31.

 1 out of 1 hunk FAILED -- saving rejects to file dspace/solr/solr.xml.rej

 patching file dspace/src/main/config/build.xml

 patching file pom.xml





 dspace/solr/solr.xml.rej



 --- dspace/solr/solr.xml

 +++ dspace/solr/solr.xml

 @@ -31,6 +31,7 @@

cores adminPath=/admin/cores

  core name=search instanceDir=search /

  core name=statistics instanceDir=statistics /

 + core name=xoai instanceDir=xoai /

/cores



 /solr




 --
 Monitor your physical, virtual and cloud infrastructure from a single
 web console. Get in-depth insight into apps, servers, databases, vmware,
 SAP, cloud infrastructure, etc. Download 30-day Free Trial.
 Pricing starts from $795 for 25 servers or applications!
 http://p.sf.net/sfu/zoho_dev2dev_nov
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech



xoai.diff
Description: Binary data
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Interested in a simplified build?

2012-11-22 Thread Steve Swinsburg
Hi,

Yes, consolidating build tech would be a good step forward. Right now we are 
using 1.8 so had to work with what we have. It may be possible to do everything 
with the Maven Antrun plugin, though you are still going to need Ant build 
scripts to run the more complex things like populating the database etc, though 
these could still all be bootstrapped via Maven.

regards,
Steve

--
Steve Swinsburg
Java Team Leader
Information Technology Infrastructure
Information Technology Services
Building 3K
The Australian National University
Canberra ACT 0200

T: +61 2 6125 6608
F: +61 2 6125 0449

On 23/11/2012, at 11:01 AM, helix84 
heli...@centrum.skmailto:heli...@centrum.sk wrote:

Hi Steve,

I'm sure this is a convenient feature for you. I just wanted to note
that the other developers were generally aiming to eliminate ant for
deployment and complete the transition to Maven, so I guess it would
make sense to try that instead (if it's possible).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Meta-tags for Google scholar

2012-11-22 Thread Nemiz, Elvi
Dear all,

I would like to ask how to include other meta tags used in Google Scholar
e.g. citation_inbook_title and citation_conference_title. I edited our
google-metadata.properties for Google scholar mapping
adding google.citation_inbook_title = dc.relation.ispartof
and google.citation_conference_title = dc.citation.conferenceTitle but the
mapping doesn't seem to appear in the html meta tags. Please see the HTML
source of this link:
http://link.springer.com/chapter/10.1007/978-1-4020-6810-2_5 and you can
clearly see that there's a meta tag for citation_inbook_title. I have also
noticed that citation_conference_title does not show up in the meta tags
while citation_conference did. Please see example item:
http://repository.seafdec.org.ph/handle/10862/879?show=full and view the
HTML source or if you're using firefox, just right click and click View
Page Info to view the Meta tags. My main purpose for this query is to make
our repository more visible to Google scholar and more 'zotero-friendly' or
friendly to other reference management software that manages bibliographic
data and related research materials.

P.S. This article could shed some light on the visibility of IRs in Google
Scholar: http://dx.doi.org/10.1108/07378831211213210

Thanks in advance.

Elvi S. Nemiz
Information Assistant
Library and Data Bank Services Section
Training and Information Division
SEAFDEC Aquaculture Department
Tigbauan, Iloilo
Philippines
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Interested in a simplified build?

2012-11-22 Thread Pottinger, Hardy J.
Hey, Steve, this sounds a bit like DS-921 
(https://jira.duraspace.org/browse/DS-921). I agree with the notion that Maven 
is probably the tool we want to use for building and deploying, but I do find 
the idea of an instant dev environment, container and all, pretty appealing.

--Hardy

Sent from my iPad

On Nov 22, 2012, at 7:20 PM, Steve Swinsburg 
steve.swinsb...@anu.edu.aumailto:steve.swinsb...@anu.edu.au wrote:

Hi,

Yes, consolidating build tech would be a good step forward. Right now we are 
using 1.8 so had to work with what we have. It may be possible to do everything 
with the Maven Antrun plugin, though you are still going to need Ant build 
scripts to run the more complex things like populating the database etc, though 
these could still all be bootstrapped via Maven.

regards,
Steve

--
Steve Swinsburg
Java Team Leader
Information Technology Infrastructure
Information Technology Services
Building 3K
The Australian National University
Canberra ACT 0200

T: +61 2 6125 6608
F: +61 2 6125 0449

On 23/11/2012, at 11:01 AM, helix84 
mailto:heli...@centrum.skheli...@centrum.skmailto:heli...@centrum.sk 
wrote:

Hi Steve,

I'm sure this is a convenient feature for you. I just wanted to note
that the other developers were generally aiming to eliminate ant for
deployment and complete the transition to Maven, so I guess it would
make sense to try that instead (if it's possible).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquettehttps://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] New Submission don't populate automatically,

2012-11-22 Thread Umair Kayani
Hi All, I am facing a problem with my DSpace 3.0 Rc3 testing that is whenever I 
try to add new item in a collection my submission is not listed in discover 
menu neither my browse menu show anything automatically. Infact my browse menu 
return me No Entries in the index message. Though I achieved it through doing 
discovery index update command but after this index update if I add new item 
the problem is still same. Can anyone help me.



Thanks  Regards
Umair Kayani



--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech