|
Boost-Build : |
Subject: [Boost-build] Correct way to remove path grist form sources
From: John Bito (jwbito_at_[hidden])
Date: 2009-08-10 16:22:54
I wonder about the source of the error
error: properties found in the 'sources' parameter
I'm trying to develop generators for java -> class and class -> jar.
Accordingly, I've registered a main target rule and two generators:
type.register JAVA : java groovy ;
type.register CLASS : class ;
type.register JAR : jar ;
rule jar ( target-name : sources * : requirements * : default-build * )
{
targets.create-typed-target JAR : [ project.current ] : $(target-name) :
$(sources) : $(requirements) : $(default-build) ;
}
generators.register-composing java.jar : CLASS : JAR ;
generators.register-standard java.javac : JAVA : CLASS ;
jar jarfile : [ glob *.java ] ;
Of course, the build doesn't run any actions because of the error above.
I'm planning to implement custom generators that override run, but
first I'd like to know why the built-in generator gives this problem.
Thanks!
John
PS
I might be able to work on the python version of sun tools, depending
on whether it's feasible to get a java build working based on the
python port in its current state.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk