Skip to content

Commit

Permalink
- Use xp.runtime.Xar instead of xar.php
Browse files Browse the repository at this point in the history
# 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
thekid committed Aug 17, 2010
1 parent 9cd80ad commit 92dc5d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions windows/src/Xp.cs
Expand Up @@ -10,7 +10,6 @@ static void Main(string[] args)
{ {
string[] argv; string[] argv;
string tool = ""; string tool = "";
string runner = "class";
int shift = 0; int shift = 0;
var includes = new List<string>(); var includes = new List<string>();
includes.Add("."); includes.Add(".");
Expand All @@ -22,7 +21,8 @@ static void Main(string[] args)
} }
else else
{ {
for (var i = 0; i < args.Length ; i++) { for (var i = 0; i < args.Length ; i++)
{
switch (args[i]) switch (args[i])
{ {
case "-v": case "-v":
Expand All @@ -41,7 +41,7 @@ static void Main(string[] args)
break; break;


case "-xar": case "-xar":
runner = "xar"; tool = "xp.runtime.Xar";
shift++; shift++;
break; break;


Expand Down Expand Up @@ -70,7 +70,7 @@ static void Main(string[] args)
} }


// Execute // Execute
Execute(runner, tool, includes.ToArray(), argv); Execute("class", tool, includes.ToArray(), argv);
} }
} }
} }

0 comments on commit 92dc5d1

Please sign in to comment.