0

Creating subprojects using NANT

 2 years ago
source link: https://www.codesd.com/item/creating-subprojects-using-nant.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Creating subprojects using NANT

advertisements

I'm trying to build a project(A) using NANT. The project(A) relies upon another project(B) which is also built with NANT. I want to be able to invoke the build of the dependent project(B) from within the build of project(A). I've tried including the build file of project B in the build file of project A. This creates an error because the two build files contain targets that share the same name.

Is there a way to alias the included build file?


You can do it like this by creating a "parent" buildfile, that uses the "nant" action to call other buildfiles.

<target name="rebuild" depends="" >
    <nant target="${target::get-current-target()}">
        <buildfiles>
            <include name="projectB.build" />
            <include name="projectC.build" />
        </buildfiles>
    </nant>
</target>

Related Articles

.Net dependency injection on the debug version using nant

I have a relatively small app that Im building using vb.net 2.0, and nant. Its a app that calls out to an external exe to produce some output files, then processes those output files afterwards. I have built an interface to the exe, which I have crea

Creating and using the java web service for connecting the mysql remote server

In my android application, I want to create and use java web service to connect to remote mysql server. I tried searching for the same but results are vague. Can anyone please suggest me how can I do following things: Create a java web service which

Missing System.Web.Mvc Error When Building ASP.NET MVC 3 Using NAnt

My MVC 3 project is building successfully in my development machine with Visual Studio 2010 + MVC 3. In the build server, VS2010 is not used and I've installed 'ASP.NET MVC 3 Tools Update'. I've also downloaded NAnt and used TortoiseSVN to checkout a

Force Django to create tables using the MYISAM storage engine

How to force django to use MYISAM storage engine when creating database using syncdb command? This page does not help much to shed light in this issue. MYISAM is the perfect choice since the database is almost only used for reading and MYISAM is sign

Create and use a dynamic shared library on solaris

I am reading the procedure to create and use a dynamic shared library on solaris sparc server. below are the file i have : > ls -lrt total 8 -rw-rw-r-- 1 nobody nobody 848 Nov 22 14:45 badmemlib.hh -rw-rw-r-- 1 nobody nobody 1924 Nov 22 14:46 badmeml

Can I create or use the view controller as SLComposeViewController for social networks other than Twitter and Facebook

Can I create or use the view controller like SLComposeViewController for the social networks other than Twitter and Facebook? I want to have the similar look for all of the social networks interactions. Is it possible? If yes, how can I do it? Thanks

Start / Stop the IIS Web Site Using Nant

Is there any way to stop/start website on IIS using Nant without stopping full service(w3svc)? I saw this answer: IIS site and nant/nantcontrib? but as I discovered it not valid for server because after full IIS functionality adding from "Turn Window

Basic data: Search and sort the results in the order in which they were created, without using a timestamp.

This is a pretty straightforward problem. I have a CoreData database that gets initialized with a local file. The CoreData schema that looks like this: Category -->> Objections -->> Responses -->> Evidence ("-->>" means,

How to create and use an object of another class in Java

This question already has an answer here: Accessing objects of other classes 3 answers I dont know how to create and use an object from an other class in an other class. for example, i want the Publisher to be created from another class (Item) public

javax.naming.NoInitialContextException: Unable to create InitialContext using the factory specified in hashtable

I have small program which just creating intial context in unmanaged environment i.e. outside the container.I have been using Websphere 7.0. I have written following program to do the connection with application which is running on WAS 7 using corba

I can not delete rows created dynamically using jquery ajax

I cant delete rows created by ajax and jquery. I have a first page with add-0customer.php ans ajax page with ajax_add_country.php. I want to delete rows with id one<?php echo $cnt ?>. These rows are created dynamically using jquery ajax. ajax_add_co

How can I create and use (or simulate) multi-column indexes in Erlang Mnesia

I have looked through the Mnesia documentation and the 3 popular Erlang books. It seems only single column primary and secondary indexes can be created and used. Or maybe it is just what the examples cover? If I create a separate index on each of the

Create and use different tables in loops in R shorter

I'm looking for a short solution to create and use different tables in for loops where the loop variable is part of the name. I found the following solutions: If I want to create tables in a loop I may use assign together with paste. E.g.: for (f in

Creating Database Using C Programming

I want to create database using C programming. I want to create the employee database system and want to update it dynamically. please guide me how can I go ahead. I have to do it for embedded system which as flash memory. the database is need to be

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK