On Wed, 14 Nov 2001, Jason Dillon wrote:

> Why do you need to know anything about buildmagic to build JBoss?  All you
> do is `cvs get jboss-all` and `build/build.sh` that is it.  Why would it be
> any different to build a debian package (or any package for that matter).

When making a source package for debian, the source package should have NO
external files.  This is called 'redistribution', and can keep the package
from being accepted into debian.

So, a debian developer then goes about finding what debs already exist that
have these external files, and making the new package use those debs, during
the build process.

If an external file is not packaged already, the developer may take it upon
himself to make a package for that file, or may ask on one of the debian
mailing lists for someone else to do so.

If an external file has a license that keeps debian from making a deb of
it(see http://www.debian.org/social_contract#guidelines), then the new package
goes into what is called contrib, and will be BROKEN upon installation(because
of this missing file).

> If you are setting up a seprate environment that does not use build.sh or
> build.bat then you are bound to run into problems, or at least maintenece
> when those change.

debian/control is a text file, that contains meta information describing the
software.  Included in this information is a list of debian packages that have
to be installed before building the current package.  debian/rules(a makefile)
can then be assured that these packages are installed, and use the files that
the packages contain(ie, adding files from /usr/share/java/ into the
classpath).

There is no need, lots of times, for autodetection of anything during a debian
build, and in some cases autodetection is actually disabled.  When building a
debian package, it must be repeatable.  Always.  This means that the package
can't be built different ways, depending upon what happens to be installed(or
not installed) at build time.



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to