Try running it from the directory where the VOC resides with the C:\IBM\UV\bin directory added to your path.
-----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austin Sent: Wednesday, August 18, 2010 2:00 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] easiest way to COMPILE/CATALOG for a build? So it seems like it wants to compile it but can't open the VOC. I'm not sure which VOC it's trying to use (the one c:\Chris or the one in c:\IBM\uv\bin). This is what I get from the command line> C:\IBM\UV\bin>BASIC C:\CHRISSYS\LFUTILS TEST_HARNESS5 Unable to open 'VOC' file I have made sure that in the folder security settings that I have full rights to the IBM/*.* and CHRIS/*.* folders. Any ideas why it would be unable to open the VOC? * on a side note to Doug, we want to keep the compiling very simple without many java scripts. Currently we're using a java script but we want to do it on a command line level IF possible. > From: d.hender...@moreheadstate.edu > To: u2-users@listserver.u2ug.org > Date: Wed, 18 Aug 2010 16:45:32 -0400 > Subject: Re: [U2] easiest way to COMPILE/CATALOG for a build? > > ...should have clarified that the below command is executed at the OS command > prompt. > > -----Original Message----- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Drew William > Henderson > Sent: Wednesday, August 18, 2010 4:43 PM > To: U2 Users List > Subject: Re: [U2] easiest way to COMPILE/CATALOG for a build? > > Chris, > > Are you on Windows or Unix/Linux? > > On the ?nix version, you can execute uv/bin program "basic" to compile your > programs (and assume you can catalog, as well, but never tried it.) Assuming > uv/bin is in your PATH, if the folder/directory is SOURCE, and you want to > compile the file PROG1, you can use the following command: > > basic SOURCE PROG1 > > Wildcarding may be a problem, but can put multiple files on the command line. > Of course, you could write a quick script to do all this for you, as well. > > (DISCLAIMER: We're running 10.2 on Linux, and the above worked.... your > mileage may vary! :-) ) > > If you're running Universe on Windows, I can't speak to that! > > HTH > Drew > > -----Original Message----- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austin > Sent: Wednesday, August 18, 2010 4:19 PM > To: u2-users@listserver.u2ug.org > Subject: [U2] easiest way to COMPILE/CATALOG for a build? > > > Hello, > > We just recently changed our entire repository from Source Safe to SVN and > we're now using > hudson to automate our builds. This works great for Java since we can simply > compile ALL > the programs using the JAVA compiler in a batch file. > > Universe however seems to require us sign into a Universe account and then > compile/catalog > all our programs. Is there a way you can compile all programs in a folder > from a batch file? > We need to do the same to CATALOG all our programs. > > Here's why: > > We submit all of our changes to 1 central SVN repository, when we want to > 'release' the object code > to the production server it runs on a different UniVerse region and totally > different server, so we > have the need to compile all the programs at once in the build, then CATALOG > all of the programs > to the production universe region. > > Is there an easy way to do this? > > Right now we have a batch file that logins into our Java webapp, then it logs > into universe from > the webapp so that it can compile/catalog but there has to be an easier way. > > > > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users