Source

oi-build /

Filename Size Date modified Message
components
make-rules
tools
transforms
102 B
1.3 KB
1.6 KB
	    Getting started with the Userland Consolidation


Building the bits

    The Userland consolidation maintains a Mercurial gate at
    
        ssh://anon@hg.opensolaris.org//hg/userland/gate
        
    This gate contains build recipies, patches, IPS manifests, etc. necessary
    to download, prep, build, test, package and publish open source software.
    In order to build the contents of the Userland gate, you need to clone it.
    Since you are reading this, you probably already have, but in any event
    you can do so with the following command
    
    $ hg clone ssh://anon@hg.opensolaris.org//hg/userland/gate /scratch/clone
    
    In order to build the bits either individually or collectively, you must
    set the WS_TOP environment variable to point to the top of your workspace.
    
    $ export WS_TOP=/scratch/clone
    
    To build and publish the entire contents of the gate, you can use
    
    $ cd /scratch/clone
    $ gmake publish
    
    To build and publish a specific component you need to initialize the
    workspace by building the tools and creating a repository to publish
    your results in.  The easiest way to do this is to
    
    $ cd /scratch/clone
    $ gmake setup
    
    Once you have initialize the the workspace, you can build individual
    components by
    
    $ cd /scratch/clone/components/(component)
    $ gmake publish
    
    All of the bits are are built will be published to the repository created
    by the setup step (file:///scratch/clone/repo/)  If you build the entire
    contents of the gate, individual build logs for each component will be
    located at /scratch/clone/logs/(target):(component).log


Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.