As said installed VS2008 and now everything is in good position. Ran the nant
setup and it went on for nearly 8 hours in my system (p4 1gigs ram) Finally
it threw an error in the final part of the script like as follows .
[exec] Nov 20, 2009 11:53:24 PM org.apache.fop.cli.Main startFOP
[exec] SEVERE: Exception
[exec] org.apache.fop.apps.FOPException: Failed to resolve
font with embed-url 'C:/WINDOWS/FONTS\simhei.ttf'
[exec] at
org.apache.fop.util.LogUtil.handleError(LogUtil.java:38)
[exec] at
org.apache.fop.render.PrintRendererConfigurator.getFontInfoFromConfiguration(PrintRendererConfigurator.java:275)
[exec] at
org.apache.fop.render.PrintRendererConfigurator.buildFontListFromConfiguration(PrintRendererConfigurator.java:207)
[exec] at
org.apache.fop.render.PrintRendererConfigurator.configure(PrintRendererConfigurator.java:95)
[exec] at
org.apache.fop.render.pdf.PDFRendererConfigurator.configure(PDFRendererConfigurator.java:71)
[exec] at
org.apache.fop.render.RendererFactory.createRenderer(RendererFactory.java:187)
[exec] at
org.apache.fop.area.RenderPagesModel.<init>(RenderPagesModel.java:68)
[exec] at
org.apache.fop.area.AreaTreeHandler.setupModel(AreaTreeHandler.java:127)
[exec] at
org.apache.fop.area.AreaTreeHandler.<init>(AreaTreeHandler.java:102)
[exec] at
org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:224)
[exec] at
org.apache.fop.fo.FOTreeBuilder.<init>(FOTreeBuilder.java:100)
[exec] at
org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:100)
[exec] at org.apache.fop.apps.Fop.<init>(Fop.java:78)
[exec] at
org.apache.fop.apps.FopFactory.newFop(FopFactory.java:247)
[exec] at
org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:104)
[exec] at org.apache.fop.cli.Main.startFOP(Main.java:166)
[exec] at org.apache.fop.cli.Main.main(Main.java:197)
[call] H:\SVN\tortoisesvn\doc\doc.build(432,5):
[call] External Program Failed:
H:\SVN\tortoisesvn\Tools\fop\fop.bat (return code was 1)
BUILD SUCCEEDED - 3 non-fatal error(s), 6951 warning(s)
Total time: 23368.9 seconds.
LanguagePacks:
[nant] H:\SVN\tortoisesvn\Languages\LanguagePack.build all
Buildfile:
file:///H:/SVN/tortoisesvn/Languages/LanguagePack.build
Target framework: Microsoft .NET Framework 3.5
Target(s) specified: all
clean:
all:
createecho2:
BUILD FAILED
H:\SVN\tortoisesvn\Languages\LanguagePack.build(40,4):
Compilation failed:
c:\Documents and Settings\svram\Local
Settings\Temp\5zcspbco.0.cs(20,14) : error CS0234: The type or namespace
name 'Xml' does not exist in the namespace 'System' (are you missing an
assembly reference?)
c:\Documents and Settings\svram\Local
Settings\Temp\5zcspbco.0.cs(192,46) : error CS0246: The type or namespace
name 'XmlNode' could not be found (are you missing a using directive or an
assembly reference?)
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3053
//
// Changes to this file may cause incorrect behavior and
will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using NAnt.Core;
using NAnt.Core.Attributes;
using NAnt.Core.Tasks;
using NAnt.Core.Util;
using System;
using System.Collections;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml;
[FunctionSet("tsvn", "tsvn")]
public class nanta8ffab6f5b504284ad10ff98103e64db :
NAnt.Core.FunctionSetBase {
/* Based on EchoTask.cs NAnt 0.85-rc4 */
/* Includes support for different Encoding, if none is set,
it uses ANSI (Default) */
[TaskName("echo2")]
public class Echo2Task : Task
{
#region Private Instance Fields
private string _message;
private string _contents;
private FileInfo _file;
private bool _append = false;
private Level _messageLevel = Level.Info;
private Encoding _encoding;
#endregion Private Instance Fields
#region Public Instance Properties
[TaskAttribute("message")]
public string Message
{
get { return _message; }
set
{
if (!StringUtils.IsNullOrEmpty(value))
{
if (!StringUtils.IsNullOrEmpty(Contents))
{
throw new ValidationException("Inline content and the
message attribute are mutually exclusive in the <echo> task.", Location);
}
else
{
_message = value;
}
}
else
{
_message = null;
}
}
}
public string Contents
{
get { return _contents; }
set
{
if (!StringUtils.IsNullOrEmpty(value))
{
if (!StringUtils.IsNullOrEmpty(Message))
{
throw new ValidationException("Inline content and the
message attribute are mutually exclusive in the <echo> task.", Location);
}
else
{
_contents = value;
}
}
else
{
_contents = null;
}
}
}
[TaskAttribute("file")]
public FileInfo File
{
get { return _file; }
set { _file = value; }
}
[TaskAttribute("append")]
public bool Append
{
get { return _append; }
set { _append = value; }
}
[TaskAttribute("level")]
public Level MessageLevel
{
get { return _messageLevel; }
set
{
if (!Enum.IsDefined(typeof(Level), value))
{
throw new
ArgumentException(string.Format(CultureInfo.InvariantCulture, "An invalid
level {0} was specified.", value));
}
else
{
this._messageLevel = value;
}
}
}
[TaskAttribute("encoding")]
public Encoding Encoding
{
get { return _encoding; }
set { _encoding = value; }
}
#endregion Public Instance Properties
#region Override implementation of Task
protected override void ExecuteTask()
{
if (File != null)
{ // output to file
try
{
// ensure the output directory exists
if (!File.Directory.Exists)
{
File.Directory.Create();
File.Directory.Refresh();
}
// determine character encoding to use
Encoding encoding = (Encoding != null) ? Encoding :
Encoding.Default;
// write the message to the file
using (StreamWriter writer = new
StreamWriter(File.FullName, Append, encoding))
{
if (!StringUtils.IsNullOrEmpty(Message))
{
writer.WriteLine(Message);
}
else if (!StringUtils.IsNullOrEmpty(Contents))
{
writer.WriteLine(Contents);
}
else
{
writer.WriteLine();
}
}
}
catch (Exception ex)
{
throw new
BuildException(string.Format(CultureInfo.InvariantCulture,
"Failed to write message to file '{0}'.",
File.FullName),
Location, ex);
}
}
else
{ // output to build log
if (!StringUtils.IsNullOrEmpty(Message))
{
Log(MessageLevel, Message);
}
else if (!StringUtils.IsNullOrEmpty(Contents))
{
Log(MessageLevel, Contents);
}
else
{
Log(MessageLevel, string.Empty);
}
}
}
protected override void InitializeTask(XmlNode taskNode)
{
Contents = Project.ExpandProperties(taskNode.InnerText,
Location);
}
#endregion Override implementation of Task
}
public
nanta8ffab6f5b504284ad10ff98103e64db(NAnt.Core.Project project,
NAnt.Core.PropertyDictionary propDict) :
base(project, propDict) {
}
}
Total time: 3.1 seconds.
BUILD FAILED
Nested build failed. Refer to build log for exact reason.
Total time: 28410.8 seconds.
I could not get any hits regarding the error. so plz help me to complete the
build.
Thanks,
Ram
Stefan Küng wrote:
>
> SVram wrote:
>
>> I have installed visual studio 2005 and after setting the path and
>> changing
>> the default.build.user i just ran
>
> You need VS2008 with SP1. VS2005 is not enough.
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.net
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2417165
>
> To unsubscribe from this discussion, e-mail:
> [users-unsubscribe_at_tortoisesvn.tigris.org].
>
>
--
View this message in context: http://old.nabble.com/Build-Failed-while-Building-Tortoise-svn-in-windows-xp-tp26302579p26473057.html
Sent from the tortoisesvn - users mailing list archive at Nabble.com.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2423195
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-11-23 06:36:15 CET