info/CWS undoapi : build env: JARCLASSEXCLUDES

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

info/CWS undoapi : build env: JARCLASSEXCLUDES

frank.schoenheit


          Type: info
         Title: build env: JARCLASSEXCLUDES
     Posted by: [hidden email]
      Affected: -
Effective from: CWS undoapi
           CWS:
<http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/undoapi>
    CWS status: new


*Summary*
--------
solenv/inc/tg_jar.mk: new directive JARCLASSEXCLUDES

*Description*
-------------
When creating a JAR file from within a makefile.mk, you so far could
specify JARCLASSDIRS, effectively controlling which class files to
include in the JAR file. Usually, this looks like
  PACKAGE = foo/bar
  JARCLASSDIRS = $(PACKAGE)
In case you want to build multiple jars within a project, where the
package of one class set is a prefix of the package of another class
set (say, foo.bar and foo.bar.something), this is not possible so far,
since one of the JARs would include all class files from both packages.

With the integration of CWS undoapi, you'll be able to specify
JARCLASSEXCLUDES, which controls the files *not* to be included in a
JAR (with the above exemplary names, you'd specify
JARCLASSEXCLUDES/something/*).



Send feedback to [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]