Re: Modules added to projects build

Vitezslav Stejskal <[email protected]> Mon, 26 May 2003 16:42:19 +0200
Newsgroups gmane.comp.java.netbeans.modules.projects.devel
Message-ID <[email protected]>
Done. The automated build script is now in the nbbuild/auto-build.xml. 
It can either be used as standalone script or from the nbbuild module. 
Its targets 'cvs' and 'build' are exposed in nbbuild/build.xml as 
'checkout' and 'auto-build' targets. You can use following commands to 
update your sources and build the IDE:

1. cd nbbuild
2. cvs update
3. ant checkout
4. ant

Or if you don't have any sources checked-out on your disk you can 
download the auto-build.xml from 
http://projects.netbeans.org/proposals/prototype/index.html into some 
directory and run 'ant -buildfile auto-build.xml' to checkout sources 
and build the IDE.

I think it would be usefull to create another target in auto-build.xml 
which would only 'CVS update' sources to speed up the process. There 
could also be some target which would do the ' update; clean; build' 
sequence automaticaly. I will add these later.

Please try it and give me the feedback.
Thanks,
-vita

[email protected] wrote:

>Exactly.
>
>  
>
>>[email protected] wrote:
>>
>>    
>>
>>>Of course it could be in cvs but also made available in the web page.
>>>
>>>S1S (closed source) keeps this file in vcs, so my update command is:
>>>
>>>cvs update {file with module/branch tag info} ; ant update
>>>
>>>Much more convenient than web download.
>>> 
>>>
>>>      
>>>
>>Aha, I understand. We could perhaps put this automated build script in 
>>the nbbuild module and merge its functionality with regular 
>>nbbuild/build.xml. It would still be usable as a standalone script as it 
>>is now, but you could update it from cvs and use following commands from 
>>the <cvs>/nbbuild directory:
>>
>>1. ant checkout - will checkout sources from cvs
>>2. ant auto-build - will do #1 and start the build process
>>
>>Is it acceptable?
>>-vita
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [email protected]
>>For additional commands, e-mail: [email protected]
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>
>
>  
>