Hi euler,

El 21/04/17 a las 09:08, euler escribió:
Hi Àlex,

Thanks for your attached file. I believe, I would have to edit the
[dspace-src]/dspace/modules/pom.xml and [dspace-src]/pom.xml right? Can
you please correct me if I'm wrong with the modifications that I made in
[dspace-src]/dspace/modules/pom.xml?

<!-- The 'additions' module must *always* be built, as it is included
as a dependency in most other modules in [src]/dspace/modules -->
<modules>
    <module>additions</module>
    <module>../../impact</module>
</modules>


Yes, sorry, I forgot to mention this. I have this in my pom.xml instead, but I just know the essential about Maven, so don't trust me on this :)

        <profile>
            <id>impact</id>
            <activation>
                <file>
                    <exists>impact/pom.xml</exists>
                </file>
            </activation>
            <modules>
                <module>impact</module>
            </modules>
        </profile>

and in the [dspace-src]/pom.xml:

       <profile>
           <id>impact</id>
           <activation>
               <file>
                   <exists>impact/pom.xml</exists>
               </file>
           </activation>
           <modules>
               <module>impact</module>
           </modules>
        </profile>



I did not edit the [dspace-src]/pom.xml but I managed to run mvn package
successfully in my vagrant-dspace setup. I asked because there is no
/impact webapps made in the target directory.

I guess it's because of the missing entries in the pom.xml files above.

Another thing I would like
to ask is that if have you ever tried running this from a windows
environment? I never had a successful build when running this in windows
7 and windows 10.

No, I've only run it on Ubuntu Linux. I can't tell from the error why is it failing. Some things I'd check are the Python version (2.7) and the architecture (64/32 bits).

If it helps, I've found in my Bash history that I installed the Ubuntu packages of the Python modules in my system. Then I just copied the files from /usr/lib/python2.7/dist-packages/whatever to webapps/impact/WEB-INF/lib/Lib/ in the server.

If you still can't get it working, I can send you the full webapp so you just have to drop it into your server.

Cheers,
Àlex

On Wednesday, April 19, 2017 at 7:59:00 PM UTC+8, Àlex Magaz Graça wrote:


    That's right, it depends on some Python modules. Apart from requests,
    you may also need to add chardet, urllib3 and six.

    You may want to try building it with Maven which will take care of
    installing the modules. I'm attaching the full source tree of the
    impact
    webapp. Just unpack it into your DSpace source and run Maven. The
    downloading of Jython libraries isn't very reliable. You may have to
    run
    it more than once until it succeeds.

    Cheers,
    Àlex

--
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 [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to