Please reply using this URL only: http://bugs.wpkg.org/show_bug.cgi?id=54

           Summary: wpkg.js /install:packages should resolve dependencies
                    correctly
           Product: WPKG
           Version: 0.9.10
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: wpkg.js
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]


wpkg.js /install:packages should resolve dependencies correctly.

Full newsgroup post:

######

In my packages, <depends package-id=.../> does not work.
I have created to simple packages, a and b. The only purpose of these 
packages is to crate c:\tst\a and c:\tst\b
I have tried to setup a, so that it depends on b, and expected, that an 
install of a would install b.

When  do wpkg /install:a
a is installed, but b is not.
I am using WPKG 0.9.10
Below is a.xml and b.xml from the packages-directory:

a.xml:
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
  id="a"
  name="a"
  revision="4"
  reboot="false"
  priority="10">

<check type="file" condition="exists" path="c:\tst\a" />
<depends package-id="b"/>
<install cmd='cmd /c echo >c:\tst\a'/>
<remove cmd='cmd /c del c:\tst\a'/>

</package>
</packages>

b.xml:
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
  id="b"
  name="b"
  revision="4"
  reboot="false"
  priority="10">
 
<check type="file" condition="exists" path="c:\tst\b" />
<install cmd='cmd /c echo >c:\tst\b'/>
<remove cmd='cmd /c del c:\tst\b'/>

</package>
</packages>

-- 
Configure bugmail: http://bugs.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to