I have several components, and would like to finish installing one before copying files for the other.

For example, I'd like to fully install the database, and then copy the files etc for the other components.

How do I achieve this?

asked 19 Mar '12, 16:28

bstoke's gravatar image

bstoke
16222224
accept rate: 0%


You could place all the actions required to install the component in a folder's <actionList>, that will be executed right after installing the files:

<component>
    <name>mysql</name>
    <folderList>
        <folder>
            <description>Database</description>
            <destination>${installdir}/</destination>
            <name>database</name>
            <platforms>all</platforms>
            <distributionFileList>
                <distributionDirectory>
                    <origin>/path/to/database</origin>
                </distributionDirectory>
            </distributionFileList>
            <actionList>
                 <!-- Actions to install the database -->
            </actionList>
        </folder>
    </folderList>
    ...
</component>
link

answered 19 Mar '12, 17:01

juanjo's gravatar image

juanjo ♦♦
5.8k413
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×39
×36

Asked: 19 Mar '12, 16:28

Seen: 1,153 times

Last updated: 19 Mar '12, 17:01