<AWT Dev> Fastest means to rebuild awt_Component.cpp

Denis Fokin Denis.Fokin at Sun.COM
Tue Jun 29 22:22:41 PDT 2010


Hi Peter,

I would try to set ALT_OUTPUT_DIR ??explicitly.

Thank you,
    Denis.

On 6/29/10 6:08 PM, Pete Brunet wrote:
> When I did this:
>
> cd /cygdrive/c/OpenJDK-b96m/jdk7/jdk/make/sun/awt
> make 2>&1 | tee build.log
>
> I got this:
> make: *** No rule to make target 
> `../../../build/*windows-i586*/btjars/stripproperties.jar', needed by 
> `strip_all_props'.  Stop.
>
> But my build is in windows-i586-fastdebug.
>
> What additional environment vars do I need to setup first for this 
> incremental make?  My bat file already sets these (for a full build):
> set ALT_BOOTDIR=C:/Progra~1/Java/jdk1.6.0_20
> set ALT_FREETYPE_HEADERS_PATH=C:/freetype/include
> set ALT_FREETYPE_LIB_PATH=C:/freetype/lib
> set ALT_SLASH_JAVA=C:/SlashJava
> set ANT_HOME=C:/Progra~1/apache-ant-1.7.1
> set ALT_MSDEVTOOLS_PATH=C:/Progra~1/MI2578~1/Windows/v7.0A/bin
> set CLASSPATH=
> set PATH=C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/System32/Wbem;
>
> Thanks, Pete
> ===
> Denis Fokin wrote:
>> Hi Peter,
>>
>> if you have a full build of jdk workspace, just go into 
>> jdk/make/sun/awt, execute you script and rebuild only platform 
>> specific AWT code.
>>
>> Thank you,
>>    Denis.
>>
>> On 6/29/10 4:01 AM, Pete Brunet wrote:
>>> Looking for a confirmation of Kelly's advice...
>>>
>>> Kelly O'Hair wrote:
>>>> Maybe you should try the awt alias.
>>>>
>>>> I would assume you could do a full build, then 'cd make/sun.awt&&
>>>> make' to just
>>>> re-build awt, but you need to ask the awt engineers.
>>>>
>>>> -kto
>>>>
>>>> On Jun 28, 2010, at 2:06 PM, Pete Brunet wrote:
>>>>
>>>>> If I am tweaking awt_Component.cpp, what is the fastest way to 
>>>>> rebuild?
>>>>> A full build is taking me two hours.  Thanks, Pete
>>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20100630/afe06ec6/attachment.html 


More information about the awt-dev mailing list