openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "W. Amenel VOGLOZIN" <vwame...@yahoo.fr>
Subject Re: [DEVTOOLS][EXT] Update to Netbeans plugin
Date Sun, 15 Mar 2015 16:33:35 GMT
Hi Carl,

I have tried (yesterday) the 4.1.0 version of the plugin (update from 4.0.6) to rebuild an
extension I wrote last summer in Java. It has worked fine and I haven't encountered any problems
or unexpected behavior.
Platform:
* Netbeans 8.0.2 Patch 1
* Windows 8.1 64-bit edition
* Java 1.8.0_40 (32-bit)
* OpenOffice 4.1.1

Note however that I have been building my extension, which relies on Jackson jars, with version
4.0.6 of the Netbeans plugin, without a problem. That version (4.0.6) had been posted to this
very mailing list by Jürgen mid-June 2014. The jars were embedded in the oxt file without
any actions on my part. I was expecting to do something, for instance add some references
to files to include somewhere but I never had to. That was a pleasant surprise, which I believe
prompted me back then (June, July or August), to update a page on the OO Wiki to add some
information about what to do in order to have dependencies embedded in oxt files.

Anyway, what I mean is that the problem (of external jars not being available in the build
artifact) that you reported in an e-mail from October 2014, well, it didn't occur in my case.

Thanks,
-Amenel.
      De : Carl Marcum <cmarcum@apache.org>
 À : api@openoffice.apache.org; "dev@openoffice.apache.org" <dev@openoffice.apache.org>

 Envoyé le : Mardi 10 mars 2015 11h07
 Objet : Re: [DEVTOOLS][EXT] Update to Netbeans plugin
   
On 12/10/2014 09:10 PM, Carl Marcum wrote:
> Hi All,
>
> I ran into an issue when trying to create an UNO client application 
> with the Netbeans plugin.
>
> External library jars were not added to dist/lib or the jar manifest 
> during build.
>
> This problem appeared to be related to this issue [1].
>
> I have added the following to UNOClientAppProject template 
> build-uno-impl.xml jar target that overrides jar target in build-impl.xml
> -do-jar-without-libraries,-do-jar-with-libraries
> This adds library jars to /dist/lib and also Class Path entries in jar 
> manifest for client applications.
>
> Existing projects created prior should be able to change the jar 
> target to include them.
> Line 27 in nbproject/build-uno-impl.xml
>    <target name="jar" 
> depends="-uno-project-init,compile,-pre-jar,-do-jar-jar,-do-jar-without-libraries,-do-jar-with-libraries,-do-openoffice-manifest,-post-jar">
>        <jar basedir="${build.classes.dir}" 
> manifest="${build.dir}/MANIFEST.MF" filesonly="true" compress="true" 
> jarfile="${dist.jar}">
>            <fileset refid="bootstrap.glue.code"/>
>        </jar>
>    </target>
>
> I have updated the plugin to version 4.1.0 to better reflect the AOO 
> SDK version compatibility.
>
> A compiled version can be found here [2]
>
> [1] http://issues.apache.org/ooo/show_bug.cgi?id=78645
> [2] 
> http://people.apache.org/~cmarcum/devtools/org-openoffice-extensions-4.1.0.nbm
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: api-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: api-help@openoffice.apache.org
>


Has anyone tried this update with an UNO client app or otherwise?

If so, on what platform?

Thanks,
Carl



---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscribe@openoffice.apache.org
For additional commands, e-mail: api-help@openoffice.apache.org



  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message