Re: [wpkg-users] Conditional depends

2012-10-18 Thread Stefan Pendl

Am 18.10.2012 13:43, schrieb Daniel Berteaud:


Thanks for the suggestion, I'll try to play with this. (my problem is
that workstations which needs JRE6 are not a specific Windows version,
so I cannot use the os attr)



It is just an example of the possibilities, so you can use any check 
condition that you see fit.


You can even reuse the conditions you use to apply the Java packages 
currently.



--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Conditional depends

2012-10-18 Thread Daniel Berteaud
Le jeudi 18 octobre 2012 à 13:31 +0200, Stefan Pendl a écrit :

> I have a common package called Java, which gets added to all systems or 
> included as a dependency.
> 
> The package is then including the correct java runtime engine based on 
> conditions.
> 
> 
> '---code start (watch for line wraps)
> 
>  priority="10" execute="once">
>  
>  
>  
>  
>  
>  
>  
>  
> 
> 
> '---code end

Thanks for the suggestion, I'll try to play with this. (my problem is
that workstations which needs JRE6 are not a specific Windows version,
so I cannot use the os attr)

Regards, Daniel

-- 
Daniel Berteaud
FIREWALL-SERVICES SARL.
Société de Services en Logiciels Libres
Technopôle Montesquieu
33650 MARTILLAC
Tel : 05 56 64 15 32
Fax : 05 56 64 15 32
Web : http://www.firewall-services.com

-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Conditional depends

2012-10-18 Thread Stefan Pendl

Am 18.10.2012 12:48, schrieb Daniel Berteaud:

Hi everyone.

I'd like to know if there's a possibility to make a conditional
dependency on package. Here's my problem:

- I deploy JRE 7 on most of my computers, in a package called jre
- A few computers need to run apps which requires version 6 of the JRE,
so I created a package called jre6 and assigne the correct JRE in
profile assignation (up to now, there's no problem)

- Now, I want to deploy freemind (a mind mapping software), which can
run with either jre 7 or jre 6, but I don't know how to define it.

I'd need something like:


 
 


Is there a way to make something like this ?

Regards, Daniel



I have a common package called Java, which gets added to all systems or 
included as a dependency.


The package is then including the correct java runtime engine based on 
conditions.



'---code start (watch for line wraps)

priority="10" execute="once">











'---code end

--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users