nant

OpenOffice command line PDF creation

感情迁移 提交于 2019-11-27 01:27:10
问题 I have some documentation written in OpenOffice, and I would like to include some of it as PDF files in the final build deliveries. I would like to do this with the automated build script. Is there a way to create a PDF file from OpenOffice with a command line command? 回答1: Art of Solving has also a very good API to perform the conversion in Java. It is a little slow but it is simple enough. This is how I use it: File inputFile = new File("C:\\oreyes\\hola.doc"); File outputFile = new File("C

How do I use Nant/Ant naming patterns?

馋奶兔 提交于 2019-11-26 23:22:01
I have to admit that I always forgot the syntactical intracacies of the naming patterns for Nant (eg. those used in filesets). The double asterisk/single asterisk stuff seems to be very forgettable in my mind. Can someone provide a definitive guide to the naming patterns? benzado The rules are: a single star (*) matches zero or more characters within a path name a double star (**) matches zero or more characters across directory levels a question mark (?) matches exactly one character within a path name Another way to think about it is double star (**) matches slash (/) but single star (*)

Building .NET 4 projects with Nant

时光怂恿深爱的人放手 提交于 2019-11-26 19:42:21
问题 How do I get nant to build projects that target the .NET 4.0 Framework? 回答1: 2010 April 15, ... Update to above correct answer from Eugene, after .net 4 and vs2010 was released. I downloaded vs2010 and .net 4 runtime. The production version seems to be v4.30319 ie (C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319) After reviewing http://paigecsharp.blogspot.com/2009/08/nant-net-framework-40-configuration.html, ... I pasted in the text and changed all text from v4.0.20506 to v4.30319 an added

NAnt or MSBuild, which one to choose and when?

一笑奈何 提交于 2019-11-26 19:17:10
I am aware there are other NAnt and MSBuild related questions on Stack Overflow, but I could not find a direct comparison between the two and so here is the question. When should one choose NAnt over MSBuild? Which one is better for what? Is NAnt more suitable for home/open source projects and MSBuild for work projects? What is the experience with any of the two? Ogre Psalm33 I've done a similar investigation this week. Here's what I've been able to determine: NAnt: Cross-platform (supports Linux/Mono). It may be handy for installing a web site to multiple targets (that is, Linux Apache and

How do I use Nant/Ant naming patterns?

你离开我真会死。 提交于 2019-11-26 17:27:52
问题 I have to admit that I always forgot the syntactical intracacies of the naming patterns for Nant (eg. those used in filesets). The double asterisk/single asterisk stuff seems to be very forgettable in my mind. Can someone provide a definitive guide to the naming patterns? 回答1: The rules are: a single star (*) matches zero or more characters within a path name a double star (**) matches zero or more characters across directory levels a question mark (?) matches exactly one character within a

<msbuild> task or msbuild.exe with NAnt?

痴心易碎 提交于 2019-11-26 11:26:08
问题 It looks like there are (at least) two options for getting nant to use csproj files: using the task of NAntContrib or using msbuild.exe directly (e.g., codecampserver). Am I reading this right, and if so, what is the advantage of using msbuild.exe over the NAntContrib task? 回答1: The NAntContrib assumes .NET Framework V2.0. If you want to use .NET 3.5, you'll need to call MsBuild.exe directly. As you upgrade to new versions of .NET, you need only modify the MSBuildPath property. Here's an

NAnt or MSBuild, which one to choose and when?

霸气de小男生 提交于 2019-11-26 06:52:40
问题 I am aware there are other NAnt and MSBuild related questions on Stack Overflow, but I could not find a direct comparison between the two and so here is the question. When should one choose NAnt over MSBuild? Which one is better for what? Is NAnt more suitable for home/open source projects and MSBuild for work projects? What is the experience with any of the two? 回答1: I've done a similar investigation this week. Here's what I've been able to determine: NAnt: Cross-platform (supports Linux