...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

Reply via email to