Permalink
Browse files

- Use xp.runtime.Xar instead of xar.php

# xar.php will be deprecated as it is basically a duplicate of class.php
# except for the entry point invocation

git-svn-id: svn+ssh://svn.xp-framework.net/home/svn/xpadmin/trunk/releases/bin@494 4ada86be-2990-db11-8b6f-0050450081cd
  • Loading branch information...
1 parent 9cd80ad commit 92dc5d1ca7429f8f7a45f1af86ec0c141c2b0b34 @thekid committed Aug 17, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 windows/src/Xp.cs
View
@@ -10,7 +10,6 @@ static void Main(string[] args)
{
string[] argv;
string tool = "";
- string runner = "class";
int shift = 0;
var includes = new List<string>();
includes.Add(".");
@@ -22,7 +21,8 @@ static void Main(string[] args)
}
else
{
- for (var i = 0; i < args.Length ; i++) {
+ for (var i = 0; i < args.Length ; i++)
+ {
switch (args[i])
{
case "-v":
@@ -41,7 +41,7 @@ static void Main(string[] args)
break;
case "-xar":
- runner = "xar";
+ tool = "xp.runtime.Xar";
shift++;
break;
@@ -70,7 +70,7 @@ static void Main(string[] args)
}
// Execute
- Execute(runner, tool, includes.ToArray(), argv);
+ Execute("class", tool, includes.ToArray(), argv);
}
}
}

0 comments on commit 92dc5d1

Please sign in to comment.