Hi!

I'm having trouble building my projects using the Nant depenancies.
My catalog structure is as follows:
        Solution
        - ProjectA
                -ProjectA.source
                -ProjectA.build
        - Externals
                - ExternalProject
                        -ExternalProject.source
                        -ExternalProject.build
        - ProjectATests
                -ProjectATests.source
                -ProjectATests.build
        - UnitTests


My dependancies is:
Project         Depends on
=============================
ProjectA                ExternalProject
ProjectATests   ProjectA

I'm using <include> to include ExternalProject.build into ProjectA.build  
to ensure that
ExternalProject is build before ProjectA. Doing this the execution-path is  
set to ProjectA's
path... the only way i managed to do this is using the <Exec>-tag; but  
then i loose my
dependancy check.
The only way out of this (as i figure... ) is to "hard code" all my pathes  
into the files...
which then will make em totaly worthless, as no directory structure looks  
the same at my company.
This would then force us to use Enviromental Variables like  
%ProjectABuildPath%... which would be
really messy.

Anyone got a solution to this?

best regards
//kristoffer roupé


ps. and yes i've tried to use the project::get-base-directory() but that  
only gets the "current" project, not
nested into inclueds ds.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to