Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Bundle the bbwp.exe (for Windows) and bbwp (for Mac)
  • Loading branch information
qingbiao committed Nov 9, 2011
1 parent 866c5f7 commit aef02fb
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 67 deletions.
28 changes: 0 additions & 28 deletions README.md
Expand Up @@ -68,34 +68,6 @@ If you do not wish to use MacPorts simply use the following instructions.
6. Make sure that JAVA_HOME is set to the location of your JDK, e.g. export JAVA_HOME=/usr/java/jdk1.5.0_02 and that $JAVA_HOME/bin is in your PATH environment variable.
7. Run mvn --version to verify that it is correctly installed.

### Download and install gcc compiler on Windows®
1. The first step is to download the automated installer for MinGW from
[here.](http://sourceforge.net/projects/mingw/files/).
2. After the installer has been downloaded run the installer. Follow the
installation instructions in the installer and make sure you note the
installation directory for MingGW which is C:\MinGW by default.
3. When you have installed MinGW on your machine navigate to the
environment variable settings as stated above when installing Maven on Windows.
4. Find the Path environment variable and click the "Edit" button.
5. Append ";(Path to MinGW)\bin" to the value of the environment varible e.g.
if MinGW is installed at C:\MinGW then you should append ";C:\MinGW\bin" to the
Path environment variable.

### Download and install gcc compiler on Mac OS X

#### Register for an Apple Developer Connection Account
1. Navigate to [http://connect.apple.com](http://connect.apple.com). You will
be taken to a page with a prompt for your Apple ID. Click the "Join Now" link.
2. On the next page scroll down to the bottom of the page and click on the
"Learn More" link. On the following page click on the "Get Started" link and
follow the instructions for the Apple Developer Registration process.

#### Download and Install XCode
Once you're registered. Navigate to
[http://connect.apple.com](http://connect.apple.com) and download the
XCode Tools (Version) disk image file. Double click the file and
follow the installations steps to complete the installation.

### Build the project

From command line, change to the root directory of the WebWorks repository and run the following commands:
Expand Down
2 changes: 2 additions & 0 deletions archiver/dist-mac.xml
Expand Up @@ -13,6 +13,8 @@ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assemb
<directory>target\installdata</directory>
<excludes>
<exclude>bbwp.exe</exclude>
<exclude>\bin\bbwp</exclude>
<exclude>\bin\bbwp.exe</exclude>
<exclude>\bin\javaloader.exe</exclude>
<exclude>\bin\preverify.exe</exclude>
<exclude>\bin\rapc.exe</exclude>
Expand Down
2 changes: 2 additions & 0 deletions archiver/dist-win.xml
Expand Up @@ -13,6 +13,8 @@ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assemb
<directory>target\installdata</directory>
<excludes>
<exclude>bbwp</exclude>
<exclude>\bin\bbwp</exclude>
<exclude>\bin\bbwp.exe</exclude>
<exclude>\bin\javaloader</exclude>
<exclude>\bin\preverify</exclude>
</excludes>
Expand Down
44 changes: 5 additions & 39 deletions archiver/pom.xml
Expand Up @@ -78,6 +78,8 @@
<resource>
<directory>${tumbler.work.dir}\packager\res</directory>
<includes>
<include>bbwp</include>
<include>bbwp.exe</include>
<include>bbwp.properties</include>
<include>tld.txt</include>
</includes>
Expand All @@ -99,6 +101,7 @@
<resource>
<directory>${tumbler.bin.dir}</directory>
<includes>
<include>bbwp</include>
<include>bbwp.exe</include>
</includes>
</resource>
Expand All @@ -118,6 +121,8 @@
<resource>
<directory>${tumbler.bin.dir}</directory>
<includes>
<include>bbwp</include>
<include>bbwp.exe</include>
<include>bbwp.jar</include>
<include>tld.txt</include>
<include>bbwp.properties</include>
Expand Down Expand Up @@ -178,25 +183,6 @@
</resources>
</configuration>
</execution>
<execution>
<id>copy-resources-bbwp</id>
<phase>compile</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<overwrite>true</overwrite>
<outputDirectory>${installer.data.dir}</outputDirectory>
<resources>
<resource>
<directory>${tumbler.work.dir}\packager\src\TumblerLauncher</directory>
<includes>
<include>bbwp</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-resources-classes</id>
<phase>process-classes</phase>
Expand Down Expand Up @@ -282,26 +268,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>TumblerLauncher.bat</executable>
<arguments>
<argument>${tumbler.packager.src.dir}</argument>
<argument>${tumbler.bin.dir}</argument>
</arguments>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
File renamed without changes.
Binary file added packager/res/bbwp.exe
Binary file not shown.

0 comments on commit aef02fb

Please sign in to comment.