[dspace-tech] Re: besoin d'aide

2019-09-11 Thread Massimiliano CILURZO
Dear Samia,
Look at this 
http://dspace.2283337.n4.nabble.com/DSpace-5-Mirage2-error-td4685847.html
And let me know
Best regards
Massimiliano

Il giorno mercoledì 11 settembre 2019 15:53:23 UTC+2, samia samiaa ha 
scritto:
>
>
>
> Le mercredi 11 septembre 2019 11:38:13 UTC+2, samia samiaa a écrit :
>>
>> bonjour monsieur massimiliano 
>> oui j'ai installer git par la commande apt-get install git
>> et oui j'ai fait les autorisation sur le repertoire dspace
>> et j'ai installer maven 3.3.9
>> et l'orsque tape la commande mvn package -Dmirage2.on=true 
>> -Dmirage2.deps.included=false
>> j'ai trouvé les erreur suivante toujour
>>
>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/aa3673e2-eb8a-4507-a6ab-7a6d849358f9%40googlegroups.com.


[dspace-tech] Re: besoin d'aide

2019-09-11 Thread samia samiaa


Le mercredi 11 septembre 2019 11:38:13 UTC+2, samia samiaa a écrit :
>
> bonjour monsieur massimiliano 
> oui j'ai installer git par la commande apt-get install git
> et oui j'ai fait les autorisation sur le repertoire dspace
> et j'ai installer maven 3.3.9
> et l'orsque tape la commande mvn package -Dmirage2.on=true 
> -Dmirage2.deps.included=false
> j'ai trouvé les erreur suivante toujour
>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/5e54462c-f379-43d3-8a03-7929cbbb7fd1%40googlegroups.com.


Re: [dspace-tech] Custom EmbargoSetter allowing on campus access

2019-09-11 Thread Shawn Kiewel
This is a gist of my code: 
https://gist.github.com/smkiewel/f78b1ded9e4f9be38272e1ff44346e15

 

 

 

 

From: Shawn Kiewel 
Date: Wednesday, September 11, 2019 at 9:23 AM
To: DSpace Technical Support 
Subject: Re: [dspace-tech] Custom EmbargoSetter allowing on campus access

 

So I’ve finally gotten around to trying to compile this with the only changes 
to the class being class name, group name, and package, and I’m getting 
compilation errors due to the imports not working. It’s not able to resolve the 
imported symbols:

 

[ERROR] 
/data/prod/src/dspace-6.1-src-release/dspace/modules/additions/src/main/java/edu/uga/dspace/embargo/UGAEmbargoSetter.java:[69,26]
 cannot find symbol

[ERROR] symbol:   variable AuthorizeManager

 

I’m also getting an error about implementing the interface because certain 
methods do not throw IOExceptions:

 

[ERROR] 
/data/prod/src/dspace-6.1-src-release/dspace/modules/additions/src/main/java/edu/uga/dspace/embargo/UGAEmbargoSetter.java:[89,19]
 parseTerms(org.dspace.core.Context,org.dspace.content.Item,java.lang.String) 
in edu.uga.dspace.embargo.UGAEmbargoSetter cannot implement 
parseTerms(org.dspace.core.Context,org.dspace.content.Item,java.lang.String) in 
org.dspace.embargo.EmbargoSetter

[ERROR] overridden method does not throw java.io.IOException

 

Suggestions?

 

Shawn

 

 

 

 

From: Terry Brady 
Date: Thursday, August 15, 2019 at 10:34 AM
To: Shawn Kiewel , DSpace Technical Support 

Subject: Re: [dspace-tech] Custom EmbargoSetter allowing on campus access

 

Shawn,

 

I think modules/additions/src/main/java is the best place to put it.

 

Terry

 

On Wed, Aug 14, 2019 at 6:10 AM Shawn Kiewel  wrote:

Followup: reading the Advanced Customization page leads me to think I should 
place that file in [dspace-source]/dspace/modules/additions. Is this correct?

 

Thanks again for all the help.

Shawn

 

 

From: Terry Brady 
Date: Tuesday, August 13, 2019 at 5:40 PM
To: Shawn Kiewel , DSpace Technical Support 

Subject: Re: [dspace-tech] Custom EmbargoSetter allowing on campus access

 

I meant to include this link.

 

https://github.com/DSpace/DSpace/blob/master/dspace/config/modules/authentication-ip.cfg
  

 

On Tue, Aug 13, 2019 at 2:39 PM Terry Brady  wrote:

Shawn,

 

Have you configured ip authentication for your site?  The IP authentication 
will place a user session within a specific named "special group".

 

You could follow the example that you linked to but change the name of the 
group to the "special group" that you configure in the ip authentication config.

 

Terry

 

On Tue, Aug 13, 2019 at 12:31 PM Shawn Kiewel  wrote:

Does anyone have a custom EmbargoSetter class I could peek at that allows for 
access from campus IPs while enforcing the embargo for the world? I did look at 
this example, but it uses groups to do its filtering, and I'm not sure how to 
adapt it.

 

Thanks,

Shawn

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/8748ffae-215c-47d6-af34-fef0eae6d1b7%40googlegroups.com.


 

-- 

Terry Brady

Applications Programmer Analyst

Georgetown University Library Information Technology

https://github.com/terrywbrady/info

425-298-5498 (Seattle, WA)


 

-- 

Terry Brady

Applications Programmer Analyst

Georgetown University Library Information Technology

https://github.com/terrywbrady/info

425-298-5498 (Seattle, WA)

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/B110A63A-0040-4760-8A01-F7B3648FCDEC%40gmail.com.


 

-- 

Terry Brady

Applications Programmer Analyst

Georgetown University Library Information Technology

https://github.com/terrywbrady/info

425-298-5498 (Seattle, WA)

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 

Re: [dspace-tech] Custom EmbargoSetter allowing on campus access

2019-09-11 Thread Shawn Kiewel
So I’ve finally gotten around to trying to compile this with the only changes 
to the class being class name, group name, and package, and I’m getting 
compilation errors due to the imports not working. It’s not able to resolve the 
imported symbols:

 

[ERROR] 
/data/prod/src/dspace-6.1-src-release/dspace/modules/additions/src/main/java/edu/uga/dspace/embargo/UGAEmbargoSetter.java:[69,26]
 cannot find symbol

[ERROR] symbol:   variable AuthorizeManager

 

I’m also getting an error about implementing the interface because certain 
methods do not throw IOExceptions:

 

[ERROR] 
/data/prod/src/dspace-6.1-src-release/dspace/modules/additions/src/main/java/edu/uga/dspace/embargo/UGAEmbargoSetter.java:[89,19]
 parseTerms(org.dspace.core.Context,org.dspace.content.Item,java.lang.String) 
in edu.uga.dspace.embargo.UGAEmbargoSetter cannot implement 
parseTerms(org.dspace.core.Context,org.dspace.content.Item,java.lang.String) in 
org.dspace.embargo.EmbargoSetter

[ERROR] overridden method does not throw java.io.IOException

 

Suggestions?

 

Shawn

 

 

 

 

From: Terry Brady 
Date: Thursday, August 15, 2019 at 10:34 AM
To: Shawn Kiewel , DSpace Technical Support 

Subject: Re: [dspace-tech] Custom EmbargoSetter allowing on campus access

 

Shawn,

 

I think modules/additions/src/main/java is the best place to put it.

 

Terry

 

On Wed, Aug 14, 2019 at 6:10 AM Shawn Kiewel  wrote:

Followup: reading the Advanced Customization page leads me to think I should 
place that file in [dspace-source]/dspace/modules/additions. Is this correct?

 

Thanks again for all the help.

Shawn

 

 

From: Terry Brady 
Date: Tuesday, August 13, 2019 at 5:40 PM
To: Shawn Kiewel , DSpace Technical Support 

Subject: Re: [dspace-tech] Custom EmbargoSetter allowing on campus access

 

I meant to include this link.

 

https://github.com/DSpace/DSpace/blob/master/dspace/config/modules/authentication-ip.cfg
  

 

On Tue, Aug 13, 2019 at 2:39 PM Terry Brady  wrote:

Shawn,

 

Have you configured ip authentication for your site?  The IP authentication 
will place a user session within a specific named "special group".

 

You could follow the example that you linked to but change the name of the 
group to the "special group" that you configure in the ip authentication config.

 

Terry

 

On Tue, Aug 13, 2019 at 12:31 PM Shawn Kiewel  wrote:

Does anyone have a custom EmbargoSetter class I could peek at that allows for 
access from campus IPs while enforcing the embargo for the world? I did look at 
this example, but it uses groups to do its filtering, and I'm not sure how to 
adapt it.

 

Thanks,

Shawn

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/8748ffae-215c-47d6-af34-fef0eae6d1b7%40googlegroups.com.


 

-- 

Terry Brady

Applications Programmer Analyst

Georgetown University Library Information Technology

https://github.com/terrywbrady/info

425-298-5498 (Seattle, WA)


 

-- 

Terry Brady

Applications Programmer Analyst

Georgetown University Library Information Technology

https://github.com/terrywbrady/info

425-298-5498 (Seattle, WA)

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/B110A63A-0040-4760-8A01-F7B3648FCDEC%40gmail.com.


 

-- 

Terry Brady

Applications Programmer Analyst

Georgetown University Library Information Technology

https://github.com/terrywbrady/info

425-298-5498 (Seattle, WA)

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/8231F623-26B2-4A2F-885F-95F48591DC54%40gmail.com.


[dspace-tech] Re: besoin d'aide

2019-09-11 Thread Massimiliano CILURZO
Dear Samia,
Ensure that git is installed. Have you reviewed the permissions on the 
dspace folder with the dspace user?
Do you have installed  an Apache Maven version  3.3.9 or above ?
Best regards
Massimiliano


Il giorno mercoledì 11 settembre 2019 12:22:45 UTC+2, samia samiaa ha 
scritto:
>
>
>
> Le mercredi 11 septembre 2019 11:38:13 UTC+2, samia samiaa a écrit :
>>
>> bonjour monsieur  Massimiliano
>> oui monsieur j'ai suivie toute les etape .
>>
> l'rsque je tape la commande   mvn package -Dmirage2.on=true
> j'ai trouvé les erreur suivante 
>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/fee3e843-cc00-4f1a-b392-9bcfc0109d90%40googlegroups.com.


[dspace-tech] besoin d'aide

2019-09-11 Thread samia samiaa
bonjour monsieur massimiliano
l'orsque je tape la commande l'rsque je tape la commande   mvn package 
-Dmirage2.on=true
j'ai trouvé et l'orsque je tape la commande npm start j'ai trouvé les 
erreur suivante qui est dans la pieces jointe

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/02e6ae7c-003a-45e0-bb24-e808ea827fe5%40googlegroups.com.


[dspace-tech] Re: besoin d'aide

2019-09-11 Thread samia samiaa


Le mercredi 11 septembre 2019 11:38:13 UTC+2, samia samiaa a écrit :
>
> bonjour monsieur  Massimiliano
> oui monsieur j'ai suivie toute les etape .
>
l'rsque je tape la commande   mvn package -Dmirage2.on=true
j'ai trouvé les erreur suivante 

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/e60b454b-21e4-4ebf-b0c9-673f04ba928f%40googlegroups.com.


[dspace-tech] Re: besoin d'aide

2019-09-11 Thread Massimiliano CILURZO
Dear Samara,
   Could you send more information about the problem? 
When you stard the command which is the answer of the system?
Do you have some logs?
Have you followed these steps:
https://wiki.duraspace.org/display/DSDOC6x/Mirage+2+Configuration+and+Customization
Thanks
Best regards
Massimiliano


Il giorno mercoledì 11 settembre 2019 11:38:13 UTC+2, samia samiaa ha 
scritto:
>
> bonjour monsieur  Massimiliano
> j'ai des probleme de l'installation de dspace mirage 2 6.3 sous ubuntu 
> server 16.04
> mvn package -Dmirage2.on=true  not work in ubuntu  lts server 
>
>
> aide moi s'il vous plait
> merci d'avance
>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/8f07e61b-8823-41bd-89eb-b8e5e03396c5%40googlegroups.com.


[dspace-tech] besoin d'aide

2019-09-11 Thread samia samiaa
bonjour monsieur  Massimiliano
j'ai des probleme de l'installation de dspace mirage 2 6.3 sous ubuntu 
server 16.04
mvn package -Dmirage2.on=true  not work in ubuntu  lts server 


aide moi s'il vous plait
merci d'avance

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/f369960e-84d3-47fd-8a67-c4ce879c3dd8%40googlegroups.com.