NPanday has moved!

NOW AT: http://incubator.apache.org/npanday

 

Documentation for Version 1.2.1

Documentation of the previous version 1.2.x can be found at http://incubator.apache.org/npanday/docs/1.2/index.html.

Last edited May 26, 2011 at 8:55 AM by larscorneliussen, version 7

Comments

rodrigol Dec 9, 2010 at 6:31 PM 
I have built a C# console aplication but when I press npanday install in the vs add-in
i have this issue in the output.
This console aplication uses 3 class library in dependency. I add the dependency Using Add Maven Artifact in the Npanday VS add in

ConsoleAplication1 depends ClassLibrary3
ClassLibrary3 depends ClassLibrary2
ClassLibrary2 depends ClassLibrary1

Dec 9, 2010 4:30:08 PM npanday.registry.ConnectionsRepository lazyLoad
INFO: NPANDAY-080-001: Adding data access object: Class Name = npanday.dao.impl.ProjectDaoImpl
Dec 9, 2010 4:30:08 PM npanday.registry.ConnectionsRepository lazyLoad
INFO: NPANDAY-080-004: Connection Start Up: Time = 16
Dec 9, 2010 4:30:08 PM info.aduna.lang.service.ServiceRegistry <init>
INFO: Registered service class org.openrdf.query.parser.serql.SeRQLParserFactory
Dec 9, 2010 4:30:08 PM info.aduna.lang.service.ServiceRegistry <init>
INFO: Registered service class org.openrdf.query.parser.sparql.SPARQLParserFactory
Dec 9, 2010 4:30:08 PM npanday.repository.impl.RepositoryConverterImpl convertRepositoryFormatFor
INFO: NPANDAY-190-002: Converting Project: Artifact ID = ConsoleApplication1, Dependency Count =1
[INFO] [install:install {execution: default-install}]
Dec 9, 2010 4:30:09 PM npanday.registry.ConnectionsRepository lazyLoad
INFO: NPANDAY-080-001: Adding data access object: Class Name = npanday.dao.impl.ProjectDaoImpl
Dec 9, 2010 4:30:09 PM npanday.registry.ConnectionsRepository lazyLoad
INFO: NPANDAY-080-004: Connection Start Up: Time = 47
[INFO] NPANDAY-001-007: Installing file into repository: File = C:\Users\rliberal\Documents\Visual Studio 2008\Projects\ConsoleApplication1\ConsoleApplication1\target\ConsoleApplication1.exe, Dest Directory = C:\Users\rliberal\.m2\uac\gac_msil\ConsoleApplication1\1.0-SNAPSHOT__.ConsoleApplication1
Dec 9, 2010 4:30:09 PM npanday.dao.impl.ProjectDaoImpl storeProjectAndResolveDependencies
INFO: NPANDAY-180-012: Resolving artifact for unresolved dependency: .ClassLibrary3:ClassLibrary3:dotnet-library:1.0-SNAPSHOT
Dec 9, 2010 4:30:09 PM npanday.dao.impl.ProjectDaoImpl storeProjectAndResolveDependencies
INFO: NPANDAY-180-024: resolving pom artifact: .ClassLibrary3:ClassLibrary3:pom:1.0-SNAPSHOT
Dec 9, 2010 4:30:09 PM npanday.dao.impl.ProjectDaoImpl storeProjectAndResolveDependencies
INFO: NPANDAY-180-018: Not found in UAC, now retrieving artifact from wagon:.ClassLibrary3:ClassLibrary3:dotnet-library:1.0-SNAPSHOT, Failed UAC Path Check = C:\Users\rliberal\.m2\uac\gac_msil\ClassLibrary3\1.0-SNAPSHOT__.ClassLibrary3\ClassLibrary3.dll
Dec 9, 2010 4:30:09 PM npanday.dao.impl.ProjectDaoImpl storeProjectAndResolveDependencies
INFO: NPANDAY-180-012: Resolving artifact for unresolved dependency: .ClassLibrary2:ClassLibrary2:dotnet-library:1.0-SNAPSHOT
Dec 9, 2010 4:30:09 PM npanday.dao.impl.ProjectDaoImpl storeProjectAndResolveDependencies
INFO: NPANDAY-180-024: resolving pom artifact: .ClassLibrary2:ClassLibrary2:pom:1.0-SNAPSHOT
Dec 9, 2010 4:30:09 PM npanday.dao.impl.ProjectDaoImpl storeProjectAndResolveDependencies
INFO: NPANDAY-180-018: Not found in UAC, now retrieving artifact from wagon:.ClassLibrary2:ClassLibrary2:dotnet-library:1.0-SNAPSHOT, Failed UAC Path Check = C:\Users\rliberal\.m2\uac\gac_msil\ClassLibrary2\1.0-SNAPSHOT__.ClassLibrary2\ClassLibrary2.dll
Dec 9, 2010 4:30:09 PM npanday.dao.impl.ProjectDaoImpl storeProjectAndResolveDependencies
INFO: NPANDAY-180-012: Resolving artifact for unresolved dependency: .ClassLibrary1:ClassLibrary1:dotnet-library:1.0-SNAPSHOT
Dec 9, 2010 4:30:09 PM npanday.dao.impl.ProjectDaoImpl storeProjectAndResolveDependencies
INFO: NPANDAY-180-024: resolving pom artifact: .ClassLibrary1:ClassLibrary1:pom:1.0-SNAPSHOT
Dec 9, 2010 4:30:09 PM npanday.dao.impl.ProjectDaoImpl storeProjectAndResolveDependencies
INFO: NPANDAY-180-018: Not found in UAC, now retrieving artifact from wagon:.ClassLibrary1:ClassLibrary1:dotnet-library:1.0-SNAPSHOT, Failed UAC Path Check = C:\Users\rliberal\.m2\uac\gac_msil\ClassLibrary1\1.0-SNAPSHOT__.ClassLibrary1\ClassLibrary1.dll
NPANDAY-001-316: Unable to delete temp bin directory:
Error Stack Trace: File C:\Users\rliberal\Documents\Visual Studio 2008\Projects\ConsoleApplication1\ConsoleApplication1\bin\Debug\ConsoleApplication1.vshost.exe unable to be deleted.


The execution is successful

But when I execute the proyect
In execution time couldn't find ClassLibrary2
And this generates a run time error

I have built a C# console aplication but when I press npanday install in the vs add-in
i have this issue in the output.
This console aplication uses 3 class library in dependency.

ConsoleAplication1 depends ClassLibrary3
ClassLibrary3 depends ClassLibrary2
ClassLibrary2 depends ClassLibrary1


The execution is successful

But when I execute the proyect
In execution time couldn't find ClassLibrary2
And this generates a run time error

ConsoleAplication1 solution

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
ClassLibrary3.Class1 a = new ClassLibrary3.Class1();
Console.WriteLine(a.cadena);
}
}
}

ClassLibrary3 solution

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClassLibrary3
{
public class Class1
{
ClassLibrary2.Class1 a = new ClassLibrary2.Class1();
public string cadena;
public Class1()
{
cadena = "Lib3 - " + a.cadena;
}
}
}


ClassLibrary2 solution

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClassLibrary2
{
public class Class1
{
public String cadena = "LIB 2";
public string getCadena()
{
return this.cadena;
}

}
}


Solution ClassLibrary1

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClassLibrary1
{
public class Class1
{
int n = 1;
}
}



May be recursive dependency in execution time don't work in NPanday ?

I need an answer to solve this problem.

Thanks.