Skip to content

Conversation

JaroslavTulach
Copy link

Time to update to new version of HTML/Java API which has been released in November.

OracleLab's IGV is currently using 1.6.1 (bundled together with NetBeans 11.2) and we run into a GC related problem of premature release of the model objects: fix by this change.

The fix is part of NetBeans HTML/Java API version 1.7 - hence upgrading to it (in NetBeans as well as IGV) shall fix our problems.

@JaroslavTulach JaroslavTulach requested a review from sdedic December 4, 2019 13:24
<os family="windows"/>
</condition>
<exec executable="${maven.embedder.dir}/maven/bin/mvn${.cmd}" failonerror="true">
<arg value="-DforcedVersion=SNAPSHOT"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jglick, please take a look.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So just replacing SNAPSHOT with dev-SNAPSHOT? Seems fine.

jtulach referenced this pull request in jtulach/netbeans Dec 5, 2019
</target>

<target name="patch-for-maven" depends="init" description="Patch local Maven repo's -DmavenVersion of this module with one built from sources.">
<target name="patch-for-maven" depends="maven-install"/> <!-- deprecated -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jglick, I was always wondering what patch-for-maven target stands for. After many years I finally took a look and found out that it is the task I was always looking for. Probably a sign the target's name isn't best. I propose to name it maven-install.

@jtulach
Copy link
Contributor

jtulach commented Dec 5, 2019

With the a7b0a4d and 1a414ea changes I am able to invoke

netbeans$ for i in platform/net.java.html*; do ant -f $i maven-install || break; done

and successfully install the HTML/Java API OSGi bundles into the local Maven repository.

Copy link
Contributor

@jglick jglick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have hardly any recollection of this.

<os family="windows"/>
</condition>
<exec executable="${maven.embedder.dir}/maven/bin/mvn${.cmd}" failonerror="true">
<arg value="-DforcedVersion=SNAPSHOT"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So just replacing SNAPSHOT with dev-SNAPSHOT? Seems fine.

@JaroslavTulach JaroslavTulach merged commit fabe02a into apache:master Dec 9, 2019
@junichi11 junichi11 added this to the 11.3 milestone Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants