Re: [dspace-tech] Re: Unable to locate tools.jar, Buildfile: build.xml does not exist!

2017-08-17 Thread Tim Donohue
It sounds like you may want to look closer at the installation instructions
at:
https://wiki.duraspace.org/display/DSDOC6x/Installing+DSpace#InstallingDSpace-Installation

You only need a single [dspace-source] directory (this is the location
where you build DSpace from, i.e. run "mvn package" and "ant fresh_install")
You will also need a separate [dspace] directory (which is the location
where you install DSpace *into*). This is configured in your local.cfg (or
dspace.cfg) and is the location that "ant fresh_install" will install the
DSpace application into.  It is recommended to have this be a separate
directory from [dspace-src], and you could even just name it "/dspace" (but
it's entirely up to you).

So, based on the information you've given, it sounds like you need to
figure out which of those directories to keep (and the other likely can be
deleted). Or, you could start again and download DSpace 6.1 and unzip it
into a brand new [dspace-source] directory.  Assuming you have enough disk
space, hopefully things will work fine.

- Tim

On Thu, Aug 17, 2017 at 4:01 PM Βασιλική Γώγου 
wrote:

> I've done : 'df-h' to check disk space and then I noticed that I have two
> directories one /dspace-6.1-src-release and one /root/dspace-6.1-src-release
> Is it right?
>
>
> Τη Πέμπτη, 17 Αυγούστου 2017 - 1:04:47 π.μ. UTC+3, ο χρήστης Βασιλική
> Γώγου έγραψε:
>
>> Hi,
>> I just noticed that the tools.jar and build.xml are missing.
>>
>> *root@dima-vm:/dspace-6.1-src-release/dspace/target/dspace-installer# ant
>> fresh_install* *Unable to locate tools.jar. Expected to find it in
>> /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar* *Buildfile: build.xml
>> does not exist!* *Build failed* root@dima-vm
>> :/dspace-6.1-src-release/dspace/target/dspace-installer#
>>
>> Any recommedations?
>>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: Unable to locate tools.jar, Buildfile: build.xml does not exist!

2017-08-17 Thread Βασιλική Γώγου
I've done : 'df-h' to check disk space and then I noticed that I have two 
directories one /dspace-6.1-src-release and one /root/dspace-6.1-src-release
Is it right?

Τη Πέμπτη, 17 Αυγούστου 2017 - 1:04:47 π.μ. UTC+3, ο χρήστης Βασιλική Γώγου 
έγραψε:
>
> Hi, 
> I just noticed that the tools.jar and build.xml are missing.
>
> *root@dima-vm:/dspace-6.1-src-release/dspace/target/dspace-installer# ant 
> fresh_install* *Unable to locate tools.jar. Expected to find it in 
> /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar* *Buildfile: build.xml 
> does not exist!* *Build failed* 
> root@dima-vm:/dspace-6.1-src-release/dspace/target/dspace-installer#
>
> Any recommedations?
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Automatic login to Dspace

2017-08-17 Thread Terry Brady
Tom, here is a link to the repository that I support which is running
DSpace 5x + XMLUI + Mirage2 theme.

https://repository.library.georgetown.edu/

In my source code branch, I have a directory
dspace\modules\xmlui-mirage2\src\main\webapp\themes\Mirage2\xsl in which I
have overridden Mirage 2XSL templates.

   - See
   
https://github.com/DSpace/DSpace/tree/dspace-5_x/dspace-xmlui-mirage2/src/main/webapp/xsl


For instance, I have overridden the "buildHeader" template with my own
header components.

   - See
   
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui-mirage2/src/main/webapp/xsl/core/page-structure.xsl#L321

When you are working with XMLUI, you can view the back-end XML by adding
?XML to any URL.  From that XML, you can find the xml element to be
modified.  Once you know the element, you search the XSL for the template
that modifies that element and can provide your override.

The following section of the wiki might also help:
https://wiki.duraspace.org/display/DSDOC5x/XMLUI+Configuration+and+Customization

On Thu, Aug 17, 2017 at 8:53 AM, Tom Avino  wrote:

> Terry,
> I am a coder by trade.  I have 20+ years as on Oracle developer writing
> SQL, packages, etc. I have been working with Dspace for a few years, but on
> the JSP side.
> In general, is there a way to "code" using XMLUI?  I have looked at
> tutorials on XSL and XSL, but do not see any way to veer of the path to do
> something different other than change what and how something is displayed.
> One example I am trying to do is, our system requires a disclaimer page in
> front of the dspace home page. In JSPUI, I just modified the code on the
> home.jsp page.  I need to learn how to write some code using the  XMLUI
> interface.
> Do you have any answers or know someone who might?  Any help would be
> appreciated.
>
> Thanks
>
> Tom
>
> On Monday, August 14, 2017 at 4:54:00 PM UTC-4, Terry Brady wrote:
>>
>> I have never run JSPUI, so I do not know how the authentication process
>> differs between XMLUI and JSPUI.
>>
>> The behavior you describe matches my experience with XMLUI.  I have found
>> that I have to hit the Login button.  If I am already authenticated with
>> Shibboleth, I am not required to re-authenticate after hitting Login.
>>
>> I see that JSPUI has a setting *webui.session.invalidate* described here
>> https://wiki.duraspace.org/display/DSDOC5x/Configuratio
>> n+Reference#ConfigurationReference-JSPWebInterface(JSPUI)Settings that
>> may have enable the feature you describe.  If that is correct, I do not see
>> a similar setting for XMLUI.
>>
>> Terry
>>
>> On Mon, Aug 14, 2017 at 11:33 AM, Tom Avino  wrote:
>>
>>> I may not have asked this the correct way on my last post.
>>> What I am trying to do is automatically login to my Dspace 5.5 (XMLUI)
>>> session when I enter the URL.  We are using Shibboleth, and our old system
>>> (Dspace 3.3) was using JSPUI.  Our users were automatically logged in.
>>> Since the upgrade, I have to press the "Login" to login.  Is it possible
>>> that our 3.3 JSPUI instance was using JSP to do the automatic login?  If
>>> so, how do I do this in XMLUI?
>>> I am really stuck on this one.  I want to be able to enter our URL and
>>> be logged in and ready to go.
>>>
>>> Thank you,
>>>
>>>
>>>
>>> *Tom Avino *
>>>
>>> LITES II Application Developer | SAIC
>>>
>>> o: 757.864-8495 | thomas.w.av...@nasa.gov
>>>
>>> f:  757.864-6649 |
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "DSpace Technical Support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to dspace-tech...@googlegroups.com.
>>> To post to this group, send email to dspac...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Terry Brady
>> Applications Programmer Analyst
>> Georgetown University Library Information Technology
>> http://georgetown-university-libraries.github.io/
>> 425-298-5498 <(425)%20298-5498> (Seattle, WA)
>>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
http://georgetown-university-libraries.github.io/
425-298-5498 (Seattle, WA)

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 

[dspace-tech] idefine input form value with <>

2017-08-17 Thread Monika Mevenkamp
I would like to define a vale pair list where one element has a stored value 
that includes an html link - like so 



Mudd Walkin Message
Walk-in Access. This thesis can only be viewed on computer 
terminals at the http://mudd.princeton.edu>Mudd Manuscript 
Library.



This breaks the XML formatting though,
Can this be done somehow ?

Thanks, Monika


 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: Unable to locate tools.jar, Buildfile: build.xml does not exist!

2017-08-17 Thread Tim Donohue
This error sounds like you've run out of space on your server, or your /tmp
directory is full (out of space).  You may want to double check that you
have space to install DSpace and the /tmp directory isn't full.  Here's an
answer to a similar error on StackOverflow, and it gives hints on checking
your available space: https://stackoverflow.com/a/25953429/3750035

Good luck,

Tim

On Thu, Aug 17, 2017 at 11:43 AM Βασιλική Γώγου 
wrote:

> I run again 'mvn package' and I get BUILD SUCCESS and when I run 'ant
> fresh_install' I get the following:
>
>
> 
>
> How can I use the -Djava.io.tmpdir= option to select an alternate temp
> location?
>
> Τη Πέμπτη, 17 Αυγούστου 2017 - 1:04:47 π.μ. UTC+3, ο χρήστης Βασιλική
> Γώγου έγραψε:
>
>> Hi,
>> I just noticed that the tools.jar and build.xml are missing.
>>
>> *root@dima-vm:/dspace-6.1-src-release/dspace/target/dspace-installer# ant
>> fresh_install* *Unable to locate tools.jar. Expected to find it in
>> /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar* *Buildfile: build.xml
>> does not exist!* *Build failed* root@dima-vm
>> :/dspace-6.1-src-release/dspace/target/dspace-installer#
>>
>> Any recommedations?
>>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: Unable to locate tools.jar, Buildfile: build.xml does not exist!

2017-08-17 Thread Βασιλική Γώγου
I run again 'mvn package' and I get BUILD SUCCESS and when I run 'ant 
fresh_install' I get the following: 



How can I use the -Djava.io.tmpdir= option to select an alternate temp 
location?

Τη Πέμπτη, 17 Αυγούστου 2017 - 1:04:47 π.μ. UTC+3, ο χρήστης Βασιλική Γώγου 
έγραψε:
>
> Hi, 
> I just noticed that the tools.jar and build.xml are missing.
>
> *root@dima-vm:/dspace-6.1-src-release/dspace/target/dspace-installer# ant 
> fresh_install* *Unable to locate tools.jar. Expected to find it in 
> /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar* *Buildfile: build.xml 
> does not exist!* *Build failed* 
> root@dima-vm:/dspace-6.1-src-release/dspace/target/dspace-installer#
>
> Any recommedations?
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Automatic login to Dspace

2017-08-17 Thread Tom Avino
Terry,
I am a coder by trade.  I have 20+ years as on Oracle developer writing 
SQL, packages, etc. I have been working with Dspace for a few years, but on 
the JSP side.
In general, is there a way to "code" using XMLUI?  I have looked at 
tutorials on XSL and XSL, but do not see any way to veer of the path to do 
something different other than change what and how something is displayed.
One example I am trying to do is, our system requires a disclaimer page in 
front of the dspace home page. In JSPUI, I just modified the code on the 
home.jsp page.  I need to learn how to write some code using the  XMLUI 
interface.  
Do you have any answers or know someone who might?  Any help would be 
appreciated.

Thanks

Tom

On Monday, August 14, 2017 at 4:54:00 PM UTC-4, Terry Brady wrote:
>
> I have never run JSPUI, so I do not know how the authentication process 
> differs between XMLUI and JSPUI.
>
> The behavior you describe matches my experience with XMLUI.  I have found 
> that I have to hit the Login button.  If I am already authenticated with 
> Shibboleth, I am not required to re-authenticate after hitting Login.
>
> I see that JSPUI has a setting *webui.session.invalidate* described here 
> https://wiki.duraspace.org/display/DSDOC5x/Configuration+Reference#ConfigurationReference-JSPWebInterface(JSPUI)Settings
>  
> that may have enable the feature you describe.  If that is correct, I do 
> not see a similar setting for XMLUI.
>
> Terry
>
> On Mon, Aug 14, 2017 at 11:33 AM, Tom Avino  > wrote:
>
>> I may not have asked this the correct way on my last post.  
>> What I am trying to do is automatically login to my Dspace 5.5 (XMLUI) 
>> session when I enter the URL.  We are using Shibboleth, and our old system 
>> (Dspace 3.3) was using JSPUI.  Our users were automatically logged in.
>> Since the upgrade, I have to press the "Login" to login.  Is it possible 
>> that our 3.3 JSPUI instance was using JSP to do the automatic login?  If 
>> so, how do I do this in XMLUI?  
>> I am really stuck on this one.  I want to be able to enter our URL and be 
>> logged in and ready to go.  
>>
>> Thank you,
>>
>>  
>>
>> *Tom Avino *
>>
>> LITES II Application Developer | SAIC 
>>
>> o: 757.864-8495 | thomas.w.av...@nasa.gov  
>>
>> f:  757.864-6649 | 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to dspace-tech...@googlegroups.com .
>> To post to this group, send email to dspac...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> http://georgetown-university-libraries.github.io/
> 425-298-5498 (Seattle, WA)
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: Unable to locate tools.jar, Buildfile: build.xml does not exist!

2017-08-17 Thread Tim Donohue
Hello,

After installing the JDK, you will need to rebuild DSpace (the "mvn
package" step).  It is highly likely that the build.xml file was not
created because the Maven build process failed to generate it previously.
So, please try rebuilding DSpace again using "mvn package" and hopefully
that will resolve the problem of the missing build.xml file.

For reference, please see steps 7 and 8 in the Installation instructions
here (as those are the steps you will need to rerun):
https://wiki.duraspace.org/display/DSDOC6x/Installing+DSpace#InstallingDSpace-Installation

Good luck,

Tim

On Thu, Aug 17, 2017 at 8:30 AM Βασιλική Γώγου 
wrote:

> I've installed jdk:
>
> apt-get install openjdk-8-jdk
>
> update-alternatives --config java
>
> select
>
> 2/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1081  
> manual mode
>
>
> and next:  ant fresh_install
> Buildfile: build.xml does not exist!
> Build failed
>
>  What's wrong with jdk?
>
>
>
> Τη Πέμπτη, 17 Αυγούστου 2017 - 1:04:47 π.μ. UTC+3, ο χρήστης Βασιλική
> Γώγου έγραψε:
>
>> Hi,
>> I just noticed that the tools.jar and build.xml are missing.
>>
>> *root@dima-vm:/dspace-6.1-src-release/dspace/target/dspace-installer# ant
>> fresh_install* *Unable to locate tools.jar. Expected to find it in
>> /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar* *Buildfile: build.xml
>> does not exist!* *Build failed* root@dima-vm
>> :/dspace-6.1-src-release/dspace/target/dspace-installer#
>>
>> Any recommedations?
>>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: Unable to locate tools.jar, Buildfile: build.xml does not exist!

2017-08-17 Thread Βασιλική Γώγου
I've installed jdk: 

apt-get install openjdk-8-jdk

update-alternatives --config java

select 

2/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1081  manual 
mode


and next:  ant fresh_install
Buildfile: build.xml does not exist!
Build failed

 What's wrong with jdk?



Τη Πέμπτη, 17 Αυγούστου 2017 - 1:04:47 π.μ. UTC+3, ο χρήστης Βασιλική Γώγου 
έγραψε:
>
> Hi, 
> I just noticed that the tools.jar and build.xml are missing.
>
> *root@dima-vm:/dspace-6.1-src-release/dspace/target/dspace-installer# ant 
> fresh_install* *Unable to locate tools.jar. Expected to find it in 
> /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar* *Buildfile: build.xml 
> does not exist!* *Build failed* 
> root@dima-vm:/dspace-6.1-src-release/dspace/target/dspace-installer#
>
> Any recommedations?
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.