Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 08-11-2004
damingyipai damingyipai is offline
Registered User
 
 
Join Date: Jan 2004
Posts: 59
The IceCS generate.exe bug in Generate.cs from line 24 to 32

the parameters is four, but the source forgot this,
it remember 3 only, you just change line 24 - 32:

if(args.Length < 3)
{
Console.Error.WriteLine("usage: {0} solution_dir project_dir project_name [args]", progName);
Environment.Exit(1);
}
string solDir = args[0];
string projDir = args[1];
string projName = args[2];

to follow:

if(args.Length < 4)
{
Console.Error.WriteLine("usage: {0} solution_dir project_dir project_name [args]", progName);
Environment.Exit(1);
}
string solDir = args[1];
string projDir = args[2];
string projName = args[3];
Reply With Quote
  #2 (permalink)  
Old 08-11-2004
damingyipai damingyipai is offline
Registered User
 
 
Join Date: Jan 2004
Posts: 59
my envirment is win2000 and vs.net 2003.
Reply With Quote
  #3 (permalink)  
Old 08-11-2004
damingyipai damingyipai is offline
Registered User
 
 
Join Date: Jan 2004
Posts: 59
ohh! maybe this is not the reason of the bug, but i can't build IceCS 1.5.1
on vs.net 2003, because generate.exe result error.

can you help me ?
Reply With Quote
  #4 (permalink)  
Old 08-12-2004
michi's Avatar
michi michi is offline
ZeroC Staff
 
Name: Michi Henning
Organization: ZeroC
Project: Ice
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 896
Sorry, to help you, I will need to know exactly how you invoke generate.exe(that is, what pre-build step you are using), and exactly what error message you are getting (if any). Also, it would be useful to insert some trace as the first line of generate.cs to echo the arguments that are passed to the executable.

Cheers,

Michi.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any operation for slice2xxx to generate example servant code ? rc_hz Help Center 3 10-18-2006 10:24 AM
Patch to slice2java to make it generate Java 1.5 enums mefoster Patches 1 06-30-2006 02:32 PM
How to generate certificate for java client and c++ server? timeguest Help Center 1 05-09-2005 08:04 PM
How to generate valid certificate for ICESSL by openssl? timeguest Help Center 3 03-01-2005 09:18 PM
Question about the IceCS generate.exe damingyipai Help Center 3 08-12-2004 09:18 PM


All times are GMT -4. The time now is 12:51 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.