At present wpkg will halt as soon as it hits an error.

I would like an option to force an attempt on all pending installs.

I don't want the action of /force -- that ignores wpkg.xml.

Suppose that machine X is supposed to have packages A,B,C,X,Y,Z
Suppose that currently A,B, and C are installed.

Further suppose that the install command for X is incorrect.
At present wpkg will process stuff until X, then abort.

I want a flag that does the equivalent of make -k on unix -- it will try each install until it reaches an error.

Let's call the flag /attemptall

wpkg /synchronize  /attemptall would do the following:

Checks A, it's there; carry on.
Checks B, it's there; carry on.
Checks C, it's there; carry on.
Checks X, it's not there, run the install command for X
        -- Fails.  (This is where wpkg would normally abort.)
Checks Y, it's not there, run the install for Y
checks Z, it's not there, run the install for Z

So at the end of this I have only 1 missing package instead of 3.

This action can reduce the effect of missing depends lines.

New scenario, same 6 packages, but this time
Z depends on C, and Y depends on Z

Before, if you did this, then wpkg would fail when it hit Y every time. With /attemptall, running wpkg a second time would fix it. -- The first time it would try Y, fail because of the dependency check, try Z, and install it. Next round, Z is there, so Y installs ok.

(Overall, I think that /attemptall should be the default behaviour.
/stoponerror should cause the present behaviour.)


















-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to