mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-22 10:20:43 +00:00
Made objj point to Frameworks in lib.
Reviewed by tom.
This commit is contained in:
@@ -32,6 +32,10 @@
|
||||
<fileset dir = "${Build}/${Configuration}/AppKit" />
|
||||
</copy>
|
||||
|
||||
<copy todir = "${Build.Cappuccino.Tools.Lib.Frameworks}/AppKit">
|
||||
<fileset dir = "${Build}/${Configuration}/AppKit" />
|
||||
</copy>
|
||||
|
||||
<copy todir = "${Build.Cappuccino.Starter.Frameworks}/AppKit" >
|
||||
<fileset dir = "${Build}/${Configuration}/AppKit" />
|
||||
</copy>
|
||||
|
||||
@@ -30,7 +30,11 @@
|
||||
|
||||
<copy todir = "${Build.Cappuccino.Tools.Frameworks}/Foundation">
|
||||
<fileset dir = "${Build}/${Configuration}/Foundation" />
|
||||
</copy>
|
||||
</copy>
|
||||
|
||||
<copy todir = "${Build.Cappuccino.Tools.Lib.Frameworks}/Foundation">
|
||||
<fileset dir = "${Build}/${Configuration}/Foundation" />
|
||||
</copy>
|
||||
|
||||
<copy todir = "${Build.Cappuccino.Starter.Frameworks}/Foundation" >
|
||||
<fileset dir = "${Build}/${Configuration}/Foundation" />
|
||||
|
||||
@@ -68,6 +68,10 @@
|
||||
<fileset dir = "${Build.Objective-J}/Objective-J" />
|
||||
</copy>
|
||||
|
||||
<mkdir dir = "${Build.Cappuccino.Tools.Lib.Frameworks}/Objective-J" />
|
||||
<copy file = "${Build.Products}/Rhino/Objective-J.js" todir = "${Build.Cappuccino.Tools.Lib.Frameworks}/Objective-J" />
|
||||
<copy file = "../LICENSE" todir = "${Build.Cappuccino.Tools.Lib.Frameworks}/Objective-J" />
|
||||
|
||||
<mkdir dir = "${Build.Cappuccino.Starter.Frameworks}/Objective-J" />
|
||||
<copy todir = "${Build.Cappuccino.Starter.Frameworks}/Objective-J" >
|
||||
<fileset dir = "${Build.Objective-J}/Objective-J" />
|
||||
|
||||
+4
-4
@@ -43,9 +43,9 @@ case "$UNAME" in
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -e $STEAM_BUILD/Objective-J.build/Release/Rhino ]; then
|
||||
#if [ -e $STEAM_BUILD/Objective-J.build/Release/Rhino ]; then
|
||||
$RLWRAP java -classpath $CLASSPATH objj $OBJJ_LIB $STEAM_BUILD $@
|
||||
#$RLWRAP java -classpath $CLASSPATH org.mozilla.javascript.tools.shell.Main $OBJJ $OBJJ_LIB $STEAM_BUILD $@
|
||||
else
|
||||
echo "Missing frameworks at $STEAM_BUILD/Objective-J.build/Release/Rhino" 1>&2
|
||||
fi
|
||||
#else
|
||||
# echo "Missing frameworks at $STEAM_BUILD/Objective-J.build/Release/Rhino" 1>&2
|
||||
#fi
|
||||
|
||||
+4
-4
@@ -1,23 +1,23 @@
|
||||
debug = false;
|
||||
args = arguments;
|
||||
|
||||
var helpersBase = arguments[0];
|
||||
var OBJJ_LIB = arguments[0];
|
||||
var STEAM_BUILD = arguments[1];
|
||||
arguments.splice(0, 2);
|
||||
|
||||
if (typeof window == "undefined")
|
||||
{
|
||||
print("Loading Objective-J bridge.");
|
||||
load(helpersBase+'/bridge.js');
|
||||
load(OBJJ_LIB+'/bridge.js');
|
||||
}
|
||||
|
||||
if (typeof objj_import == "undefined")
|
||||
{
|
||||
print("Loading Objective-J.");
|
||||
load(STEAM_BUILD+'/Objective-J.build/Release/Rhino/Objective-J.js');
|
||||
load(OBJJ_LIB+'/Frameworks/Objective-J/Objective-J.js');
|
||||
}
|
||||
|
||||
OBJJ_INCLUDE_PATHS = [STEAM_BUILD+'/Release'];
|
||||
OBJJ_INCLUDE_PATHS = [OBJJ_LIB+'/Frameworks'];
|
||||
|
||||
if (arguments.length > 0)
|
||||
{
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
<property name = "Build.Cappuccino.Tools.Bin" location = "${Build.Cappuccino.Tools.Objects}/objj/bin" />
|
||||
<property name = "Build.Cappuccino.Tools.Lib" location = "${Build.Cappuccino.Tools.Objects}/objj/lib" />
|
||||
<property name = "Build.Cappuccino.Tools.Lib.Frameworks" location = "${Build.Cappuccino.Tools.Objects}/objj/lib/Frameworks" />
|
||||
|
||||
<property environment = "environment" />
|
||||
<property name = "environment.OBJJ_HOME" value = "/usr/local/share/objj" />
|
||||
@@ -40,6 +41,8 @@
|
||||
<mkdir dir = "${Build.Cappuccino.Tools.Bin}" />
|
||||
<mkdir dir = "${Build.Cappuccino.Tools.Lib}" />
|
||||
|
||||
<mkdir dir = "${Build.Cappuccino.Tools.Lib.Frameworks}" />
|
||||
|
||||
</target>
|
||||
|
||||
<!-- Iterate -->
|
||||
|
||||
Reference in New Issue
Block a user