Skip to content

Commit

Permalink
Drop native libraries for browser control and use JNA
Browse files Browse the repository at this point in the history
This reduces the amount of native code that needs to be shipped with
NetBeans and allows to support running on more platforms.

The DDE based control was completely removed as in tests MS Edge,
Google Chrome and Mozilla Firefox all did not support DDE.

Closes: #8218
  • Loading branch information
matthiasblaesing committed Feb 5, 2025
1 parent 94f6cb8 commit 13ae1c9
Show file tree
Hide file tree
Showing 22 changed files with 238 additions and 1,558 deletions.
39 changes: 0 additions & 39 deletions ide/extbrowser/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,43 +23,4 @@

<import file="../../nbbuild/templates/projectized.xml"/>

<target name="jnlp" depends="netbeans,-jnlp-init">
<property name="dir" location="${jnlp.dest.dir}/${code.name.base.dashes}"/>
<mkdir dir="${dir}"/>
<copy file="${cluster}/${module.jar}" todir="${dir}"/>
<nb-ext-jar jarfile="${dir}/windows.jar">
<fileset dir="${cluster}/modules/lib">
<include name="extbrowser*.dll"/>
</fileset>
</nb-ext-jar>
<!-- XXX ought to only do this in case jnlp.sign.jars=true -->
<signjar alias="${jnlp.signjar.alias}" storepass="${jnlp.signjar.password}" keystore="${jnlp.signjar.keystore}">
<fileset dir="${dir}">
<include name="*.jar"/>
</fileset>
</signjar>
<property file="${manifest.mf}"/>
<property file="${src.dir}/${OpenIDE-Module-Localizing-Bundle}"/>
<echo file="${jnlp.dest.dir}/${code.name.base.dashes}.jnlp"><![CDATA[<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc//DTD JNLP Descriptor 6.0//EN" "http://java.sun.com/dtd/JNLP-6.0.dtd">
<jnlp spec='1.0+' codebase='${jnlp.codebase}'>
<information>
<title>${OpenIDE-Module-Name}</title>
<vendor>NetBeans</vendor>
<description kind='one-line'>${OpenIDE-Module-Short-Description}</description>
<description kind='short'>${OpenIDE-Module-Long-Description}</description>
</information>
<security><all-permissions/></security>
<resources>
<jar href='${code.name.base.dashes}/${code.name.base.dashes}.jar'/>
</resources>
<resources os="Windows">
<nativelib href='${code.name.base.dashes}/windows.jar'/>
</resources>
<component-desc/>
</jnlp>
]]>
</echo>
</target>

</project>
17 changes: 0 additions & 17 deletions ide/extbrowser/external/binaries-list

This file was deleted.

Loading

0 comments on commit 13ae1c9

Please sign in to comment.