diff options
author | Jani Laakso <jani.laakso@itmill.com> | 2007-12-03 19:14:00 +0000 |
---|---|---|
committer | Jani Laakso <jani.laakso@itmill.com> | 2007-12-03 19:14:00 +0000 |
commit | 362efe6fdf7c3a627e3bb7e63c33d21228619e6c (patch) | |
tree | aeb506a9900f616d470edcc8b3afcafe853dc92e /build | |
parent | e84304f70234b3768502e44ef97f88f19e902ea0 (diff) | |
download | vaadin-framework-362efe6fdf7c3a627e3bb7e63c33d21228619e6c.tar.gz vaadin-framework-362efe6fdf7c3a627e3bb7e63c33d21228619e6c.zip |
Packaging fixes
Added open source license and 3rd party licenses
Building new package
svn changeset:3129/svn branch:trunk
Diffstat (limited to 'build')
-rw-r--r-- | build/VERSION.properties | 2 | ||||
-rw-r--r-- | build/build.xml | 102 | ||||
-rw-r--r-- | build/package/Start IT Mill Toolkit.scpt | bin | 0 -> 2168 bytes | |||
-rw-r--r-- | build/package/linux-readme.txt | 29 | ||||
-rw-r--r-- | build/package/mac-Start-icon_script.zip | bin | 0 -> 180436 bytes | |||
-rw-r--r-- | build/package/mac-readme.txt | 31 | ||||
-rw-r--r-- | build/package/win-readme.txt | 54 | ||||
-rw-r--r-- | build/package/windows-readme.txt | 27 |
8 files changed, 117 insertions, 128 deletions
diff --git a/build/VERSION.properties b/build/VERSION.properties index 3caf922fbf..a33a51ed2d 100644 --- a/build/VERSION.properties +++ b/build/VERSION.properties @@ -1 +1 @@ -version=5.0.0-alpha-20 +version=5.0.0-alpha-21 diff --git a/build/build.xml b/build/build.xml index bf6061780a..590a2e16e2 100644 --- a/build/build.xml +++ b/build/build.xml @@ -298,6 +298,41 @@ <target name="add-platform-specific-files"> <echo>Adding platform specific files for ${package-platform}</echo> + <copy todir="${output-dir}"> + <filterchain> + <expandproperties /> + <replacetokens begintoken="<" endtoken=">"> + <token key="version" value="${version}" /> + <token key="/version" value="" /> + </replacetokens> + <replacetokens begintoken="<" endtoken=">"> + <token key="platform" value="${package-platform}" /> + <token key="/platform" value="" /> + </replacetokens> + </filterchain> + <fileset dir="WebContent/license"> + <include name="COPYING" /> + </fileset> + </copy> + <copy todir="${output-dir}/WebContent"> + <filterchain> + <expandproperties /> + <replacetokens begintoken="<" endtoken=">"> + <token key="version" value="${version}" /> + <token key="/version" value="" /> + </replacetokens> + <replacetokens begintoken="<" endtoken=">"> + <token key="platform" value="${package-platform}" /> + <token key="/platform" value="" /> + </replacetokens> + </filterchain> + <fileset dir="WebContent"> + <exclude name="**/.svn" /> + <include name="release-notes.html" /> + <include name="*.html" /> + <include name="license/*.html" /> + </fileset> + </copy> <delete includeemptydirs="true" defaultexcludes="false"> <fileset dir="${output-dir}"> <include name=".*" /> @@ -375,6 +410,10 @@ </fileset> </copy> <chmod file="${output-dir}/start.sh" perm="ugo+x" /> + <exec executable="chmod" failonerror="false"> + <arg line="ugo+x" /> + <arg line="${output-dir}/start.sh" /> + </exec> </then> </if> <if> @@ -385,12 +424,12 @@ <include name="start.sh" /> </fileset> </copy> - <!-- must be done in native way, otherwise fails --> - <exec executable="cp" failonerror="true"> + <!-- must be done manually --> + <!-- <exec executable="cp" failonerror="true"> <arg line="-r" /> <arg line="build/package/Start.app" /> <arg line="${output-dir}" /> - </exec> + </exec> --> <!-- but again, ant just fails with any * or other special characters --> <!-- package icon or folder background image / icon placements not in use --> <!-- @@ -405,50 +444,15 @@ <copy file="build/package/mac-VolumeIcon.icns" tofile="${output-dir}/.VolumeIcon.icns" /> --> <chmod file="${output-dir}/start.sh" perm="ugo+x" /> + <exec executable="chmod" failonerror="false"> + <arg line="ugo+x" /> + <arg line="${output-dir}/start.sh" /> + </exec> </then> </if> </target> - <target name="build" depends="root, demo" description="Build package required files, without packing them."> - </target> - - <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Add and filter root files - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> - <target name="root"> - - <copy todir="${output-dir}/WebContent/license"> - <fileset dir="WebContent/license"> - <filename name="*.pdf" /> - </fileset> - </copy> - <copy todir="${output-dir}/WebContent"> - <filterchain> - <expandproperties /> - <replacetokens begintoken="<" endtoken=">"> - <token key="version" value="${version}" /> - <token key="/version" value="" /> - </replacetokens> - </filterchain> - <fileset dir="WebContent"> - <exclude name="**/.svn" /> - <include name="release-notes.html" /> - <include name="*.html" /> - <include name="license/*.html" /> - </fileset> - </copy> - - <!-- copy 3rd part libraries used by demo --> - <copy todir="${output-dir}/WebContent/demo/lib"> - <fileset dir="lib"> - <include name="reservr/**/*" /> - </fileset> - </copy> - <copy todir="${output-dir}/WebContent/demo/lib"> - <fileset dir="lib"> - <include name="jetty/**/*" /> - </fileset> - </copy> + <target name="build" depends="demo" description="Build package required files, without packing them."> </target> @@ -498,6 +502,18 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <target name="webcontent" depends="preprocess-src"> + <!-- copy 3rd part libraries used by demo --> + <copy todir="${output-dir}/WebContent/demo/lib"> + <fileset dir="lib"> + <include name="reservr/**/*" /> + </fileset> + </copy> + <copy todir="${output-dir}/WebContent/demo/lib"> + <fileset dir="lib"> + <include name="jetty/**/*" /> + </fileset> + </copy> + <!-- Add demo sources --> <echo>Adding demo sources to WebContent/WEB-INF/src</echo> <copy todir="${output-dir}/WebContent/WEB-INF/src"> diff --git a/build/package/Start IT Mill Toolkit.scpt b/build/package/Start IT Mill Toolkit.scpt Binary files differnew file mode 100644 index 0000000000..2804df49d0 --- /dev/null +++ b/build/package/Start IT Mill Toolkit.scpt diff --git a/build/package/linux-readme.txt b/build/package/linux-readme.txt index cf8f63e7d3..ce4574fc70 100644 --- a/build/package/linux-readme.txt +++ b/build/package/linux-readme.txt @@ -2,25 +2,30 @@ How to Start?
-Open shell and execute "sh start.sh". IT Mill Toolkit webpage guides you forward.
+Open shell and execute "sh start.sh". This starts IT Mill Toolkit
+web application which guides your forward.
What's Inside the IT Mill Toolkit Package?
-You should explore package through the provided webpage within the package,
-see 'How to Start?' above. Package is an web application itself and directly
-importable to Eclipse IDE.
+You should start exploring IT Mill Toolkit through the provided web application
+within this package, see 'How to Start?' above. WebContent contains demos,
+documentation and other useful information to get started with IT Mill Toolkit.
-Here are few important locations and files:
+This directory is directly importable to Eclipse IDE using
+"File / Import / Existing Projects into Workspace" selection from Eclipse main
+menu.
-start.sh
-- start exploring IT Mill Toolkit by executing this script
+Below is a list of most important locations and files:
-WebContent/License
-- license files
+Start IT Mill Toolkit
+- start exploring IT Mill Toolkit by double-clicking this icon
+
+COPYING
+- license file
WebContent/WEB-INF/lib/itmill-toolkit-<version></version>.jar
-- IT Mill Toolkit library containing sources and compiled files
+- IT Mill Toolkit library containing Java source and compiled files
WebContent/demo/itmill-toolkit.war
- deployable demo application for your application server
@@ -52,3 +57,7 @@ build-widgetsets.xml WebContent/ITMILL
- widgetsets and themes
+
+gwt
+- Google Web Toolkit is required for building new widgetsets
+
diff --git a/build/package/mac-Start-icon_script.zip b/build/package/mac-Start-icon_script.zip Binary files differnew file mode 100644 index 0000000000..9de5a208d4 --- /dev/null +++ b/build/package/mac-Start-icon_script.zip diff --git a/build/package/mac-readme.txt b/build/package/mac-readme.txt index dd9bddc3c9..d96a123ab0 100644 --- a/build/package/mac-readme.txt +++ b/build/package/mac-readme.txt @@ -2,27 +2,32 @@ How to Start?
-Just double-click Start icon. IT Mill Toolkit webpage guides you forward.
-If for some reason Start icon fails in your environment, another option is
-to open shell and execute "sh start.sh".
+Just double-click Start IT Mill Toolkit icon. This starts IT Mill Toolkit
+web application which guides your forward. If for some reason start icon
+fails in your environment, another option is to open shell and execute
+"sh start.sh".
What's Inside the IT Mill Toolkit Package?
-You should explore package through the provided webpage within the package,
-see 'How to Start?' above. Package is an web application itself and directly
-importable to Eclipse IDE.
+You should start exploring IT Mill Toolkit through the provided web application
+within this package, see 'How to Start?' above. WebContent contains demos,
+documentation and other useful information to get started with IT Mill Toolkit.
-Here are few important locations and files:
+This directory is directly importable to Eclipse IDE using
+"File / Import / Existing Projects into Workspace" selection from Eclipse main
+menu.
-Start
+Below is a list of most important locations and files:
+
+Start IT Mill Toolkit
- start exploring IT Mill Toolkit by double-clicking this icon
-WebContent/License
-- license files
+COPYING
+- license file
WebContent/WEB-INF/lib/itmill-toolkit-<version></version>.jar
-- IT Mill Toolkit library containing sources and compiled files
+- IT Mill Toolkit library containing Java source and compiled files
WebContent/demo/itmill-toolkit.war
- deployable demo application for your application server
@@ -54,3 +59,7 @@ build-widgetsets.xml WebContent/ITMILL
- widgetsets and themes
+
+gwt
+- Google Web Toolkit is required for building new widgetsets
+
diff --git a/build/package/win-readme.txt b/build/package/win-readme.txt deleted file mode 100644 index 5e7d2cccf9..0000000000 --- a/build/package/win-readme.txt +++ /dev/null @@ -1,54 +0,0 @@ -== IT Mill Toolkit <version></version> Readme ==
-
-How to Start?
-
-Double-click start.bat. IT Mill Toolkit webpage guides you forward.
-
-
-What's Inside the IT Mill Toolkit Package?
-
-You should explore package through the provided webpage within the package,
-see 'How to Start?' above. Package is an web application itself and directly
-importable to Eclipse IDE.
-
-Here are few important locations and files:
-
-start.bat
-- start exploring IT Mill Toolkit by double-clicking this icon
-
-WebContent/License
-- license files
-
-WebContent/WEB-INF/lib/itmill-toolkit-<version></version>.jar
-- IT Mill Toolkit library containing sources and compiled files
-
-WebContent/demo/itmill-toolkit.war
-- deployable demo application for your application server
-
-WebContent/doc/manual.pdf
-- manual in PDF format
-
-WebContent/doc/manual/index.html
-- manual in HTML format
-
-WebContent/doc/api/index.html
-- JavaDocs
-
-WebContent/WEB-INF/src
-- demo source code, compiled into WebContent/WEB-INF/classes
-
-WebContent/doc/example-source
-- example source in HTML format
-
-WebContent/demo
-- files required by demos
-
-IT Mill Toolkit Hosted Mode.launch
-IT Mill Toolkit Web Mode.launch
-- launch configurations for Eclipse workspace
-
-build-widgetsets.xml
-- builds GWT widgetsets for IT Mill Toolkit applications
-
-WebContent/ITMILL
-- widgetsets and themes
diff --git a/build/package/windows-readme.txt b/build/package/windows-readme.txt index 5e7d2cccf9..3250ba4813 100644 --- a/build/package/windows-readme.txt +++ b/build/package/windows-readme.txt @@ -2,25 +2,30 @@ How to Start?
-Double-click start.bat. IT Mill Toolkit webpage guides you forward.
+Just double-click start.bat icon. This starts IT Mill Toolkit web application
+which guides your forward.
What's Inside the IT Mill Toolkit Package?
-You should explore package through the provided webpage within the package,
-see 'How to Start?' above. Package is an web application itself and directly
-importable to Eclipse IDE.
+You should start exploring IT Mill Toolkit through the provided web application
+within this package, see 'How to Start?' above. WebContent contains demos,
+documentation and other useful information to get started with IT Mill Toolkit.
-Here are few important locations and files:
+This directory is directly importable to Eclipse IDE using
+"File / Import / Existing Projects into Workspace" selection from Eclipse main
+menu.
-start.bat
+Below is a list of most important locations and files:
+
+Start IT Mill Toolkit
- start exploring IT Mill Toolkit by double-clicking this icon
-WebContent/License
-- license files
+COPYING
+- license file
WebContent/WEB-INF/lib/itmill-toolkit-<version></version>.jar
-- IT Mill Toolkit library containing sources and compiled files
+- IT Mill Toolkit library containing Java source and compiled files
WebContent/demo/itmill-toolkit.war
- deployable demo application for your application server
@@ -52,3 +57,7 @@ build-widgetsets.xml WebContent/ITMILL
- widgetsets and themes
+
+gwt
+- Google Web Toolkit is required for building new widgetsets
+
|