|
|
Hi,
i've a problem on installation of addin (9.5 release + repository). After setup and opening VS2005 or 2008 i don't see plugin features in my envinroment. I see only the item about NPanday in Tools--> Add in manager..enabled but nothing else.
I've sdk2.0+,Maven on WinXP. please help me.
No error on installation . No error on VS running. It appear installaed succesffull.
Thanks in advance.
Raffaele Picardi
IT.
|
|
|
Coordinator
Feb 3, 2009 at 8:22 AM
|
Hi,
I would recommend that you try the 0.9.6 Release Candidate 6. Unfortunately the installer for this version has not yet been created.
you can install by checking out the code https://npanday.svn.codeplex.com/svn/tags/npanday_0_9_6_RC6
then run on the directory where you checked out the source code:
bootstrap-build.bat -DrdfProfile.none -DVisualStudio2005
after that run:
mvn npanday.plugin:maven-vsinstaller-plugin:0.9.6-RC6:install
|
|
|
|
|
Thanks for your feedback. I've performed your operations and at last i receive:
> mvn npanday.plugin:maven-vsinstaller-plugin:0.9.6-RC6:install
...
[INFO] ------------------------------------------------------------------------
[INFO] Building npanday-project
[INFO] task-segment: [npanday.plugin:maven-vsinstaller-plugin:0.9.6-RC6:insta
ll]
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/npanday/plugin/maven-vsinstaller-plug
in/0.9.6-RC6/maven-vsinstaller-plugin-0.9.6-RC6.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check that t
he goal name is correct: Unable to download the artifact from any repository
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=npanday.plugin -DartifactId=maven-vsinsta
ller-plugin -Dversion=0.9.6-RC6 -Dpackaging=maven-plugin -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=npanday.plugin -DartifactId=maven-vsinstall
er-plugin -Dversion=0.9.6-RC6 -Dpackaging=maven-plugin -Dfile=/path/to/file -Dur
l=[url] -DrepositoryId=[id]
npanday.plugin:maven-vsinstaller-plugin:maven-plugin:0.9.6-RC6
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
org.apache (http://people.apache.org/repo/m2-snapshot-repository)
npanday.plugin:maven-vsinstaller-plugin:maven-plugin:0.9.6-RC6
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
org.apache (http://people.apache.org/repo/m2-snapshot-repository)
Thanks in advance.
|
|
|
Editor
Feb 3, 2009 at 2:49 PM
|
hi rpicardi,
try executing a "mvn clean install" first.
then the
bootstrap-build.bat -DrdfProfile.none -DVisualStudio2005
after that run:
mvn npanday.plugin:maven-vsinstaller-plugin:0.9.6-RC6:install
this is because the source code has 0.9.6-RC6 in all of the artifactId.
performing a mvn clean install will add the 0.9.6-RC6 artifacts in your local repo and maven don't have to download it anymore.
hope this helps.
-Shein
|
|
|
|
|
ok. just now..i receive this error on missing artifact
mvn clean install
Path to dependency:
1) npanday:dotnet-registry:jar:0.9.6-RC6
2) org.openrdf:openrdf-repository-api:jar:2.0-beta5
----------
3 required artifacts are missing.
for artifact:
npanday:dotnet-registry:jar:0.9.6-RC6
from the specified remote repositories:
codehaus-snapshot-repo (http://snapshots.repository.codehaus.org),
central (http://repo1.maven.org/maven2),
org.apache (http://people.apache.org/repo/m2-snapshot-repository),
apache.org (http://people.apache.org/repo/m2-snapshot-repository)
|
|
|
|
|
i've resolved adding open rdf repository but now on mvn clean install i receive
com.thoughtworks.qdox.parser.ParseException: syntax error @[34,26] in file:/C:/N
Panday/plugins/netplugins/NPanday.Plugin.Addin/javabinding/src/main/java/NPanday
/Plugin/Addin/AutomationExtensibilityMojo.java
at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:716)
at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:826)
at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:697)
at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:30
0)
at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:31
6)
at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:31
2)
at com.thoughtworks.qdox.JavaDocBuilder$1.visitFile(JavaDocBuilder.java:
369)
at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(Directory
Scanner.java:43)
at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(Directory
Scanner.java:34)
at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(Directory
Scanner.java:34)
at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(Directory
Scanner.java:34)
at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(Directory
Scanner.java:34)
at com.thoughtworks.qdox.directorywalker.DirectoryScanner.scan(Directory
Scanner.java:52)
at com.thoughtworks.qdox.JavaDocBuilder.addSourceTree(JavaDocBuilder.jav
a:366)
at org.apache.maven.tools.plugin.extractor.java.JavaMojoDescriptorExtrac
tor.discoverClasses(JavaMojoDescriptorExtractor.java:605)
at org.apache.maven.tools.plugin.extractor.java.JavaMojoDescriptorExtrac
tor.execute(JavaMojoDescriptorExtractor.java:572)
at org.apache.maven.tools.plugin.scanner.DefaultMojoScanner.populatePlug
inDescriptor(DefaultMojoScanner.java:96)
at org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(Abstract
GeneratorMojo.java:146)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:447)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:539)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:480)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:459)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 minutes 51 seconds
[INFO] Finished at: Tue Feb 03 19:13:54 CET 2009
[INFO] Final Memory: 31M/60M
[INFO] ------------------------------------------------------------------------
|
|
|
|
|
fixed qdox parser error switching from maven 2.0.8 to 2.0.9 .
just now...i've another error after the following operation:
0)checking out the code https://npanday.svn.codeplex.com/svn/tags/npanday_0_9_6_RC6 to c:\npanday
OK
1) c:\npanday\ mvn clean install
OK
2) c:\npanday\components\ mvn clean instal
OK (does it need?)
3) bootstrap-build.bat -DrdfProfile.none -DVisualStudio2005
ERROR:
Embedded error: NPANDAY-070-000: Execution Path = unknown, Command = [C:\NPanday
\assemblies\NPanday.Model\Pom\Pom.xsd, /o:C:\NPanday\assemblies\NPanday.Model\Po
m\target\build-sources, /classes, /language:CS, /namespace:NPanday.Model.Pom]
NPANDAY-040-001: Could not execute: Command = CMD.EXE /X /C xsd C:\NPanday\assem
blies\NPanday.Model\Pom\Pom.xsd /o:C:\NPanday\assemblies\NPanday.Model\Pom\targe
t\build-sources /classes /language:CS /namespace:NPanday.Model.Pom, Result = 1
....
..
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] NPANDAY-1700-009: Message = NPANDAY-180-020: Problem in resolving artifac
t: Assembly Artifact Id = NPanday.Plugin, Type = library, Local Path Check = C:\
Documents and Settings\rpicardi\.m2\uac\gac_msil\NPanday.Plugin\0.9.6-RC6__NPand
ay.Plugin\NPanday.Plugin.dll, Message = Unable to download the artifact from any
repository
4)TODO: mvn npanday.plugin:maven-vsinstaller-plugin:0.9.6-RC6:install
sorry... i don't know if it depends on my environment.
thanks in advance for your support.
env: win xp, jdk1.5,maven 2.0.9
|
|
|
|
|
Make sure that you have the path to the SDK under Visual Studio 8 or 9 in your path. You should see a program called xsd.exe in that directory. Hope that fixes your issue.
|
|
|
|
|
thanks..
i've added on PATH env var csc.exe e xsd.exe path related to VS sdk.
Just now:
0)checking out the code https://npanday.svn.codeplex.com/svn/tags/npanday_0_9_6_RC6 to c:\npanday
OK
1) c:\npanday\ mvn clean install
OK
2) c:\npanday\components\ mvn clean instal
OK (does it need?)
3) bootstrap-build.bat -DrdfProfile.none -DVisualStudio2005
OK
4) mvn npanday.plugin:maven-vsinstaller-plugin:0.9.6-RC6:install
OK
but...
5) Open VS2005
-----> i don't see in Add In Manger new Plugin as i see it if directly i install exe setup of 9.5 .
|
|
|
|
|
I ran into this last night. Check your My Documents folder for each version of Visual Studio you have installed. Make sure there is an "Addins" folder there. If not, create it and run the mvn npanday.... line again.
Hope that helps
|
|
|
|
|
ok..so..The folder is just created because i hava installed AndroMDA plugin. But the new file for this Npanday addin there isn't. I've used the 0.95 installer in order to create it and after i edited it changing assembly file to 0.96 dll path generated
in my repository at mvn npanday....installer 096 time.
Visual studio 2005 run successfullly.Plugin is in Add-in manager tools enabled...but i don't understand where i find its features on ide.
thanks in advance...
i'll wait any help again :(
|
|
|
Developer
Feb 4, 2009 at 7:50 PM
|
> Visual studio 2005 run successfullly.Plugin is in Add-in manager tools enabled...but i don't understand where i find its features on ide.
First, start the Addin with: Tools -> NPanday Build System
After that, you should see new options if you right-click a project in the Solution Explorer.
HTH,
--
Wendy
|
|
|
|
|
i don't see this item. please i've updated some screenshot here in a
Google doc public
thanks for you support
|
|
|
|
|
Open your project in Visual Studio. Then go to the tools menu. Start the nPanday Addin. Then right click on the name of your project. You should see nPanday menu options there.
|
|
|
Coordinator
Feb 5, 2009 at 1:15 AM
|
Hi rpicardi,
Unfortunately NPanday's current implementation of adding the commands supports only english Visual Studio.
If you can use the english version of VS2005 then you should see the commands with a right click over the project after the NPanday is started.
We could also place this in our roadmap that we could support other languages of VS by using a resource file that would have the equivalent commands that are used in english Visual Studio.
Hoping you could try NPanday,
Joe
|
|
|
Editor
Feb 5, 2009 at 1:18 AM
|
rpicardi,
as soon as i saw your screenshots i realized that your not using an english(us) version of VS. this is what causing the problem.
as of now we are not supporting other languages.
but this may be a step forward in the npanday, can you help us with the translation.
this might be better in another discussion thread.
as for now, you'll be able to install npanday, if you changed your VS to use english.
-Shein
|
|
|
|
|
Yes,sure.
I'm glad to contribute with this traslation (italian) ... I will open another thread and I will wait for your feedback about the codeline to start the work.
JUst now...i'll try to an english version of VS2005 and i 'll post last comment if everything will be fine.
Thanks again for your fantastic support :)
|
|
|
|
|
Ok. i 've installed English version and NPanday 0.95 installer . It's run succesfully.
Thanks again.
|
|