"Graham Leggett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > I am still having hassles with C/C++ projects and dependencies. I have a > project that depends on other projects, and is configured like this: > > <project name="hoops-feed-configure"> > <configure> > <arg name="--prefix" path="dest-@@DATE@@"/> > <arg name="--with-hoops" project="hoops-make-install" > reference="home" path="dest-@@DATE@@"/> > <arg name="--with-monacoxml" project="monaco-xml-make-install" > reference="home" path="dest-@@DATE@@"/> > </configure> > <depend project="hoops-make-install"/> > <depend project="monaco-xml-make-install"/> > <license name="LICENSE.txt" /> > </project> >
As stated in http://gump.apache.org/metadata/builder.html#property%2Farg, you can't mix 'reference=' and 'path=' in an <arg/> tag. You have to use one or the other. The usual way to set this up would be to define <home nested="dest-@@DATE@@" /> (see http://gump.apache.org/metadata/project.html#home) in the hoops-make-install project, and just reference="home" in hoops-feed-configure. This frees hoops-feed-configure from knowing about how hoops-make-install is setup. Of course, I don't know how this affects the rest of your setup :). > The resultant configure line from the above looks like this: > > configure > --with-hoops=/udd001/hoops/gump/work/hoops > --with-monacoxml=/udd001/hoops/gump/work/monaco-xml > --prefix=/udd001/hoops/gump/work/hoops-feed/dest-13102005 > > The key difference is the missing path in --with-hoops and > --with-monacoxml. In both cases, it picks the project source ddirectory up > correctly, but as the path of "dest-@@DATE@@" is ignored, the library is > being searched for in the wrong place, and ./configure fails. > > Is there a different way I should configure the project tag? > > Regards, > Graham > -- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]