On 13/01/06, Paulo Jorge Guedes <[EMAIL PROTECTED]> wrote: > > Hi, > > I have this directory structure: > > Root > Apps > App1 > Nbproject > Src > > The build.xml files just import the files in the inner directories. The > build file on nbproject folder does all the work. > In each file I set the "basedir" attribute of "project" element to ".". > The problem is that the build file in nbproject is ignoring its basedir > setting using the one defined by the build file in the root directory. > > I'm out of ideas and would appreciate any help. > > Thanks in advance, > > Paulo > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > I am no sure if my solution is good enough but when I have to get the directory where a build.xml is situated(of course this solution works if your basedir is .) I get it using the inner properties of ANT: ${ ant.file.NAMEOFIMPORTEDPROJECT}
Hope that helps! -- Regards, Petar!