Make sure you call cmdide.exe and not ide.exe

Chris

Edmond Chan wrote:
> 
> Ben, we must be using different versions of CW because I have already tried
> invoking "ide.exe" with "/?" for hints prior to sending my initial email.
> 
> Nonetheless, I tried again with the other options you listed, no luck... the
> best that I can do with my "ide.exe" is to have it open up the project, then
> no matter what options I fed in seem to be ignored.
> 
> The version of my IDE reads "3.1" and it is "Build 0135"...
> 
> Thanks,
> Edmond
> 
> Subject: Re: Automated build using CodeWarrior
> From: "Ben Combee" <[EMAIL PROTECTED]>
> Date: Mon, 27 Nov 2000 18:45:45 -0500
> X-Message-Number: 78
> 
> "Edmond Chan" <[EMAIL PROTECTED]> wrote in message
> news:31284@palm-dev-forum...
> >
> > Hi all,
> >
> > I have been using CodeWarrior to create applications for Palm with a
> Windows
> > NT development environment.  I am just wondering if CodeWarrior has any
> > command-line support for building/making an executable (.prc) from a
> project
> > (.mcp).  That is, I would like to create a batch file (.bat) that runs
> from
> > the Command Prompt to build the executable.  It is desired for an
> automated
> > build process.
> 
> Yes, it does...
> 
> Metrowerks CodeWarrior IDE. Hit /? for help
> 
> This program invokes the CodeWarrior IDE, passes the proper parameters
> to produce a build, and waits for the IDE to finish its operation.
> Arguments:
> /t targetname    specifies a target to become the current target
> /r               remove objects of the current target before building
> /b               build the current target
> /c               close the project after building
> 
> /q               quit the IDE after building
> 
> /v y|n|a         option for converting projects on open
>                  (y = convert without asking; n = don't convert;
>                     a =ask whether to convert)
> 
> /s               Forces the command line to be processed in a new
>                  instance of the IDE (rather than using a current instance)
> 
> Notes:
> 
> 1) If more than one project document is specified to be opened in the
> command line, the /t and build command flags apply to the first project
> document found in the list of documents. If no project is specified in the
> command line, it will use the usual logic in the IDE (front project or
> default project) to figure out which project to build.
> If no target is specified it uses whatever the current target
> is for that project.
> 

> 2) All build commands are executed in a different process from the one
> launched from the command line. The original process will return as soon
> as the command line has been completely processed and the build
> has completed.
> 
> 3) The following codes are returned:
> 
> 0 no error
> 1 error opening file
> 2 project not open
> 3 IDE is already building
> 4 invalid target name (for /t flag)
> 5 error changing current target
> 6 error removing objects
> 7 build was cancelled
> 8 build failed
> 9 process aborted

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to