DVBCentral

From APIDesign

(Difference between revisions)
Jump to: navigation, search
Line 17: Line 17:
</source>
</source>
-
Which will go through all modules in your suite and test whether their dependencies are as modern as they can be. Enjoy [[NetBeans]] 6.9!
+
Which will go through all modules in your suite and test whether their dependencies are as modern as they can be. Enjoy [[NetBeans]] 6.9, use [[netbeans:AutoUpdateTask|AutoUpdateTask]], it will simplify your future upgrades!

Revision as of 20:13, 24 June 2010

DVB Central is a TV broadcasting solution written on top of NetBeans Runtime Container.

Today I decided to upgrade it to use NetBeans version 6.9 instead of 6.8. As I was already using the AutoUpdateTask, the whole change was quite simple:

@@ -26,7 +26,7 @@
-    <property name="netbeans.updatecenter.url" value="http://bits.netbeans.org/netbeans/6.8/community/fcs/uc/catalog.xml.gz"/>
+    <property name="netbeans.updatecenter.url" value="http://bits.netbeans.org/netbeans/6.9/fcs/uc/catalog.xml.gz"/>

E.g. just use the update catalog for the new version.

The NetBeans 6.9 introduces one significant source compatible change: it separates Lookup API into own JAR. The old code still compiles and runs, yet it prints various warnings during initialization. To prevent them, please update your dependencies. This can be done by following script:

$ ls -1 */build.xml | while read X; do  ant -f $X fix-dependencies; done

Which will go through all modules in your suite and test whether their dependencies are as modern as they can be. Enjoy NetBeans 6.9, use AutoUpdateTask, it will simplify your future upgrades!

Personal tools
buy