[Debian-med-packaging] r6583 - trunk/packages/biomaj-watcher/trunk/debian

Olivier Sallou olivier.sallou at irisa.fr
Mon Apr 18 13:28:50 UTC 2011


Hi,
regarding zip/unzip, I need it both at build time and install time,
that's why I put it in Depends and Build-Depends.

It worked before, but I had to change several things to fit the removal
of classes/jar.

Regarding symlinks, no I can't. I need to build a war file (a zip for
java), to be used in Tomcat. Symlinks are not managed correctly in a war.

Olivier

Le 4/18/11 2:56 PM, Andreas Tille a écrit :
> Hi Olivier,
>
> I'd regard copying JAR files as a really bad solution.  Why not using
> simply symlinks?  You can perfectly add those links even inside the
> Debian package (not in postinst) by using a
>
>    debian/links
>
> file.  Any problem with this solution?
>
> Kind regards
>
>        Andreas.
>
> On Mon, Apr 18, 2011 at 11:29:37AM +0000, olivier sallou wrote:
>> Author: osallou-guest
>> Date: 2011-04-18 11:29:29 +0000 (Mon, 18 Apr 2011)
>> New Revision: 6583
>>
>> Modified:
>>    trunk/packages/biomaj-watcher/trunk/debian/postinst
>> Log:
>> fix wrong path in postinst
>>
>> Modified: trunk/packages/biomaj-watcher/trunk/debian/postinst
>> ===================================================================
>> --- trunk/packages/biomaj-watcher/trunk/debian/postinst	2011-04-18 09:44:51 UTC (rev 6582)
>> +++ trunk/packages/biomaj-watcher/trunk/debian/postinst	2011-04-18 11:29:29 UTC (rev 6583)
>> @@ -37,13 +37,13 @@
>>  
>>  # Copy required libs
>>  mkdir -p /usr/share/java/webapps/biomaj-watcher/WEB-INF/lib
>> -cp /usr/share/java/xercesImpl.jar debian/biomaj-watcher/usr/share/java/webapps/biomaj-watcher/WEB-INF/lib/
>> -cp /usr/share/java/commons-lang.jar debian/biomaj-watcher/usr/share/java/webapps/biomaj-watcher/WEB-INF/lib/
>> -cp /usr/share/java/commons-logging.jar debian/biomaj-watcher/usr/share/java/webapps/biomaj-watcher/WEB-INF/lib/
>> -cp /usr/share/java/jdom.jar debian/biomaj-watcher/usr/share/java/webapps/biomaj-watcher/WEB-INF/lib/
>> -cp /usr/share/java/jsch.jar debian/biomaj-watcher/usr/share/java/webapps/biomaj-watcher/WEB-INF/lib/
>> -cp /usr/share/java/log4j-1.2.jar debian/biomaj-watcher/usr/share/java/webapps/biomaj-watcher/WEB-INF/lib/
>> -cp /usr/share/java/quartz.jar debian/biomaj-watcher/usr/share/java/webapps/biomaj-watcher/WEB-INF/lib/
>> +cp /usr/share/java/xercesImpl.jar /usr/share/java/webapps/biomaj-watcher/WEB-INF/lib/
>> +cp /usr/share/java/commons-lang.jar /usr/share/java/webapps/biomaj-watcher/WEB-INF/lib/
>> +cp /usr/share/java/commons-logging.jar /usr/share/java/webapps/biomaj-watcher/WEB-INF/lib/
>> +cp /usr/share/java/jdom.jar /usr/share/java/webapps/biomaj-watcher/WEB-INF/lib/
>> +cp /usr/share/java/jsch.jar /usr/share/java/webapps/biomaj-watcher/WEB-INF/lib/
>> +cp /usr/share/java/log4j-1.2.jar /usr/share/java/webapps/biomaj-watcher/WEB-INF/lib/
>> +cp /usr/share/java/quartz.jar /usr/share/java/webapps/biomaj-watcher/WEB-INF/lib/
>>  
>>  cp /usr/share/biomaj/lib/biomaj.jar /var/lib/tomcat6/shared/
>>  
>>
>>
>> _______________________________________________
>> debian-med-commit mailing list
>> debian-med-commit at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/debian-med-commit
>>

-- 
gpg key id: 4096R/326D8438  (pgp.mit.edu)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438





More information about the Debian-med-packaging mailing list