| Summary: | merge start.sh and setup.sh | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Andrew Overholt <overholt> |
| Component: | Dash Athena | Assignee: | Common Build Inbox <dash.commonbuilder-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | aniefer, bjorn.freeman-benson, gunnar, nboldt, richard.gronback |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 252028, 253269 | ||
| Bug Blocks: | |||
|
Description
Andrew Overholt
... and this should be all Ant, if possible, so that we're as platform-independent as possible and even runnable within Eclipse. With the exception of copying ant-contrib.jar into the 3rdPartyJars dir, start.sh can now bootstrap itself. (Hudson version can perform that step too because it's reusing existing folders via symlink.) Do we still need something to check for ant and java and wget and curl, etc.? If so, see 253277. build.xml can run in Eclipse if it's already bootstrapped by psf file (and ant-contrib.jar can be found). We can improve on that by implementing bug 265847 so that build.xml can use a .psf file to check out the other two required CVS projects. Then, to really ice the cake, we could write some cheat sheet code to wrap these steps: 1. check for existing workspace projects, prompt to delete if found 2. check out required projects from cvs/svn using psf file converted to an ant build script (bug 265847) 3. make sure that ant-contrib can be found in one of the 4 valid locations 4. mention SVN PDE plugin requirement if project sources are in SVN 5. run a build As a plugin (eg., for a workshop @ EclipseCon), this cheatsheet code could include a psf/build.xml to checkout all three projects, including SVN PDE plugin and ant-contrib.jar. Cheatsheets started in /cvsroot/technology/org.eclipse.dash/athena/org.eclipse.dash.commonbuilder/org.eclipse.dash.common.releng.tutorial - current code is a dump of what I used for last year's EclipseCon presentation. We won't be doing cheatsheets since the 'run a build in eclipse' process is now pretty simple: http://wiki.eclipse.org/Common_Build_Infrastructure/Getting_Started/Build_In_Eclipse Otherwise, as start.sh can bootstrap itself, this bug is closed. |