cacert-testmgr/external/ZendFramework-1.9.5/externals/dojo/util/buildscripts/webbuild.php
Markus Warg 8398c9048d initially import ZendFramework-1.9.5 into repository
code was modified slightly, so the code differs from the original downloadable 1.9.5 version
2010-03-31 10:12:32 +02:00

23 lines
971 B
PHP

<?
$buildScriptsDir = "/Users/jrbsilver/svn/dojo/branches/0.4/buildscripts";
$buildCacheDir = "/Users/jrbsilver/svn/dojo/branches/0.4/buildscripts/webbuild/webbuildtemp/0.4.2rc1/web/buildscripts";
$depList = isset($_POST['depList']) ? $_POST['depList'] : null;
$provideList = isset($_POST['provideList']) ? $_POST['provideList'] : 'null';
$version = isset($_POST['version']) ? $_POST['version'] : '0.0.0dev';
$xdDojoUrl = isset($_POST['xdDojoUrl']) ? $_POST['xdDojoUrl'] : '';
if(!isset($depList)){
?>
<html>
Please specify a comma-separated list of files.
</html>
<?
}else{
header("Content-Type: application/x-javascript");
header("Content-disposition: attachment; filename=dojo.js");
$dojoContents = `/usr/bin/-classpath ../shrinksafe/js.jar:../shrinksafe/shrinksafe.jar org.mozilla.javascript.tools.shell.Main $buildScriptsDir/makeDojoJsWeb.js $buildCacheDir/dojobuilds $depList $provideList $version $xdDojoUrl`;
print($dojoContents);
}
?>