0

I have a subproject task in a multi project like this

task genJaxb {
    ext.sourcesDir = "/${rootProject.projectDir}/src/resources/xjc" ...

The project itself compiles fine, however when I compile the project from the parent project the ${rootProject.projectDir} is resolved to the parent project path. And I get errors. When I compile the project from parent I want rootProject.projectDir to be resolved to the sub project directory.

Thanks in advance

Adam
  • 515
  • 1
  • 5
  • 15

1 Answers1

1

As ReGa mentioned, it works fine, also using relative paths also works

Adam
  • 515
  • 1
  • 5
  • 15