Re: Incremental build of IKVM sources

Jeroen Frijters <[email protected]> Sat, 27 Feb 2016 08:34:47 +0000
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <[email protected]>
Hi Steve,

You're right. I don't do a full rebuild every time. When I make a runtime change, I just run "nant" in the ikvm/runtime directory. When I make an ikvmc change, I run "nant" in the ikvm/ikvmc directory followed by "nant core" in the ikvm/openjdk directory. The last step just runs ikvmc over the OpenJDK class files and is pretty fast.

I hope that incremental build will become easier with the module system in OpenJDK 9.

Regards,
Jeroen


> -----Original Message-----
> From: Steve Hannah [mailto:[email protected]]
> Sent: Friday, February 26, 2016 20:25
> To: [email protected]
> Subject: [Ikvm-developers] Incremental build of IKVM sources
> 
> Hi Joeren,
> 
> I'm trying to work through some issues with my IKVM build, and this
> requires me to change some of the source files (e.g. ReflectUtil.cs).
> 
> The nant build script, is set to clean and build from scratch each time
> - which takes 15 to 20 minutes for me each time I change one line of
> code.  I'm currently working through the nant build scripts to see what
> I can do to optimize this (e.g. by not compiling OpenJDK each time with
> javac, etc...).
> 
> What is your workflow for developing IKVM?    Surely you aren't doing a
> clean build every time you want to test out a change.
> 
> Best regards
> 
> Steve
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140