-
6 Jul 2007 11:14 PM #1
"--output" option
"--output" option
Ext 2.0 each time varies very often and inconveniently to correct jsb files manually, addition of an option for builder.sh "--output" which would specify a root directory for assembly of the project without editing jsb is possible?
-= miu-miu =-
Linux, Perl, GNU, Open Source, Ajax, Ubuntu 9.04
-
10 Jul 2007 10:39 AM #2
-
10 Jul 2007 11:47 AM #3
Such option would be convenient in daily use. That to me in linux I should edit jsb ('output folder' config value) file after its each updating from svn.
For me it would be convenient to execute build.sh with --output=/home/nassaja/... option.-= miu-miu =-
Linux, Perl, GNU, Open Source, Ajax, Ubuntu 9.04
-
14 Jul 2007 11:12 AM #4
I tried doing this but the problem was that if you build all three at once it would put the resources and examples in the root folder instead of sub folders. i guess i could key them off of the jsb name but i'll revisit this and see what i can do.
Jon
-
7 Aug 2007 2:33 PM #5
-
7 Aug 2007 2:48 PM #6
-
8 Aug 2007 3:46 PM #7
In the meantime, nassaja you could write a shell script to automate it easily. If you do, please post and share for everyone.
-
9 Aug 2007 10:01 PM #8
One thing -Code:#!/bin/sh root="/home/nassaja/svn/ext-1.1" crap1="C\:\/apps\/www\/deploy\/ext-1.1\/" crap2="c\:\/apps\/www\/playpen\/slickspeed\/frameworks\/" build="/home/nassaja/svn/build/ext-1.1/" regexpbuild="\/home\/nassaja\/svn\/build\/ext-1.1\/" function optimize { src="$root/$1" dst="$root/$1.new" sed 's/\r//g' "$src" > "$dst" mv $dst $src sed 's/\\/\//g' $src > $dst mv $dst $src sed -e s/"$crap1"/"$regexpbuild"/g $src > $dst mv $dst $src sed -e s/"$crap2"/"$regexpbuild\/slickspeed\/frameworks\/"/g $src > $dst mv $dst $src } svn update optimize "src/ext.jsb" optimize "resources/resources.jsb" optimize "examples/examples.jsb" rm -rf $build/ cd ./builder/ ./build.sh
I can't do ./builder/build.sh it wroteCode:cd ./builder/ ./build.sh
Unable to access jarfile builder.jar
P.S. And where is this "cool" monad? %)-= miu-miu =-
Linux, Perl, GNU, Open Source, Ajax, Ubuntu 9.04
Thank you for reporting this bug. We will make it our priority to review this report.



Reply With Quote