.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" ======================================================================== .\" .IX Title "JH_COMPILEFEATURES 1" .TH JH_COMPILEFEATURES 1 "2016-10-15" "0.59" "Javahelper" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" jh_compilefeatures \- Compiles eclipse features using pde\-build. .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBjh_compilefeatures\fR [\fIdebhelperĀ options\fR] [\fIoptions\fR] [\fB\-\-pde\-build\-dir=\fR\fIdir\fR] [\fIfeatureĀ [...]\fR] .SH "DESCRIPTION" .IX Header "DESCRIPTION" jh_compilefeatures is a javahelper program that handles compiling features using pde-build. These features can be specified either in debian/eclipse.features or via command-line. .PP jh_compilefeatures uses debhelper behind the scenes and are therefore subject to the compat level (e.g. when parsing the eclipse.features file). .PP When specifying the dependencies for a feature, jh_compilefeatures will see if this feature has just been compiled and will use the dependency if it is among the results. This can be used together with debian/eclipse.features. .PP Dependencies are always resolved by first checking if it is a recently built feature and if not, then the system installed eclipse's dropins folders will be checked. .PP Currently jh_compilefeatures do not clean up between builds, which means the dependencies for previous builds are present for the current build. Nevertheless, do not rely on this, as this behavior is subject to change. .PP Note: jh_compilefeatures will \fInot\fR rearrange the build order for you in order to do this. .PP Note: that jh_compilefeatures will not error out if it cannot find a missing dependency. This is due to the underlying builder being unable to detect this. .SH "FILES" .IX Header "FILES" .IP "debian/eclipse.features" 4 .IX Item "debian/eclipse.features" List the eclipse features to compile and their dependencies. The first item on the line is the feature to compile and the following items are considered dependencies. .Sp A dependency can either be a dropins folder or a previous built feature. jh_compilefeatures will find it as long as it is installed in the system eclipse's dropins folder or it has just been compiled. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-\-pde\-build\-dir=\fR\fIdir\fR" 4 .IX Item "--pde-build-dir=dir" Specifies the directory from where pde-build is to be run. Defauls to \&\*(L"debian/.eclipse_build\*(R". .IP "\fB\-\-feature\-deps=\fR\fIdeps\fR" 4 .IX Item "--feature-deps=deps" A space separated list of dependencies. These dependencies will be used to compile all features passed by command-line. Features read from debian/eclipse.features are unaffected by this. .IP "\fB\-\-build\-opts=\fR\fIargs\fR" 4 .IX Item "--build-opts=args" Pass args to the underlying builder. These options are passed to all features built. .Sp This defaults to \*(L"\-DjavacTarget=1.5 \-DjavacSource=1.5\*(R" if not set. This can be disabled by passing the empty string. .IP "\fB\-\-jvm\-args=\fR\fIargs\fR" 4 .IX Item "--jvm-args=args" Pass args to the \s-1JVM.\s0 These options are passed to all features built. .IP "\fB\-\-orbit\-dir=\fR\fIdir\fR" 4 .IX Item "--orbit-dir=dir" Specifies where the Orbit dependencies can be found. This is only needed if the orbit dir is in an unusual location. .IP "\fB\-\-pde\-build=\fR\fIcmd\fR" 4 .IX Item "--pde-build=cmd" Use a non-standard pde-build command to compile the features. .IP "\fB\-\-pde\-args=args\fR" 4 .IX Item "--pde-args=args" Passes args directly to pde-build. Note, jh_compilefeatures have specialised options for some of pde-build options and these should be used whenever possible. .Sp These options are passed to all features built. .IP "\fB\-\-ignore\-java\-home\fR" 4 .IX Item "--ignore-java-home" Skip the check of \s-1JAVA_HOME.\s0 Since the underlying builder uses ant (and therefore java), the build should ensure it always uses the expected java implementation. .Sp Use this if you (for whatever reason) need to declare the specific java implementation without being able to use \s-1JAVA_HOME.\s0 .Sp Note: You still have to tell the underlying builder which java to use. .SH "EXAMPLE" .IX Header "EXAMPLE" A sample debian/eclipse.features .PP .Vb 2 \& org.eclipse.tm.terminal emf \& org.eclipse.rse.sdk .Ve .PP org.eclipse.tm.terminal depends on \*(L"emf\*(R", which is expected to be found in eclipse's dropins folder. org.eclipse.rse.sdk on the other hand has no dependencies beyond the eclipse platform. .PP If needed you can also specify a previously built feature as a dependency: .PP .Vb 2 \& org.eclipse.some.feature \& org.eclipse.another.feature org.eclipse.some.feature rse .Ve .PP Here org.eclipse.another.feature depends org.eclipse.some.feature, which was just built and also rse, which is expected to be in system installed eclipse's dropins. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIdebhelper\fR\|(7) .PP This program is a part of javahelper and uses debhelper as backend. There are also tutorials in /usr/share/doc/javahelper. .SH "AUTHOR" .IX Header "AUTHOR" Niels Thykier .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" Copyright 2010 by Niels Thykier .PP This tool is free software; you may redistribute it and/or modify it under the terms of \s-1GNU GPL 2.\s0