Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Moved Cruise Control build files to builder-integration repo, in prep…

…aration for componentbuild push to github
  • Loading branch information...
commit fb9bec9a9b2fb1da140b27edc4a52b41f348b167 1 parent 1f29cb2
@sdesai sdesai authored
Showing with 0 additions and 6,418 deletions.
  1. +0 −11 YUI_CC_README.txt
  2. +0 −65 config.xml
  3. +0 −516 projects/yui2/build.xml
  4. +0 −8 projects/yui3/3.x/READMES/README.txt
  5. +0 −52 projects/yui3/3.x/READMES/THINGS_TO_CHANGE.txt
  6. +0 −11 projects/yui3/3.x/READMES/YUI_CC_README.txt
  7. +0 −54 projects/yui3/3.x/config.xml
  8. +0 −47 projects/yui3/3.x/projects/yui/apidocs.sh
  9. +0 −2  projects/yui3/3.x/projects/yui/build.sh
  10. +0 −348 projects/yui3/3.x/projects/yui/build.xml
  11. +0 −4 projects/yui3/3.x/projects/yui/checkout.sh
  12. +0 −6 projects/yui3/3.x/projects/yui/copyright.txt
  13. +0 −9 projects/yui3/3.x/projects/yui/latest_build.html
  14. +0 −9 projects/yui3/3.x/projects/yui/latest_build_ydn.html
  15. +0 −24 projects/yui3/3.x/projects/yui/push_all.py
  16. +0 −1  projects/yui3/3.x/projects/yui/version.txt
  17. +0 −2  projects/yui3/build.sh
  18. +0 −336 projects/yui3/build.xml
  19. +0 −75 projects/yui3/caboodle.sh
  20. +0 −6 projects/yui3/copyright.txt
  21. +0 −431 projects/yui3/genexamples.php
  22. +0 −431 projects/yui3/genexamples3.php
  23. BIN  projects/yui3/lib/ant-contrib-1.0b3.jar
  24. +0 −24 projects/yui3/push_all.py
  25. +0 −10 projects/yui3/todo.txt
  26. +0 −788 projects/yui3/verify/individual-debug.html
  27. +0 −788 projects/yui3/verify/individual-min.html
  28. +0 −788 projects/yui3/verify/individual.html
  29. +0 −1  projects/yui3/verify/response.html
  30. +0 −783 projects/yui3/verify/utilities.html
  31. +0 −786 projects/yui3/verify/yahoo-dom-event.html
  32. +0 −1  projects/yui3/version.internal.txt
  33. +0 −1  projects/yui3/version.ydn.txt
View
11 YUI_CC_README.txt
@@ -1,11 +0,0 @@
-Dropping these files into a stock CruiseControl distribution will set
-up the yui automated build.
-
-http://cruisecontrol.sourceforge.net/
-
-One the files are in place, you must do an initial checkout of the build dir:
-
-cd projects/yui
-cvs co -P yahoo/presentation/2.x
-
-Then run cruisecontrol.sh to start the server.
View
65 config.xml
@@ -1,65 +0,0 @@
-<cruisecontrol>
- <project name="yui3">
- <listeners>
- <currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
- </listeners>
-
- <bootstrappers>
- <gitbootstrapper localWorkingCopy="projects/${project.name}/src/yui3" />
- <!-- tools -->
- <gitbootstrapper localWorkingCopy="projects/${project.name}/src/builder" />
- <gitbootstrapper localWorkingCopy="projects/${project.name}/src/yuidoc" />
- <gitbootstrapper localWorkingCopy="projects/${project.name}/src/yuicompressor" />
- <gitbootstrapper localWorkingCopy="projects/${project.name}/src/cssProcessor" />
- </bootstrappers>
-
- <!-- Ignoring file checkins which are not part of PR1 -->
- <modificationset quietperiod="0" ignoreFiles="reset-fonts*,css*,slider*,tabview*">
- <git localWorkingCopy="projects/${project.name}/src/yui3" />
- <!--
- <git localWorkingCopy="projects/${project.name}/src/yui3/site" />
- <git localWorkingCopy="projects/${project.name}/src/yui3/src" />
- <git localWorkingCopy="projects/${project.name}/src/yui3/templates" />
- -->
- </modificationset>
-
- <schedule interval="3000">
- <ant anthome="apache-ant-1.7.0" buildfile="projects/${project.name}/build.xml"/>
- </schedule>
-
- <log>
- <merge dir="projects/${project.name}/target/test-results"/>
- </log>
-
- <publishers>
- <htmlemail mailhost="smtp.yahoo.com"
- returnaddress="yuibuild@yahoo-inc.com"
- buildresultsurl="http://presentbright.corp.yahoo.com:8080/buildresults/yui3/"
- skipusers="true"
- spamwhilebroken="true"
- css="webapps/cruisecontrol/css/cruisecontrol.css"
- xsldir="webapps/cruisecontrol/xsl"
- logdir="logs/yui3">
-
- <failure address="sdesai@yahoo-inc.com"/>
- <failure address="adamoore@yahoo-inc.com"/>
- <failure address="miraglia@yahoo-inc.com"/>
- <success address="yui-authors@yahoo-inc.com"/>
-
- <!--
- <always address="adamoore@yahoo-inc.com"/>
- -->
- <!--<always address="sdesai@yahoo-inc.com"/>-->
- </htmlemail>
-
- <onsuccess>
- <artifactspublisher dest="artifacts/${project.name}" dir="projects/${project.name}/target"/>
- <antpublisher anthome="apache-ant-1.7.0"
- buildfile="projects/${project.name}/build.xml"
- target="updategit" />
-
- </onsuccess>
- </publishers>
- <labelincrementer defaultLabel="yui3-260" separator="-" />
- </project>
-</cruisecontrol>
View
516 projects/yui2/build.xml
@@ -1,516 +0,0 @@
-<project name="yui2" default="all">
- <!--
- This is the master build for yui. It generates rollup files, the API docs, the
- zip distribution, and the files that go to akamai
-
- Requires ant 1.6.5+
- Requires ant-contrib tasks: http://ant-contrib.sourceforge.net/
- -->
-
- <property name="basedir" location="."/>
- <property name="localcheckoutdir" value="${basedir}/src" />
- <property name="tools" location="${basedir}/src/builder" />
- <property name="builddir" value="${localcheckoutdir}/builder/componentbuild" />
- <property name="yuicompressor.jar" value="${builddir}/lib/yuicompressor/yuicompressor-2.4.2.jar" />
- <property name="cssProcessor.jar" value="${localcheckoutdir}/cssProcessor/CSSProcessor-0.1.0.jar" />
-
- <property name="flex.home" location="${basedir}/flex3sdk" />
-
- <!--
- <property name="flex.home" location="${builddir}/lib/flex_sdk_3"/>
- <property name="flex.home" location="${checkoutdir}/asdf/asd/f/as/lib/flex_sdk_3"/>
- -->
-
-
- <property name="src" location="${localcheckoutdir}/yui2"/>
- <property name="srcdir" location="${src}" />
-
- <import file="${builddir}/shared/macrolib.xml" description="Macrodef definitions - jslint, jsmin, registerversion" />
-
- <property name="build" location="${basedir}/target"/>
- <property name="yui" location="${build}/yui"/>
- <property name="examplesdist" location="${basedir}/examples_dist"/>
- <property name="examplesydn" location="${basedir}/examples_ydn"/>
- <property name="examplesprod" location="${basedir}/examples_prod"/>
- <property name="verify" location="${basedir}/verify"/>
- <property name="tmp" location="${basedir}/tmp"/>
-
- <loadfile property="version.internal" srcFile="${basedir}/version.internal.txt">
- <filterchain>
- <striplinebreaks/>
- </filterchain>
- </loadfile>
-
- <property name="akamai" location="${build}/akamai/${version.internal}"/>
-
- <!--
- <property name="makeover" location="${build}/makeover/${version.internal}"/>
- -->
-
-<!--
- <taskdef resource="net/sf/antcontrib/antcontrib.properties">
- <classpath>
- <pathelement location="{builddir}/lib/ant-contrib/ant-contrib-1.0b3-modified.jar"/>
- </classpath>
- </taskdef>
--->
-
- <taskdef resource="net/sf/antcontrib/antcontrib.properties">
- <classpath>
- <pathelement location="${tools}/componentbuild/lib/ant-contrib/ant-contrib-1.0b3-modified.jar" />
- </classpath>
- </taskdef>
-
- <target name="all" depends="test,compile, package, verify, akamai"/>
-
- <target name="compile">
-
- <!-- label property ex: build.78 ... strip "build." for YAHOO.register -->
- <!-- 20070416, changed - label property ex: yui.78 ... strip "yui." for YAHOO.register -->
- <propertyregex property="version.build"
- input="${label}"
- regexp="yui2\-(.*)"
- replace="\1"
- casesensitive="false"
- defaultValue="" />
-
- <!-- clean up build dir and recreate -->
- <delete dir="${build}"/>
- <delete dir="${tmp}"/>
- <delete dir="${examplesdist}"/>
- <delete dir="${examplesydn}"/>
- <delete dir="${examplesprod}"/>
- <mkdir dir="${build}"/>
- <mkdir dir="${tmp}"/>
- <mkdir dir="${akamai}"/>
- <!--
- <mkdir dir="${makeover}"/>
- -->
-
- <!-- create yahoo-dom-event.js -->
- <concat destfile="${src}/build/yahoo-dom-event/yahoo-dom-event.js">
- <filelist dir="${src}/build"
- files="yahoo/yahoo-min.js,dom/dom-min.js,event/event-min.js"/>
- </concat>
- <registerversion classname="YAHOO" module="yahoo-dom-event"
- file="${src}/build/yahoo-dom-event/yahoo-dom-event.js" />
-
-
- <!-- create yuiloader-dom-event.js -->
- <concat destfile="${src}/build/yuiloader-dom-event/yuiloader-dom-event.js">
- <filelist dir="${src}/build"
- files="yuiloader/yuiloader-min.js,dom/dom-min.js,event/event-min.js"/>
- </concat>
- <registerversion classname="YAHOO" module="yuiloader-dom-event"
- file="${src}/build/yuiloader-dom-event/yuiloader-dom-event.js" />
-
- <!-- create utilities.js -->
- <concat destfile="${src}/build/utilities/utilities.js">
- <filelist dir="${src}/build"
- files="yuiloader/yuiloader-min.js,dom/dom-min.js,event/event-min.js,connection/connection-min.js,animation/animation-min.js,dragdrop/dragdrop-min.js,element/element-beta-min.js"/>
- </concat>
- <registerversion classname="YAHOO" module="utilities"
- file="${src}/build/utilities/utilities.js" />
-
- <!-- create reset-fonts-grids -->
- <concat destfile="${src}/build/reset-fonts-grids/reset-fonts-grids.css">
- <filelist dir="${src}/build"
- files="reset/reset-min.css,fonts/fonts-min.css,grids/grids-min.css"/>
- </concat>
-
- <!-- create reset-fonts -->
- <concat destfile="${src}/build/reset-fonts/reset-fonts.css">
- <filelist dir="${src}/build"
- files="reset/reset-min.css,fonts/fonts-min.css"/>
- </concat>
-
- <!-- copy global README ... @todo extract latest release notes from all components -->
- <copy file="${src}/README" tofile="${yui}/README" preservelastmodified="true" />
-
-
- <!-- copy everything in build except the js/css files -->
- <copy todir="${yui}/build" includeEmptyDirs="false" preservelastmodified="true">
- <fileset dir="${src}/build">
- <exclude name="**/*.js"/>
- <exclude name="**/*.css"/>
- </fileset>
- </copy>
-
-
- <!-- copy skins -->
- <!-- TODO, one task for all skins
- <copy todir="${yui}/build/assets/skins" preservelastmodified="true" flatten="true">
- <fileset dir="${yui}/build">
- <include name="**/assets/skins/**"/>
- </fileset>
- </copy>
- -->
-
-
- <copy todir="${tmp}/build/assets/skins/sam" preservelastmodified="true" flatten="true">
- <fileset dir="${src}/build">
- <include name="**/assets/skins/sam/*" />
- <exclude name="**/assets/skins/sam/*-skin.css" />
- </fileset>
- </copy>
-
- <concat destfile="${tmp}/build/assets/skins/sam/skin.css">
- <fileset dir="${tmp}/build/assets/skins/sam">
- <include name="*.css" />
- </fileset>
- </concat>
-
- <replace dir="${tmp}/build/assets/skins/sam" value="">
- <include name="**/*.css"/>
- <replacefilter token="../../../../../build/assets/skins/sam/" />
- <replacefilter token="../../../../assets/skins/sam/" />
- </replace>
-
- <copy todir="${yui}/build/assets/skins/sam" preservelastmodified="true" flatten="true">
- <fileset dir="${tmp}/build/assets/skins/sam">
- <include name="*" />
- <exclude name="*.css" />
- </fileset>
- </copy>
-
- <copy todir="${yui}/build/assets/skins/sam" preservelastmodified="true" flatten="true">
- <fileset dir="${tmp}/build/assets/skins/sam">
- <include name="*.css" />
- </fileset>
- <filterchain>
- <concatfilter prepend="copyright.txt"/>
- <replacetokens>
- <token key="VERSION" value="${version.internal}"/>
- <token key="BUILD" value="${version.build}"/>
- </replacetokens>
- </filterchain>
- </copy>
-
-
- <!-- copy build js/css files, updating version token and prepending the copyright info
- do NOT preservelastmodified because the file is being modified with the current
- build number
-
- includeEmptryDirs needs to be turned off since removed
- directories in CVS are not completely removed.
- -->
- <copy todir="${yui}/build" includeEmptyDirs="false">
- <fileset dir="${src}/build">
- <include name="**/*.js"/>
- <include name="**/*.css"/>
- </fileset>
- <filterchain>
- <concatfilter prepend="copyright.txt"/>
- <replacetokens>
- <token key="VERSION" value="${version.internal}"/>
- <token key="BUILD" value="${version.build}"/>
- </replacetokens>
- </filterchain>
- </copy>
-
- <asdoc />
-
- <copy todir="${yui}/as-docs" preservelastmodified="true">
- <fileset dir="${src}/as-docs" />
- </copy>
-
- <copy todir="${yui}/as-src" preservelastmodified="true">
- <fileset dir="${src}/as-src" />
- </copy>
-
- <!-- TODO copy to YDN too? Need another copy with instrumentation first, prob -->
-
- <!-- Generate docs and copy to the yui zip dir -->
- <exec dir="." executable="${basedir}/caboodle.sh" outputproperty="docgen.output" />
- <copy todir="${yui}/docs" preservelastmodified="true">
- <fileset dir="${tmp}/docs" />
- </copy>
-
- <!-- copy the cheat sheets too -->
- <!--
- <copy todir="${yui}/docs/assets" preservelastmodified="true">
- <fileset dir="${src}/docs/assets">
- <include name="**/*.zip"/>
- </fileset>
- </copy>
- -->
-
- <!-- generate the ydn specific docs -->
- <exec dir="." executable="${basedir}/caboodle.sh" outputproperty="docgen.output" >
- <arg value="-y" />
- </exec>
- <copy todir="${build}/ydn/docs" preservelastmodified="true">
- <fileset dir="${tmp}/docs" />
- </copy>
-
- <!-- copy the cheat sheets too -->
- <!--
- <copy todir="${build}/ydn/docs/assets" preservelastmodified="true">
- <fileset dir="${src}/docs/assets">
- <include name="**/*.zip"/>
- </fileset>
- </copy>
- -->
-
- <exec dir="." executable="./examples.sh" output="examples_dist.log">
- <arg value="-b" />
- <arg value="true" />
- <arg value="-v" />
- <arg value="${version.internal}" />
- </exec>
-
- <copy todir="${yui}" preservelastmodified="true">
- <fileset dir="${examplesdist}/"/>
- </copy>
-
- <exec dir="." executable="./examples.sh" output="examples_ydn.log">
- <arg value="-y" />
- <arg value="true" />
- <arg value="-d" />
- <arg value="examples_ydn" />
- <arg value="-b" />
- <arg value="true" />
- <arg value="-v" />
- <arg value="${version.internal}" />
- </exec>
- <copy todir="${build}/ydn/examples" preservelastmodified="true">
- <fileset dir="${examplesydn}/"/>
- </copy>
-
- <exec dir="." executable="./examples.sh" output="examples_prod.log">
- <arg value="-y" />
- <arg value="true" />
- <arg value="-d" />
- <arg value="examples_prod" />
- <arg value="-v" />
- <arg value="${version.internal}" />
- </exec>
- <copy todir="${build}/prod/examples" preservelastmodified="true">
- <fileset dir="${examplesprod}/"/>
- </copy>
-
-
-
- <!-- copy tests -->
- <copy todir="${yui}/tests" preservelastmodified="true">
- <fileset dir="${src}/tests"/>
- </copy>
-
- </target>
-
- <!-- @todo run tests -->
- <target name="test">
-
- <!--
- <java jar="lib/crosscheck.jar" fork="true" failonerror="true" maxmemory="128m" >
- <arg value="-h"/>
- <classpath>
- <pathelement location="lib/crosscheck.jar"/>
- <pathelement path="${java.class.path}"/>
- </classpath>
- <arg value="tests" />
- </java>
- -->
-
- </target>
-
- <!-- zip up everything in the build directory -->
- <!--
- excludes="yui/build/selector"
- -->
- <target name="package" depends="compile">
- <zip destfile="${build}/yui_${version.internal}.zip"
- basedir="${build}"
- includes="yui/**"
- excludes="yui/as-src/datastore,yui/as-src/datastore/**,yui/build/datastore,yui/build/datastore/**,yui/build/stylesheet,yui/build/stylesheet/**"
- />
- <checksum file="${build}/yui_${version.internal}.zip" />
-
- <property name="latestpackage" value="yui_${version.internal}-${version.build}" />
-
- <tar destfile="${build}/${latestpackage}_build.tar.gz" compression="gzip">
- <tarfileset dir="${build}" includes="yui/build/**" />
- </tar>
- <checksum file="${build}/${latestpackage}_build.tar.gz" />
-
- <tar destfile="${build}/${latestpackage}.tar.gz" compression="gzip">
- <tarfileset dir="${build}" includes="yui/**" />
- <tarfileset dir="${src}" includes="src/**" prefix="yui/" />
- </tar>
- <checksum file="${build}/${latestpackage}.tar.gz" />
-
- <!-- ydn examples -->
- <!--
- <zip destfile="${build}/ydn_${version.internal}.zip" basedir="${build}/ydn/examples" />
- -->
-
- </target>
-
-
- <target name="akamai" depends="compile">
- <!-- copy only the build files that belong on akamai -->
- <copy todir="${akamai}/build">
- <fileset dir="${yui}/build">
- <patternset id="just.min">
- <!--
- <include name="**/*-min.js"/>
- <include name="**/*-min.css"/>
- <include name="**/utilities*"/>
- <include name="**/yahoo-dom-event*"/>
- <include name="**/reset-fonts*"/>
- <include name="**/assets/**"/>
- -->
- <include name="**/*.js"/>
- <include name="**/*.css"/>
- <include name="**/assets/**"/>
- </patternset>
- </fileset>
- </copy>
-
- <java jar="${cssProcessor.jar}" failonerror="true" fork="true">
- <arg value="-b" />
- <arg value="http://yui.yahooapis.com/${version.internal}/build/" />
- <arg file="${akamai}/build" />
- </java>
-
- <copy file="push_all.py" tofile="${build}/akamai/${version.internal}/push_all.py" preservelastmodified="true" />
-
- <zip destfile="${build}/akamai_${version.internal}.zip" basedir="${build}/akamai" />
-
- </target>
-
- <!--
- <target name="makeover" depends="compile">
- <copy todir="${makeover}/build">
- <fileset dir="${yui}/build"/>
- </copy>
-
- <zip destfile="${build}/makeover_${version.internal}.zip" basedir="${build}/makeover" />
- </target>
- -->
-
- <target name="verify" depends="compile">
- <!-- copy build verification files -->
- <copy todir="${build}/verify" preservelastmodified="true">
- <fileset dir="${verify}"/>
- </copy>
- <copy file="${basedir}/latest_build.html" tofile="${build}/latest_build.html" preservelastmodified="true" />
- </target>
-
- <target name="updategit">
- <echo message="Committing git ${label}" level="info" />
- <exec dir="src/yui2" executable="git" outputproperty="git.commit.output" >
- <arg value="commit"/>
- <arg value="-a"/>
- <arg value="-m"/>
- <arg value="${label}"/>
- </exec>
-
- <echo message="Tagging git ${label}" level="info" />
- <exec dir="src/yui2" executable="git" outputproperty="git.tag.output" >
- <arg value="tag"/>
- <arg value="-a"/>
- <arg value="-m"/>
- <arg value="${gitcommitid}"/>
- <arg value="${label}"/>
- </exec>
-
- <exec dir="src/yui2" executable="git" outputproperty="git.pushtag.output" >
- <arg value="push"/>
- <arg value="--all"/>
- </exec>
-
- <exec dir="src/yui2" executable="git" outputproperty="git.pushpublic.output" >
- <arg value="push"/>
- <arg value="git@yuilibrary.com:yui2"/>
- <arg value="master:refs/heads/master"/>
- </exec>
-
- </target>
-
-
- <target name="updatecvs">
-
- <!-- periods are not allowed in cvs labels -->
-
- <propertyregex property="label.scrubbed"
- input="${label}"
- regexp="yui\.(.*)"
- replace="yui\1"
- casesensitive="false"
- defaultValue="" />
-
- <!-- committing these files to this location will cause another
- build to happen unless I specifically itemize all of the
- directories I want to monitor. Added ignoreFiles in
- config.xml that will hopefully take care of this -->
-
- <echo message="Build successful, committing rollups" />
-
-<!--
-
- <cvs cvsroot="${cvs.root}" cvsrsh="${cvs.rsh}" dest=".">
- <commandline>
- <argument value="commit"/>
- <argument value="-m"/>
- <argument value="${label.scrubbed}"/>
- <argument value="yahoo/presentation/2.x/build/utilities"/>
- <argument value="yahoo/presentation/2.x/build/yahoo-dom-event"/>
- <argument value="yahoo/presentation/2.x/build/yuiloader-dom-event"/>
- <argument value="yahoo/presentation/2.x/build/reset-fonts"/>
- <argument value="yahoo/presentation/2.x/build/reset-fonts-grids"/>
- <argument value="yahoo/presentation/2.x/build/assets/skins/sam"/>
- </commandline>
- </cvs>
-
- <echo message="labeling cvs" />
- <cvs cvsroot="${cvs.root}" cvsrsh="${cvs.rsh}" dest=".">
- <commandline>
- <argument value="tag"/>
- <argument value="${label.scrubbed}"/>
- <argument value="yahoo/presentation/2.x"/>
- <argument value="yahoo/presentation/templates"/>
- <argument value="yahoo/presentation/tools"/>
- </commandline>
- </cvs>
-
--->
- </target>
-
-<!--
- <target name="recompress">
-
- <foreach list="animation,autocomplete,calendar,connection,container,dom,dragdrop,event,logger,menu,slider,tabview,treeview,yahoo"
- param="mod" target="compressnormal" />
-
- <foreach list="button,colorpicker,datasource,datatable,element,editor,history,yuiloader,yuitest"
- param="mod" target="compressbeta" />
-
- <foreach list="imageloader"
- param="mod" target="compressexperimental" />
-
- <echo>compressing container core</echo>
- <yuicompress dir="${src}/build/container" file="container_core.js"
- args="- -warn - -preserve-semi - -line-break 6000" />
- </target>
-
- <target name="compressnormal">
- <echo>compressing ${mod}</echo>
- <yuicompress dir="${src}/build/${mod}" file="${mod}.js"
- args="- -warn - -preserve-semi - -line-break 6000" />
- </target>
-
- <target name="compressbeta">
- <echo>compressing ${mod}</echo>
- <yuicompress dir="${src}/build/${mod}" file="${mod}-beta.js"
- args="- -warn - -preserve-semi - -line-break 6000" />
- </target>
-
- <target name="compressexperimental">
- <echo>compressing ${mod}</echo>
- <yuicompress dir="${src}/build/${mod}" file="${mod}-experimental.js"
- args="- -warn - -preserve-semi - -line-break 6000" />
- </target>
--->
-
-</project>
View
8 projects/yui3/3.x/READMES/README.txt
@@ -1,8 +0,0 @@
-CruiseControl Binary Release
-Release: 2.5
-
-This binary release is a trimmed down version of the full CruiseControl release.
-It is fully functional and intended to work with a sample CVS project "out of
-the box".
-
-See docs/gettingstartedbindist.html for complete documentation.
View
52 projects/yui3/3.x/READMES/THINGS_TO_CHANGE.txt
@@ -1,52 +0,0 @@
-adam
-----
-config.xml
- config.xml.2_4
- config.xml.2_5_1
- config.xml.head
- config.xml.ydn-2_3_1
-
-projects/yui/build.xml
-
-feelbuild
----------
-config.xml
- config.xml.2_4
- config.xml.2_5_1
- config.xml.head
- config.xml.ydn-2_3_1
-
-projects/yui/PHP_ENABLED_LINK.html
-
-2.x
----
-caboodle.sh
-
-projects/yui/caboodle_redo.sh
-
-projects/yui/caboodle.sh
-
-config.xml
- config.xml.2_4
- config.xml.2_5_1
- config.xml.head
- config.xml.ydn-2_3_1
-
-lib/smackx.jar
-
-projects/yui/build.xml.orig
-projects/yui/build.xml
-
-projects/yui/251pluscheckout.sh
- projects/yui/231checkout.sh
- projects/yui/240checkout.sh
- projects/yui/241checkout.sh
- projects/yui/231pluscheckout.sh
- projects/yui/251checkout.sh
- projects/yui/250checkout.sh
- projects/yui/branch_checkout.sh
- projects/yui/230pluscheckout.sh
- projects/yui/260checkout.sh
-
-projects/yui/251newexamples.sh
-projects/yui/tests/yahoo.jst
View
11 projects/yui3/3.x/READMES/YUI_CC_README.txt
@@ -1,11 +0,0 @@
-Dropping these files into a stock CruiseControl distribution will set
-up the yui automated build.
-
-http://cruisecontrol.sourceforge.net/
-
-One the files are in place, you must do an initial checkout of the build dir:
-
-cd projects/yui
-cvs co -P yahoo/presentation/2.x
-
-Then run cruisecontrol.sh to start the server.
View
54 projects/yui3/3.x/config.xml
@@ -1,54 +0,0 @@
-<cruisecontrol>
- <project name="yui">
- <listeners>
- <currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
- </listeners>
-
- <bootstrappers>
- <cvsbootstrapper localWorkingCopy="projects/${project.name}" file="yahoo/presentation/3.x/build" />
- <cvsbootstrapper localWorkingCopy="projects/${project.name}" file="yahoo/presentation/3.x/src" />
- <cvsbootstrapper localWorkingCopy="projects/${project.name}" file="yahoo/presentation/3.x/tests" />
- <cvsbootstrapper localWorkingCopy="projects/${project.name}" file="yahoo/presentation/3.x/templates" />
- <cvsbootstrapper localWorkingCopy="projects/${project.name}" file="yahoo/presentation/3.x/site" />
- <cvsbootstrapper localWorkingCopy="projects/${project.name}" file="yahoo/presentation/tools" />
- </bootstrappers>
-
- <!-- Ignoring file checkins which are not part of PR1 -->
- <modificationset quietperiod="25" ignoreFiles="reset-fonts*,classnamemanager*,css*,log*,slider*,tabview*,widget*,cookie*">
- <cvs localWorkingCopy="projects/${project.name}/yahoo/presentation/3.x/build" />
- <cvs localWorkingCopy="projects/${project.name}/yahoo/presentation/3.x/templates" />
- </modificationset>
-
- <schedule interval="7200">
- <ant anthome="apache-ant-1.6.5" buildfile="projects/${project.name}/build.xml"/>
- </schedule>
-
- <log>
- <merge dir="projects/${project.name}/target/test-results"/>
- </log>
-
- <publishers>
- <htmlemail mailhost="smtp.yahoo.com"
- returnaddress="sdesai@yahoo-inc.com"
- buildresultsurl="http://delightfuture.corp.yahoo.com:8080/buildresults/yui/"
- skipusers="true"
- spamwhilebroken="true"
- css="webapps/cruisecontrol/css/cruisecontrol.css"
- xsldir="webapps/cruisecontrol/xsl"
- logdir="logs/yui">
- <failure address="sdesai@yahoo-inc.com"/>
- <success address="yui-authors@yahoo-inc.com"/>
- <!--<always address="sdesai@yahoo-inc.com"/>-->
- </htmlemail>
-
- <onsuccess>
- <artifactspublisher dest="artifacts/${project.name}" dir="projects/${project.name}/target"/>
- <antpublisher anthome="apache-ant-1.6.5"
- buildfile="projects/${project.name}/build.xml"
- target="updatecvs" />
-
- </onsuccess>
- </publishers>
- <labelincrementer defaultLabel="yui3-0" separator="-" />
- </project>
-</cruisecontrol>
View
47 projects/yui3/3.x/projects/yui/apidocs.sh
@@ -1,47 +0,0 @@
-#!/bin/sh
-
-##############################################################################
-
-# The location of your yuidoc install
-# yuidoc_home=yahoo/presentation/tools/yuidoc
-# yuidoc_home=~/www/yuidoc/yuidoc
-yuidoc_home=yahoo/presentation/tools/yuidoc
-
-basedir=tmp
-#util=$basedir/util
-#widget=$basedir/widget
-#tool=$basedir/tool
-src=$basedir/apisrc
-
-# The location of the files to parse. Parses subdirectories, but will fail if
-# there are duplicate file names in these directories.
-# parser_in="$src/animation \
-# $src/attribute \
-# $src/base \
-# $src/dd \
-# $src/dom \
-# $src/json \
-# $src/json-parse \
-# $src/json-stringify \
-# $src/node \
-# $src/queue \
-# $src/yui"
-parser_in="$src"
-
-# The location to output the parser data. This output is a file containing a
-# json string, and copies of the parsed files.
-parser_out=tmp/yuidoc_tmp
-
-# The directory to put the html file outputted by the generator
-generator_out=tmp/api
-
-# The location of the template files. Any subdirectories here will be copied
-# verbatim to the destination directory.
-template=$yuidoc_home/template
-
-version=`cat version.txt`
-
-##############################################################################
-
-$yuidoc_home/bin/yuidoc.py $parser_in -p $parser_out -o $generator_out -t $template -v $version -s $*
-
View
2  projects/yui3/3.x/projects/yui/build.sh
@@ -1,2 +0,0 @@
-#../../apache-ant-1.6.5/bin/ant -v >> build.log
-../../apache-ant-1.6.5/bin/ant -v > build.log
View
348 projects/yui3/3.x/projects/yui/build.xml
@@ -1,348 +0,0 @@
-<project name="yui" default="all">
- <!--
- This is the master build for yui. It generates rollup files, the API docs, the
- zip distribution, and the files that go to akamai
-
- Requires ant 1.6.5+
- Requires ant-contrib tasks: http://ant-contrib.sourceforge.net/
- -->
- <property name="basedir" location="."/>
- <property name="src" location="${basedir}/yahoo/presentation/3.x"/>
- <property name="tools" location="${basedir}/yahoo/presentation/tools/builder" />
- <property name="build" location="${basedir}/target"/>
- <property name="verify" location="${basedir}/verify"/>
- <property name="tmp" location="${basedir}/tmp"/>
-
- <property name="examples.script" location="${tools}/projects/yui/genexamples3.php" />
- <property name="apidocs.script" location="./apidocs.sh" />
-
- <property name="yui" location="${build}/yui"/>
-
- <!--
- <property name="examplesdist" location="${basedir}/examples_dist"/>
- <property name="examplesydn" location="${basedir}/examples_ydn"/>
- <property name="examplesprod" location="${basedir}/examples_prod"/>
- -->
-
- <property name="cvs.root" value="vault.yahoo.com:/CVSROOT" />
- <property name="cvs.rsh" value="yssh" />
-
- <property name="pr1.builddirs" value="animation/**/*, attribute/**/*, base/**/*, compat/**/*, dd/**/*, dom/**/*, fonts/**/*, io/**/*, json/**/*, node/**/*, profiler/**/*, queue/**/*, reset/**/*, yui/**/*, yuitest/**/*, reset-fonts/**/*" />
-
- <property name="pr1.srcdirs" value="animation/**/*, attribute/**/*, base/**/*, dd/**/*, dom/**/*, io/**/*, json-parse/**/*, json-stringify/**/*, node/**/*, profiler/**/*, queue/**/*, yui/**/*, yuitest/**/*" />
-
-<!--
- <property name="pr1.srcdirs" value="animation/**/*, attribute/**/*, base/**/*, dom/**/*, io/**/*, json-parse/**/*, json-stringify/**/*, node/**/*, queue/**/*, yui/**/*" />
--->
-
- <property name="pr1.testdirs" value="**/*" />
-
- <!--
- <propertyregex property="pr1.builddirs"
- override="true"
- input="${pr1.components}"
- regexp="\s*?,"
- replace="/**/*," />
- -->
-
- <loadfile property="version" srcFile="${basedir}/version.txt">
- <filterchain>
- <striplinebreaks/>
- </filterchain>
- </loadfile>
- <property name="akamai" location="${build}/akamai/${version}"/>
-
- <taskdef resource="net/sf/antcontrib/antcontrib.properties">
- <classpath>
- <pathelement location="${tools}/componentbuild/lib/ant-contrib/ant-contrib-1.0b3-modified.jar" />
- </classpath>
- </taskdef>
-
-<!--
- <target name="all" depends="test, examples, apidocs, compile, package, verify, akamai"/>
--->
- <target name="all" depends="test, compile, apidocs, examples, package, verify, akamai"/>
-
- <target name="compile">
-
- <!-- label property ex: yui3-xxx ... strip "yui3-" for Y.add VERSION token -->
- <propertyregex property="version.build"
- input="${label}"
- regexp="yui3\-(.*)"
- replace="\1"
- casesensitive="false"
- defaultValue="" />
-
- <!-- clean up build dir and recreate -->
- <delete dir="${build}"/>
- <delete dir="${tmp}"/>
-
- <!--
- <delete dir="${examplesdist}"/>
- <delete dir="${examplesydn}"/>
- <delete dir="${examplesprod}"/>
- -->
-
- <mkdir dir="${build}"/>
- <mkdir dir="${tmp}"/>
- <mkdir dir="${tmp}/apisrc"/>
- <mkdir dir="${akamai}"/>
-
- <!--
- <concat destfile="${src}/build/reset-fonts-grids/reset-fonts-grids.css">
- <filelist dir="${src}/build" files="reset/reset-min.css,fonts/fonts-min.css,grids/grids-min.css"/>
- </concat>
- -->
- <concat destfile="${src}/build/reset-fonts/reset-fonts.css">
- <filelist dir="${src}/build" files="reset/reset.css,fonts/fonts.css"/>
- </concat>
-
- <!-- copy global README ... @todo extract latest release notes from all components -->
- <copy file="${src}/README" tofile="${yui}/README" preservelastmodified="true" />
-
- <!-- copy everything in build except the js/css files -->
- <echo message="Copying non JS/CSS files" level="info" />
- <copy todir="${yui}/build" includeEmptyDirs="false" preservelastmodified="true">
- <fileset dir="${src}/build" includes="${pr1.builddirs}">
- <none>
- <filename name="**/*.js" />
- <filename name="**/*.css" />
- </none>
- </fileset>
- </copy>
-
- <!-- copy build js/css files, updating version token and prepending the copyright info
- do NOT preservelastmodified because the file is being modified with the current
- build number
-
- includeEmptryDirs needs to be turned off since removed
- directories in CVS are not completely removed.
- -->
-
- <echo message="Copying JS/CSS files" level="info" />
- <copy todir="${yui}/build" includeEmptyDirs="false">
- <fileset dir="${src}/build" includes="${pr1.builddirs}">
- <or>
- <filename name="**/*.css" />
- <filename name="**/*.js" />
- </or>
- </fileset>
- <filterchain>
- <concatfilter prepend="copyright.txt"/>
- <replacetokens>
- <token key="VERSION" value="${version}"/>
- <token key="BUILD" value="${version.build}"/>
- </replacetokens>
- </filterchain>
- </copy>
-
- <copy todir="${yui}/tests" preservelastmodified="true">
- <fileset dir="${src}/tests" includes="${pr1.testdirs}" />
- </copy>
-
- <copy todir="${build}/ydnsite" includeEmptyDirs="false" preservelastmodified="true">
- <fileset dir="${src}/site" includes="**/*" />
- </copy>
- </target>
-
- <target name="examples">
- <exec dir="." executable="${examples.script}" output="examples_dist.log">
- <arg value="-b" />
- <arg value="true" />
- <arg value="-t" />
- <arg value="yahoo/presentation/3.x/templates" />
- <arg value="-d" />
- <arg value="${yui}" />
- <arg value="-v" />
- <arg value="${version}" />
- </exec>
-
- <exec dir="." executable="${examples.script}" output="examples_ydn.log">
- <arg value="-y" />
- <arg value="true" />
- <arg value="-t" />
- <arg value="yahoo/presentation/3.x/templates" />
- <arg value="-d" />
- <arg value="${build}/ydn" />
- <arg value="-b" />
- <arg value="true" />
- <arg value="-v" />
- <arg value="${version}" />
- </exec>
-
- <exec dir="." executable="${examples.script}" output="examples_prod.log">
- <arg value="-y" />
- <arg value="true" />
- <arg value="-t" />
- <arg value="yahoo/presentation/3.x/templates" />
- <arg value="-d" />
- <arg value="${build}/prod" />
- <arg value="-v" />
- <arg value="${version}" />
- </exec>
-
- <!--
- <exec dir="." executable="${examples.script}" output="examples_dist.log">
- <arg value="-b" />
- <arg value="true" />
- <arg value="-t" />
- <arg value="yahoo/presentation/3.x/templates" />
- <arg value="-v" />
- <arg value="${version.internal}" />
- </exec>
- <copy todir="${yui}" preservelastmodified="true">
- <fileset dir="${examplesdist}/"/>
- </copy>
-
- <exec dir="." executable="${examples.script}" output="examples_ydn.log">
- <arg value="-y" />
- <arg value="true" />
- <arg value="-t" />
- <arg value="yahoo/presentation/3.x/templates" />
- <arg value="-d" />
- <arg value="examples_ydn" />
- <arg value="-b" />
- <arg value="true" />
- <arg value="-v" />
- <arg value="${version.internal}" />
- </exec>
- <copy todir="${build}/ydn/examples" preservelastmodified="true">
- <fileset dir="${examplesydn}/"/>
- </copy>
-
- <exec dir="." executable="${examples.script}" output="examples_prod.log">
- <arg value="-y" />
- <arg value="true" />
- <arg value="-t" />
- <arg value="yahoo/presentation/3.x/templates" />
- <arg value="-d" />
- <arg value="examples_prod" />
- <arg value="-v" />
- <arg value="${version.internal}" />
- </exec>
- <copy todir="${build}/prod/examples" preservelastmodified="true">
- <fileset dir="${examplesprod}/"/>
- </copy>
- -->
- </target>
-
- <target name="apidocs" depends="compile">
- <!-- Generate docs and copy to the yui zip dir -->
- <copy todir="${tmp}/apisrc" includeEmptyDirs="false" preservelastmodified="true">
- <fileset dir="${src}/src" includes="${pr1.srcdirs}">
- <filename name="**/*.js" />
- </fileset>
- </copy>
-
- <exec dir="." executable="${apidocs.script}" outputproperty="docgen.output" />
-
- <copy todir="${yui}/api" preservelastmodified="true">
- <fileset dir="${tmp}/api" />
- </copy>
-
- <!-- generate the ydn specific docs -->
- <exec dir="." executable="${apidocs.script}" outputproperty="docgen.output" >
- <arg value="-y" />
- </exec>
-
- <copy todir="${build}/ydn/api" preservelastmodified="true">
- <fileset dir="${tmp}/api" />
- </copy>
- </target>
-
- <!-- @todo run tests -->
- <target name="test">
- </target>
-
- <!-- zip up everything in the build directory -->
- <target name="package" depends="compile">
- <zip destfile="${build}/yui_${version}.zip" basedir="${build}" includes="yui/**" />
- <checksum file="${build}/yui_${version}.zip" />
-
- <!-- ydn examples -->
- <!--
- <zip destfile="${build}/ydn_${version}.zip" basedir="${build}/ydn/examples" />
- -->
-
- <copy todir="${build}/ydnsite" includeEmptyDirs="false" preservelastmodified="true">
- <fileset dir="${build}/ydn" includes="**/*" />
- <fileset dir="${yui}" includes="build/**/*" />
- </copy>
- </target>
-
- <target name="akamai" depends="compile">
- <!-- copy only the build files that belong on akamai -->
- <copy todir="${akamai}/build">
- <fileset dir="${yui}/build">
- <patternset id="just.min">
- <include name="**/*.js"/>
- <include name="**/*.css"/>
- <include name="**/assets/**"/>
- </patternset>
- </fileset>
- </copy>
- <!-- deal with makefiles? -->
- <!-- generate script to make all of the subdirs -->
- <copy file="push_all.py" tofile="${build}/akamai/${version}/push_all.py" preservelastmodified="true" />
- <zip destfile="${build}/akamai_${version}.zip" basedir="${build}/akamai" />
- </target>
-
- <target name="verify" depends="compile">
- <!-- copy build verification files -->
- <!--
- <copy todir="${build}/verify" preservelastmodified="true">
- <fileset dir="${verify}"/>
- </copy>
- -->
- <copy file="${basedir}/latest_build.html" tofile="${build}/latest_build.html" preservelastmodified="true" />
- <copy file="${basedir}/latest_build_ydn.html" tofile="${build}/latest_build_ydn.html" preservelastmodified="true" />
- </target>
-
- <target name="updatecvs">
-
- <!-- periods are not allowed in cvs labels -->
- <!--
- <propertyregex property="label.scrubbed"
- input="${label}"
- regexp="yui3\-(.*)"
- replace="yui3-\1"
- casesensitive="false"
- defaultValue="" />
- -->
- <!-- committing these files to this location will cause another
- build to happen unless I specifically itemize all of the
- directories I want to monitor. Added ignoreFiles in
- config.xml that will hopefully take care of this -->
-
- <echo message="Build successful, committing rollups" level="info" />
-
- <cvs cvsroot="${cvs.root}" cvsrsh="${cvs.rsh}" dest=".">
- <commandline>
- <argument value="commit"/>
- <argument value="-m"/>
- <argument value="${label}"/>
-<!--
- <argument value="yahoo/presentation/2.x/build/assets/skins/sam"/>
- <argument value="yahoo/presentation/2.x/build/utilities"/>
- <argument value="yahoo/presentation/2.x/build/yahoo-dom-event"/>
- <argument value="yahoo/presentation/2.x/build/yuiloader-dom-event"/>
- <argument value="yahoo/presentation/3.x/build/reset-fonts-grids"/>
--->
- <argument value="yahoo/presentation/3.x/build/reset-fonts"/>
- </commandline>
- </cvs>
- <echo message="labeling cvs ${label}" level="info" />
-
- <cvs cvsroot="${cvs.root}" cvsrsh="${cvs.rsh}" dest=".">
- <commandline>
- <argument value="tag"/>
- <argument value="${label}"/>
- <argument value="yahoo/presentation/3.x"/>
- <!--
- <argument value="yahoo/presentation/templates"/>
- <argument value="yahoo/presentation/tools"/>
- -->
- </commandline>
- </cvs>
- </target>
-</project>
View
4 projects/yui3/3.x/projects/yui/checkout.sh
@@ -1,4 +0,0 @@
-rm -rf yahoo
-cvs co -P yahoo/presentation/3.x/README yahoo/presentation/3.x/build yahoo/presentation/3.x/src yahoo/presentation/3.x/templates yahoo/presentation/3.x/tests yahoo/presentation/3.x/site yahoo/presentation/tools
-#cvs co -P yahoo/presentation/3.x/README yahoo/presentation/3.x/build yahoo/presentation/3.x/src yahoo/presentation/3.x/tests yahoo/presentation/tools yahoo/presentation/templates
-echo "3.0.0" > version.txt
View
6 projects/yui3/3.x/projects/yui/copyright.txt
@@ -1,6 +0,0 @@
-/*
-Copyright (c) 2008, Yahoo! Inc. All rights reserved.
-Code licensed under the BSD License:
-http://developer.yahoo.net/yui/license.txt
-version: @VERSION@
-*/
View
9 projects/yui3/3.x/projects/yui/latest_build.html
@@ -1,9 +0,0 @@
-<html>
-<head>
- <script>
- document.location.replace("http://delightfuture.corp.yahoo.com/latest_build/");
- </script>
-</head>
-<body>
-</body>
-</html>
View
9 projects/yui3/3.x/projects/yui/latest_build_ydn.html
@@ -1,9 +0,0 @@
-<html>
-<head>
- <script>
- document.location.replace("http://delightfuture.corp.yahoo.com/yui/3/");
- </script>
-</head>
-<body>
-</body>
-</html>
View
24 projects/yui3/3.x/projects/yui/push_all.py
@@ -1,24 +0,0 @@
-#!/usr/bin/env python
-import os
-
-class PushAll(object):
- def __init__(self):
- def pushDir(path):
- masterFile = '/home/y/share/htdocs/Makefile.yimg'
- newFile = os.path.join(path, 'Makefile')
- os.system('ln -s ' + masterFile + ' ' + newFile)
- os.system('cd ' + path + ';pwd;gmake')
-
- for i in os.listdir(path):
- fullname = os.path.join(path, i)
- if os.path.isdir(fullname):
- pushDir(fullname)
-
- pushDir(os.path.abspath(''))
-
-
-def main():
- PushAll()
-
-if __name__ == '__main__':
- main()
View
1  projects/yui3/3.x/projects/yui/version.txt
@@ -1 +0,0 @@
-3.0.0
View
2  projects/yui3/build.sh
@@ -1,2 +0,0 @@
-#../../apache-ant-1.6.5/bin/ant -v >> build.log
-../../apache-ant-1.6.5/bin/ant -v asapidocs > build.log
View
336 projects/yui3/build.xml
@@ -1,336 +0,0 @@
-<project name="yui" default="all">
- <!--
- This is the master build for yui. It generates rollup files, the API docs, the
- zip distribution, and the files that go to akamai
-
- Requires ant 1.6.5+
- Requires ant-contrib tasks: http://ant-contrib.sourceforge.net/
- -->
- <tstamp />
-
- <property name="basedir" location="."/>
- <property name="localcheckoutdir" value="${basedir}/src" />
- <property name="src" location="${basedir}/src/yui3"/>
- <property name="tools" location="${basedir}/src/builder" />
- <property name="build" location="${basedir}/target"/>
- <property name="verify" location="${basedir}/verify"/>
- <property name="tmp" location="${basedir}/tmp"/>
-
- <property name="examples.script" location="${tools}/projects/yui3/genexamples3.php" />
- <property name="apidocs.script" location="./apidocs.sh" />
-
- <property name="yui" location="${build}/yui"/>
-
- <property name="as.src" location="${src}/as-src" />
- <property name="as.dest" location="${build}/yui/as-api" />
- <property name="flexhome" location="${basedir}/flex3sdk" />
- <property name="cssProcessor.jar" value="${localcheckoutdir}/cssProcessor/CSSProcessor-0.1.0.jar" />
-
- <property name="pr1.builddirs" value="assets/**/*, anim/**/*, attribute/**/*, base/**/*, classnamemanager/**/*, console/**/*, cookie/**/*, cssfonts/**/*, cssbase/**/*, cssreset/**/*, cssgrids/**/*, dd/**/*, dom/**/*, dump/**/*, event/**/*, get/**/*, io/**/*, json/**/*, logreader/**/*, loader/**/*, node/**/*, node-menunav/**/*, oop/**/*, overlay/**/*, plugin/**/*, profiler/**/*, queue/**/*, slider/**/*, substitute/**/*, widget/**/*, yui/**/*, yui-base/**/*, test/**/*" />
-
- <!-- Temporarily, since we need to specify them anyway in apidocs.sh -->
- <property name="pr1.srcdirs" value="**/*" />
-
- <!-- Commenting for PR1, since we don't have critical mass on tests -->
- <!-- <property name="pr1.testdirs" value="**/*" /> -->
-
- <loadfile property="version" srcFile="${basedir}/version.txt">
- <filterchain>
- <striplinebreaks/>
- </filterchain>
- </loadfile>
- <property name="akamai" location="${build}/akamai/${version}"/>
-
- <taskdef resource="net/sf/antcontrib/antcontrib.properties">
- <classpath>
- <pathelement location="${tools}/componentbuild/lib/ant-contrib/ant-contrib-1.0b3-modified.jar" />
- </classpath>
- </taskdef>
-
- <target name="all" depends="test, compile, apidocs, asapidocs, examples, package, verify, akamai"/>
-
- <target name="compile">
-
- <!-- label property ex: yui3-xxx ... strip "yui3-" for Y.add VERSION token -->
- <propertyregex property="version.build"
- input="${label}"
- regexp="yui3\-(.*)"
- replace="\1"
- casesensitive="false"
- defaultValue="" />
-
- <!-- clean up build dir and recreate -->
- <delete dir="${build}"/>
- <delete dir="${tmp}"/>
-
- <!--
- <delete dir="${examplesdist}"/>
- <delete dir="${examplesydn}"/>
- <delete dir="${examplesprod}"/>
- -->
-
- <mkdir dir="${build}"/>
- <mkdir dir="${tmp}"/>
- <mkdir dir="${tmp}/apisrc"/>
- <mkdir dir="${akamai}"/>
-<!--
- <concat destfile="${src}/build/reset-fonts-grids/reset-fonts-grids.css">
- <filelist dir="${src}/build" files="cssreset/reset-min.css,cssfonts/fonts-min.css,cssgrids/grids-min.css"/>
- </concat>
- <concat destfile="${src}/build/reset-fonts/reset-fonts.css">
- <filelist dir="${src}/build" files="cssreset/reset-min.css,cssfonts/fonts-min.css"/>
- </concat>
--->
- <!-- copy global README ... @todo extract latest release notes from all components -->
- <copy file="${src}/README" tofile="${yui}/README" preservelastmodified="true" />
-
- <!-- copy everything in build except the js/css files -->
- <echo message="Copying non JS/CSS files" level="info" />
- <copy todir="${yui}/build" includeEmptyDirs="false" preservelastmodified="true">
- <fileset dir="${src}/build" includes="${pr1.builddirs}">
- <none>
- <filename name="**/*.js" />
- <filename name="**/*.css" />
- </none>
- </fileset>
- </copy>
-
- <!-- copy build js/css files, updating version token and prepending the copyright info
- do NOT preservelastmodified because the file is being modified with the current
- build number
-
- includeEmptryDirs needs to be turned off since removed
- directories in CVS are not completely removed.
- -->
-
- <echo message="Copying JS/CSS files" level="info" />
- <copy todir="${yui}/build" includeEmptyDirs="false">
- <fileset dir="${src}/build" includes="${pr1.builddirs}">
- <or>
- <filename name="**/*.css" />
- <filename name="**/*.js" />
- </or>
- </fileset>
- <filterchain>
- <concatfilter prepend="copyright.txt"/>
- <replacetokens>
- <token key="VERSION" value="${version}"/>
- <token key="BUILD" value="${version.build}"/>
- </replacetokens>
- </filterchain>
- </copy>
-
- <!--
- <copy todir="${yui}/tests" preservelastmodified="true">
- <fileset dir="${src}/tests" includes="${pr1.testdirs}" />
- </copy>
- -->
-
- <copy todir="${build}/ydnsite" includeEmptyDirs="false" preservelastmodified="true">
- <fileset dir="${localcheckoutdir}/yui3-docs/site" includes="**/*" />
- </copy>
- </target>
-
- <target name="examples">
- <exec dir="." executable="${examples.script}" output="examples_dist.log">
- <arg value="-u" />
- <arg value="http://localhost/yui3/templates" />
- <arg value="-b" />
- <arg value="true" />
- <arg value="-t" />
- <arg value="src/yui3-docs/templates" />
- <arg value="-d" />
- <arg value="${yui}" />
- <arg value="-v" />
- <arg value="${version}" />
- </exec>
-
- <exec dir="." executable="${examples.script}" output="examples_ydn.log">
- <arg value="-u" />
- <arg value="http://localhost/yui3/templates" />
- <arg value="-y" />
- <arg value="true" />
- <arg value="-t" />
- <arg value="src/yui3-docs/templates" />
- <arg value="-d" />
- <arg value="${build}/ydn" />
- <arg value="-b" />
- <arg value="true" />
- <arg value="-v" />
- <arg value="${version}" />
- </exec>
-
- <delete dir="${build}/ydn/assets" />
-
- <exec dir="." executable="${examples.script}" output="examples_prod.log">
- <arg value="-u" />
- <arg value="http://localhost/yui3/templates" />
- <arg value="-y" />
- <arg value="true" />
- <arg value="-t" />
- <arg value="src/yui3-docs/templates" />
- <arg value="-d" />
- <arg value="${build}/prod" />
- <arg value="-v" />
- <arg value="${version}" />
- </exec>
-
- <delete dir="${build}/prod/assets" />
- </target>
-
- <target name="apidocs" depends="compile">
- <!-- Generate docs and copy to the yui zip dir -->
- <copy todir="${tmp}/apisrc" includeEmptyDirs="false" preservelastmodified="true">
- <fileset dir="${src}/src" includes="${pr1.srcdirs}">
- <filename name="**/*.js" />
- </fileset>
- </copy>
-
- <exec dir="." executable="${apidocs.script}" outputproperty="docgen.output" />
-
- <copy todir="${yui}/api" preservelastmodified="true">
- <fileset dir="${tmp}/api" />
- </copy>
-
- <!-- generate the ydn specific docs -->
- <exec dir="." executable="${apidocs.script}" outputproperty="docgen.output" >
- <arg value="-y" />
- </exec>
-
- <copy todir="${build}/ydn/api" preservelastmodified="true">
- <fileset dir="${tmp}/api" />
- </copy>
- </target>
-
- <!-- @todo run tests -->
- <target name="test">
- </target>
-
- <!-- zip up everything in the build directory -->
- <target name="package" depends="compile">
- <zip destfile="${build}/yui_${version}.zip" basedir="${build}" includes="yui/**" />
- <checksum file="${build}/yui_${version}.zip" />
-
- <property name="latestpackage" value="yui_${version}-${version.build}" />
-
- <tar destfile="${build}/${latestpackage}_build.tar.gz" compression="gzip">
- <tarfileset dir="${build}" includes="yui/build/**" />
- </tar>
- <checksum file="${build}/${latestpackage}_build.tar.gz" />
-
- <tar destfile="${build}/${latestpackage}.tar.gz" compression="gzip">
- <tarfileset dir="${build}" includes="yui/**" />
- <tarfileset dir="${src}" includes="src/**" prefix="yui/" />
- </tar>
- <checksum file="${build}/${latestpackage}.tar.gz" />
-
- <zip destfile="${build}/ydn_${version}.zip" basedir="${build}" includes="ydn/**" />
-
- <copy todir="${build}/ydnsite" includeEmptyDirs="false" preservelastmodified="true">
- <fileset dir="${build}/ydn" includes="examples/**/*, api/**/*, inc/**/*" />
- <fileset dir="${yui}" includes="build/**/*" />
- </copy>
- </target>
-
- <target name="akamai" depends="compile">
- <!-- copy only the build files that belong on akamai -->
- <copy todir="${akamai}/build">
- <fileset dir="${yui}/build">
- <patternset id="just.min">
- <include name="**/*.js"/>
- <include name="**/*.css"/>
- <include name="**/assets/**"/>
- </patternset>
- </fileset>
- </copy>
-
- <java jar="${cssProcessor.jar}" failonerror="true" fork="true">
- <arg value="-b" />
- <arg value="http://yui.yahooapis.com/${version}/build/" />
- <arg file="${akamai}/build" />
- </java>
-
- <!-- deal with makefiles? -->
- <!-- generate script to make all of the subdirs -->
- <copy file="push_all.py" tofile="${build}/akamai/${version}/push_all.py" preservelastmodified="true" />
- <zip destfile="${build}/akamai_${version}.zip" basedir="${build}/akamai" />
- </target>
-
- <target name="verify" depends="compile">
- <!-- copy build verification files -->
- <!--
- <copy todir="${build}/verify" preservelastmodified="true">
- <fileset dir="${verify}"/>
- </copy>
- -->
- <copy file="${basedir}/latest_build.html" tofile="${build}/latest_build.html" preservelastmodified="true" />
- <copy file="${basedir}/latest_build_ydn.html" tofile="${build}/latest_build_ydn.html" preservelastmodified="true" />
- </target>
-
- <target name="updategit">
-
- <echo message="Tagging git ${label}" level="info" />
-
- <exec dir="src/yui3" executable="git" outputproperty="git.tag.output" >
- <arg value="tag"/>
- <arg value="-a"/>
- <arg value="-m"/>
- <arg value="${gitcommitid}"/>
- <arg value="${label}"/>
- </exec>
-
- <exec dir="src/yui3" executable="git" outputproperty="git.pushtag.output" >
- <arg value="push"/>
- <arg value="--all"/>
- </exec>
-
-<!--
- git push git@yuilibrary.com:yui3 master:refs/heads/master
- <arg value="git@yuilibrary.com:yui3"/>
- <arg value="master:refs/heads/master"/>
- git push hyphonhyphonmirror git@yuilibrary.com:builder
- <arg value="hyphonhyphonmirror"/>
- <arg value="git@yuilibrary.com:yui3"/>
--->
- <exec dir="src/yui3" executable="git" outputproperty="git.pushpublic.output" >
- <arg value="push"/>
- <arg value="git@yuilibrary.com:yui3"/>
- <arg value="master:refs/heads/master"/>
- </exec>
-
- </target>
-
- <macrodef name="asdocgen">
- <attribute name="flexhome" />
- <attribute name="srcdir" />
- <attribute name="destdir" />
-
- <sequential>
- <!-- WORK IN PROGRESS, HARDCODED VALUES -->
- <!--<property name="flex.home" value="C:/dev/flexsdk3" />-->
- <property name="asdoc.class" value="flex2.tools.ASDoc" />
- <property name="asdoc.templatepath" location="@{flexhome}/asdoc/templates" />
- <property name="asdoc.windowtitle" value="YUI AS Documentation" />
- <property name="asdoc.maintitle" value="YUI AS Documentation" />
-
- <java className="${asdoc.class}" fork="true" failonerror="true">
- <classpath>
- <!-- <fileset dir="${FLEX_HOME}/asdoc/lib" includes="*.jar" /> -->
- <fileset dir="@{flexhome}/lib" includes="*.jar" />
- </classpath>
- <jvmarg line="-Dapplication.home=@{flexhome} -Xms32m -Xmx768m -Dsun.io.useCanonCaches=false -Xbootclasspath/p:@{flexhome}/lib/xalan.jar"/>
- <arg line="-source-path+='@{srcdir}/io'"/>
- <arg line="-doc-sources+='@{srcdir}/io'"/>
- <arg line="-window-title '${asdoc.windowtitle}'"/>
- <arg line="-main-title '${asdoc.maintitle}'"/>
- <arg line="-templates-path '${asdoc.templatepath}'"/>
- <arg line="-output '@{destdir}'"/>
- </java>
- </sequential>
- </macrodef>
-
- <target name="asapidocs">
- <asdocgen flexhome="${flexhome}" srcdir="${as.src}" destdir="${as.dest}" />
- </target>
-
-</project>
View
75 projects/yui3/caboodle.sh
@@ -1,75 +0,0 @@
-#!/bin/sh
-
-##############################################################################
-
-# The location of your yuidoc install
-yuidoc_home=~/dev/yahoo/presentation/tools/yuidoc
-# yuidoc_home=~/www/yuidoc/yuidoc
-# yuidoc_home=yahoo/presentation/tools/yuidoc
-
-basedir=yahoo/presentation/2.x
-util=$basedir/util
-widget=$basedir/widget
-tool=$basedir/tool
-src=$basedir/src
-
-
-# The location of the files to parse. Parses subdirectories, but will fail if
-# there are duplicate file names in these directories.
-parser_in="$src/animation \
- $src/autocomplete \
- $src/button \
- $src/calendar \
- $src/carousel \
- $src/charts \
- $src/colorpicker \
- $src/connection \
- $src/container \
- $src/cookie \
- $src/datastore \
- $src/datasource \
- $src/datatable \
- $src/dom \
- $src/dragdrop \
- $src/editor \
- $src/element \
- $src/event \
- $src/get \
- $src/history \
- $src/imagecropper \
- $src/imageloader \
- $src/json \
- $src/layout \
- $src/logger \
- $src/menu \
- $src/paginator \
- $src/profiler \
- $src/profilerviewer \
- $src/resize \
- $src/selector \
- $src/slider \
- $src/tabview \
- $src/treeview \
- $src/uploader \
- $src/yahoo \
- $src/yuiloader \
- $src/yuitest"
-
- # $src/datasource \
-# The location to output the parser data. This output is a file containing a
-# json string, and copies of the parsed files.
-parser_out=tmp/yuidoc_tmp
-
-# The directory to put the html file outputted by the generator
-generator_out=tmp/docs
-
-# The location of the template files. Any subdirectories here will be copied
-# verbatim to the destination directory.
-template=$yuidoc_home/template
-
-version=`cat version.internal.txt`
-
-##############################################################################
-
-$yuidoc_home/bin/yuidoc.py $parser_in -p $parser_out -o $generator_out -t $template -v $version -s $*
-
View
6 projects/yui3/copyright.txt
@@ -1,6 +0,0 @@
-/*
-Copyright (c) 2008, Yahoo! Inc. All rights reserved.
-Code licensed under the BSD License:
-http://developer.yahoo.net/yui/license.txt
-version: @VERSION@
-*/
View
431 projects/yui3/genexamples.php
@@ -1,431 +0,0 @@
-#!/home/y/bin/php -d open_basedir=
-<?php
-
-define("BUILDPATH", "../../build/");
-
-// Default values for input arguments
-$templatesBaseUrl = "http://localhost/templates";
-$yuiDistRoot = "examples_dist";
-$templatesRoot = "yahoo/presentation/templates";
-$isYDNBuild = false;
-$forceBuildPath = false;
-$yuiVersion = null;
-
-if ($argc > 1) {
- if ($argv[1] == "-h") {
- printHelp();
- return;
- } else {
- $args = parseArgs($argv);
- if (isset($args["u"])) { $templatesBaseUrl = $args["u"]; }
- if (isset($args["d"])) { $yuiDistRoot = $args["d"]; }
- if (isset($args["t"])) { $templatesRoot = $args["t"]; }
- if (isset($args["b"])) { $forceBuildPath = $args["b"]; }
- if (isset($args["y"])) { $isYDNBuild = $args["y"]; }
-
- if (!isset($args["v"])) {
- echo "\nFailed: -v argument specifying the YUI version is required.\n";
- return;
- } else {
- $yuiVersion = $args["v"];
- }
- }
-}
-
-echo "\nCreating Static Examples\n\n";
-
-$strIsYDNBuild = ($isYDNBuild) ? "true" : "false";
-$strForceBuildPath = ($forceBuildPath) ? "true" : "false";
-
-echo "Using Template Base URL: $templatesBaseUrl\n";
-echo "Using YUI Build Root: $yuiDistRoot\n";
-echo "Using Template Root: $templatesRoot\n";
-echo "Is YDN Build: $strIsYDNBuild\n";
-echo "Force Build Path: $strForceBuildPath\n";
-echo "YUI Version: $yuiVersion\n";
-
-include("$templatesRoot/examples/data/examplesInfo.php");
-
-// 0. Create folders
-createFolders($modules);
-
-// 1. Main Landing Page
-if($isYDNBuild === false) {
- echo "\n=================================";
- echo "\nCreating Root Index Page";
- echo "\n=================================";
-
- generateExampleFile("index.php", "index.html", $forceBuildPath);
-}
-
-echo "\n=================================";
-echo "\nCreating Examples Index Page";
-echo "\n=================================";
-
-// 2. Examples Landing Page (uber example list)
-generateExampleFile("examples/index.php", "examples/index.html", $forceBuildPath);
-
-// 3. Generate Examples
-generateExamples($modules, $examples);
-
-// 4. Copy Assets
-copyAssets();
-
-echo "\n\nDone\n";
-
-return;
-
-#######################################################################
-# Function Definitions
-#######################################################################
-
-/**
- * Create top level example folders under Dist
- */
-function createFolders($modules) {
-
- global $yuiDistRoot;
- global $isYDNBuild;
-
- echo "\n=================================";
- echo "\nCreating Folders";
- echo "\n=================================";
-
- foreach($modules as $moduleKey=>$module) {
-
- $folderPath = "$yuiDistRoot/examples/$moduleKey";
-
- if (file_exists($folderPath) === false) {
- echo "\nCreating $folderPath";
- if (mkdir($folderPath, 0777, true)) {
- echo " - OK";
- } else {
- echo " - Failed";
- }
- }
-
- }
-
- $assetsPath = "$yuiDistRoot/assets";
-
- if (file_exists($assetsPath) === false) {
- echo "\nCreating $assetsPath";
- if(mkdir($assetsPath, 0777, true)) {
- echo " - OK";
- } else {
- echo " - Failed";
- }
- }
-
-
- if ($isYDNBuild) {
- $incFolderPath = "$yuiDistRoot/inc/examplesNav";
-
- if (file_exists($incFolderPath) === false) {
- echo "\nCreating $incFolderPath";
- if (mkdir($incFolderPath, 0777, true)) {
- echo " - OK";
- } else {
- echo " - Failed";
- }
- }
- }
-}
-
-
-/**
- * Copies shared assets from Templates to Dist
- */
-function copyAssets() {
-
- global $yuiDistRoot;
- global $templatesRoot;
-
- echo "\n=================================";
- echo "\nCopying Top Level Assets";
- echo "\n=================================";
-
- $src = "$templatesRoot/assets";
- $dest = "$yuiDistRoot/";
-
- copyDirectory($src, $dest, "");
-}
-
-
-/**
- * Copies module assets from Templates to Dist
- */
-function copyModuleAssets($moduleKey) {
-
- global $yuiDistRoot;
- global $templatesRoot;
- global $isYDNBuild;
-
- $src = "$templatesRoot/examples/$moduleKey/assets";
- $dest = "$yuiDistRoot/examples/$moduleKey/";
-
- copyDirectory($src, $dest, "--exclude=exampleslib*.inc");
-
- if ($isYDNBuild) {
- if (file_exists("$src/exampleslib_ydn.inc")) {
- copy("$src/exampleslib_ydn.inc", $dest."assets/exampleslib.inc");
- }
- } else {
- if (file_exists("$src/exampleslib_dist.inc")) {
- copy("$src/exampleslib_dist.inc", $dest."assets/exampleslib.inc");
- }
- }
-}
-
-
-/**
- * Copies one directory to another, using rsync -r --exclude=CVS
- */
-function copyDirectory($s, $d, $args) {
-
- // NOTE: Deciding to use rsync as opposed to DirectoryIterator,
- // to save checking for CVS files. Also using --exclude
- // to limit exclusion to just the CVS dir.
- // Could use -C if we wanted to exclude everything in
- // CVSIGNORE, but thought this maybe too much (*.out, *.bak etc..)
- // and also introduces ENV dependancies.
-
- if (file_exists($s)) {
- echo "\nCopying Directory $s to $d";
-
- $cmd = "rsync -r --exclude=CVS $args $s $d";
- exec($cmd, $out, $ret);
-
- if ($ret > 0) {
- echo " - Failed";
- } else {
- echo " - OK";
- }
- } else {
- echo "\nNo $s to copy - SKIPPED";
- }
-}
-
-/**
- * Helper to add query params to a url string.
- *
- * Url encodes parameter values and checks whether or not to
- * append with ? or &
- */
-function addQueryParam($url, $paramName, $paramValue) {
- $containsParams = strpos($url, "?");
- if ($containsParams === false) {
- $url = $url."?".$paramName."=".urlencode($paramValue);
- } else {
- $url = $url."&".$paramName."=".urlencode($paramValue);
- }
- return $url;
-}
-
-/**
- * Generates a file with the given filename/path under Dist
- * from the output of the given URL. The file path needs to
- * be the 'real' non-symlinked path.
- */
-function generateExampleFile($srcUrl, $fileName, $useBuildPath) {
-
- global $yuiDistRoot;
- global $templatesBaseUrl;
- global $isYDNBuild;
- global $yuiVersion;
-
- $file = $yuiDistRoot."/".$fileName;
- $url = $templatesBaseUrl."/".$srcUrl;
-
- if ($useBuildPath) {
- $url = addQueryParam($url, "buildpath", BUILDPATH);
- }
-
- if ($isYDNBuild) {
- $url = addQueryParam($url, "ydn", "true");
- }
-
- $url = addQueryParam($url, "v", $yuiVersion);
-
- echo "\nGenerating: $file\nfrom [$url]";
-
- $cUrl = curl_init($url);
- $fHandle = fopen($file, "w");
-
- if ($fHandle) {
- curl_setopt($cUrl, CURLOPT_FILE, $fHandle);
- curl_setopt($cUrl, CURLOPT_HEADER, false);
- curl_exec($cUrl);
- curl_close($cUrl);
- fclose($fHandle);
- echo " - OK";
- } else {
- echo "- Failed";
- }
-}
-
-
-/**
- * Generates the set of static example HTML files under Dist,
- * by iterating over the module/examples arrays
- */
-function generateExamples($modules, $examples) {
-
- global $forceBuildPath;
- global $isYDNBuild;
-
- // COULDN'T REALLY REMEMBER WHY WE WERE FILTERING BY TYPE, WHEN
- // WE WANT TO RUN THROUGH ALL MODULES ANYWAY. HENCE COMMENTING
- // OUT, OUTER LOOP.
-
- // MAKE CONSTANT?
- // $types = array('css', 'utility', 'widget', 'tool', 'core');
-
- // foreach($types as $type) {
-
- // $modulesForType = getModulesByType($type, $modules);
-
- foreach($modules as $moduleKey=>$module) {
-
- echo "\n=================================";
- echo "\nGenerating $moduleKey examples";
- echo "\n=================================";
-
- copyModuleAssets($moduleKey);
-
- //$useBuildPath = ($isYDNBuild === false || $forceBuildPath);
- $useBuildPath = $forceBuildPath;
-
- // Index - Dist: build path, YDN: yui.yahooapis
- generateExampleFile("examples/module/examplesModuleIndex.php?module=".urlencode($moduleKey),
- "examples/$moduleKey/index.html", $useBuildPath);
-
- // Left Nav for YDN
- if ($isYDNBuild) {
- generateExampleFile("examples/module/examplesLandingPageNav.php?module=".urlencode($moduleKey),
- "inc/examplesNav/$moduleKey.inc", $useBuildPath);
- }
-
- $moduleExamples = getExamplesByModule($moduleKey, $examples);
-
- if ($moduleExamples) {
-
- foreach($moduleExamples as $exampleIdx=>$example) {
-
- $exampleKey = $example["key"];
-
- if ($example["modules"][0] == $moduleKey) {
-
- // Default Presentation (XXX.html) - Dist: build path, YDN: build path if logger required, else yui.yahooapis
- generateExampleFile("examples/module/example.php?name=".urlencode($exampleKey),
- "examples/$moduleKey/$exampleKey".".html", $useBuildPath);
-
- // Requires New Window (XXX_source.html) - Dist: build path, YDN: yui.yahooapis
- if ($example["newWindow"] == "require") {
- generateExampleFile("examples/$moduleKey/$exampleKey"."_source.php",
- "examples/$moduleKey/$exampleKey"."_source.html", $useBuildPath);
- }
-
- // Supports New Window (XXX_clean.html) - Dist: build path, YDN: yui.yahooapis
- if ($example["newWindow"] != "require" && $example["newWindow"] != "suppress") {
- generateExampleFile("examples/module/example.php?name=".urlencode($exampleKey)."&clean=true",
- "examples/$moduleKey/$exampleKey"."_clean.html", $useBuildPath);
- }
-
- // Supports Logging (XXX_log.html) - Dist: build path, YDN: build path (debug files not hosted on yui.yahooapis)
- if ($example["loggerInclude"] != "require" && $example["loggerInclude"] != "suppress") {
- generateExampleFile("examples/module/example.php?name=".urlencode($exampleKey)."&log=true",
- "examples/$moduleKey/$exampleKey"."_log.html", $useBuildPath);
- }
- }
- }
- }
- }
- // }
-}
-
-
-/**
- * Parses input args into a hashmap with argname => argvalue key/value
- * pairs (argname is saved without the -). No extensive error checking
- * performed. Expects a valid input.
- */
-function parseArgs($argsArray) {
-
- $arr = array();
-
- for ($i=1; $i < count($argsArray); $i++) {
- $val = $argsArray[$i];
- if ($val == "-u") {
- $arr["u"] = $argsArray[++$i];
- }
- if ($val == "-d") {
- $arr["d"] = $argsArray[++$i];
- }
- if ($val == "-t") {
- $arr["t"] = $argsArray[++$i];
- }
- if ($val == "-b") {
- $arr["b"] = ($argsArray[++$i] != "false") ? true : false;
- }
- if ($val == "-y") {
- $arr["y"] = ($argsArray[++$i] != "false") ? true : false;
- }
- if ($val == "-v") {
- $arr["v"] = $argsArray[++$i];
- }
- }
- return $arr;
-}
-
-
-/**
- * Prints help
- */
-function printHelp() {
- echo "\nUsage: ./genexamples.php [-u templatesurl] [-d yuibuildroot] [-b true|false] [-y true|false] [-t templatesroot]";
-
- echo "\n\n-t templatesurl\n"
- ."\n The absolute URL for the templates folder on a server hosting"
- ."\n the yui build."
- ."\n"
- ."\n Defaults to 'http://localhost/templates'";
-
- echo "\n\n-d yuibuildroot\n"
- ."\n The path to the root directory under which the examples "
- ."\n directory structure will be created. Needs to be the 'real'"
- ."\n non-symlinked path, due to php fopen limitations."
- ."\n"
- ."\n Defaults to 'examples_dist'";
-
- echo "\n\n-t templatesroot\n"
- ."\n The path to the templates folder. Can be relative to "
- ."\n gendistexamples.php."
- ."\n"
- ."\n Defaults to 'yahoo/presentation/templates'";
-
- echo "\n\n-y true|false\n"
- ."\n Specifies if the build is for YDN (or dist)."
- ."\n"
- ."\n If true, files are generated for YDN."
- ."\n If false, they are generated for the distribution."
- ."\n"
- ."\n Defaults to false (generate files for distribution)";
-
- echo "\n\n-v YUI version\n"
- ."\n Specifies the YUI version, used to set the yuiCurrentVersion variable for examples to use"
- ."\n"
- ."\n No Default";
-
- echo "\n\n-b true|false\n"
- ."\n Use a local build path instead of yui.yahooapis.com"
- ."\n"
- ."\n If true, all examples will use the local build path."
- ."\n If false, all examples will use yui.yahooapis URLs."
- ."\n"
- ."\n Defaults to false";
-
- echo "\n\nNOTE: All paths should be specified without trailing slashes.\n\n";
-}
-
-?>
View
431 projects/yui3/genexamples3.php
@@ -1,431 +0,0 @@
-#!/home/y/bin/php -d open_basedir=
-<?php
-
-define("BUILDPATH", "../../build/");