If you use place the resources in the src/main/resources/resource directory, NMaven will pick up the embedded resource at compile time. You can also add win32 icons, link files, etc by placing them in the appropriate directory.
http://incubator.apache.org/nmaven/getting-started.html#Generating%20Resources If you are using Visual Studio to generate or embed the resources, you will need to do some tweaking because Visual Studio places the resources in the Properties directory (src/main/csharp/Properties by default). In that case, add the maven-resources plugin to your pom.xml and set it up to copy from the Properties to the target/assembly-resources/resource directory (prior to compile phase) and everything will work for you in Visual Studio. Shane On Nov 25, 2007 3:31 AM, Marco Mistroni <[EMAIL PROTECTED]> wrote: > Hi , > was wondering.... in my C# app i have some files that i need to set > as 'embedded resources' in Visual > Studio.. > with Nant, i am unable to do so, does nmaven offer that capability? > > thanks and regards > marco > > On Nov 24, 2007 11:17 PM, Marco Mistroni <[EMAIL PROTECTED]> wrote: > > Shane > > thanx for feedback > > well, i asked that question coz in java version, there's a <maven> > > task u can use to hook maven to CC. > > I started C# about a month ago and i tried to investigate if i could > > have used similar tool i m using in java.. > > i'll appreciate if you can post me details on your exec feature so i > > can go on and try it.. > > > > thanks a lot for your reply and regards > > marco > > > > > > On Nov 24, 2007 9:47 PM, Shane Isbell <[EMAIL PROTECTED]> wrote: > > > Hi Marco, > > > > > > On an old sourceforge version of Maven, I successfully used the exec > feature > > > and got .NET apps building with NMaven on CruiseControl.NET. I don't > have > > > any plans to build a CC nmaven task for this, but any such patch would > be > > > welcome. > > > > > > Thanks, > > > Shane > > > > > > > > > On Nov 24, 2007 7:18 AM, Marco Mistroni <[EMAIL PROTECTED]> wrote: > > > > > > > HI > > > > i m a java coder (and J Maven user) that now moved to C# > > > > > > > > was wondering if you have any plans to integrate NMaven with > > > > CruiseControl.NET.. > > > > > > > > thanks and regards > > > > Marco > > > > > > > > On Nov 23, 2007 10:32 PM, Shane Isbell <[EMAIL PROTECTED]> > wrote: > > > > > I've created the SI_MAVEN_INTEGRATION branch and will be working > on a > > > > > version of NMaven that will integrate well with Maven. Most of the > > > > initial > > > > > work will come under the sandbox directory of this branch. For > those > > > > wanting > > > > > to get up to speed on NMaven, this will be a good place to keep an > eye > > > > and > > > > > to make suggestions about, or contributions to, the API, code and > > > > designs. > > > > > Anybody is welcome to do so. If people are going to get involved, > now > > > > would > > > > > be the best time to do so. > > > > > > > > > > With over a year of work behind us, I think many of the technical > issues > > > > and > > > > > requirements are clearly understood: everything from compiling, > testing, > > > > > resolving, Visual Studio support, etc. I'm going to be dissecting > the > > > > > current implementation and applying a more formal process with use > > > > cases, > > > > > analysis, design. This will increase the modularity of the code > and make > > > > > integration with Maven easier. In the branch, I'll start out with > > > > working on > > > > > the interfaces and interactions, without getting too much into the > > > > > implementation. Use cases and designs will also follow, > identifying any > > > > > holes. After that, I expect we can either refactor the existing > code > > > > base or > > > > > start extracting what we need into the new implementation code > base, and > > > > of > > > > > course lots of new work for people to get involved in. > > > > > > > > > > Shane > > > > > > > > > > > > > > >
