Hi,

to answer your question: yes, ant needs more than the dspace-installer 
directory. It tries to download a free geodb to connect IPs to countries for 
the statistic (IIRC).

We have a build server which is configured close to our production server (the 
build server runs centOS, the production server RHEL, but it works fine). On 
the build server I run maven *and* ant. I install DSpace on the build server to 
the same path that is used on the production server. Then I create a package 
(currently a tar, but we plan to build rpms here) and deploy this package on 
our test and production server. With DSpace 5 we will have to take care for our 
solr indexes as with DSpace 5 ant takes care for those. But that’s possibly a 
matter for another thread…

Regards,
  Pascal



From: Peter Dietz [mailto:pe...@longsight.com]
Sent: Wednesday, July 01, 2015 4:52 PM
To: Shannon Meisenheimer
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Build DSpace Installer on Different Machine

Hi Shannon,

We do almost all builds using a dedicated build server. So one machine does the 
"mvn package" portion of the work, and then dspace/target/dspace-installer gets 
ftp/scp/rsync to application servers, and then on the app server does the ant 
update portion. The thing that you have to ensure is that each machine is very 
similar. Same OS, same version of java. I've never tried this with windows, but 
it works well for us on Linux.

________________
Peter Dietz
Longsight
www.longsight.com<http://www.longsight.com>
pe...@longsight.com<mailto:pe...@longsight.com>
p: 740-599-5005 x809

On Wed, Jul 1, 2015 at 10:24 AM, Shannon Meisenheimer 
<meisenhei...@ucmo.edu<mailto:meisenhei...@ucmo.edu>> wrote:
Has anyone tried building DSpace (Maven) on a different machine and then moving 
the resulting src package to the server for Ant install/update?

We are pretty sure we are fighting network restrictions on the server when 
building DSpace 5.1 with Mirage 2.  I'm running 'mvn -U clean package 
-Dmirage2.on=true -X > c:\Maven5_1.log' using Maven 3.2.3 and after 
installation, pdf delivery is very slow (sometimes 10-20 minutes).

I was thinking I could build the package on my workstation where I'm not being 
firewalled as heavily and then transfer to the server for install.

We've had our network team add FW exceptions allowing outbound from the server 
to any destination on ports 80, 443, and 9418 and outbound to any for the 
server in our proxy, but still are seeing some performance issues post install. 
Setting up the proxy in Maven had no effect.

Does Ant use anything other what it is in the source package during install? I 
noticed maven created a bunch of files in my user'e temp folder (win server).

Thanks,
Shannon
--
Mr. Shannon Meisenheimer
Office of Technology
Blackboard and Academic Application Management
University of Central Missouri
Dockery 207A
meisenhei...@ucmo.edu<mailto:meisenhei...@ucmo.edu>
Work Phone:  (660) 543-8483<tel:%28660%29%20543-8483>
[Das Bild wurde vom Absender entfernt.]


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to