Path too long error when trying to run Java/Eclipse app on azure emulator -


I have a Java web application, which I try to use Eclairs and Ezur SDK and Eclipse plugins on Azure . Now when I try to run an application in the esior emulator. I get the following dangerous error:

  [windowsazurepackage] cspack.exe: Error: The specified path, file name or both are too long I must have a fully qualified file name less than 260 characters, And the name of the directory should be less than 248 characters.   

I am using Glassfish 3 and Java 1.7 JDK. I have tried to fund the folder, so this is as low as possible. But nothing seems to help, it seems that the glassfish or Java SDK is a result of very deep folders. I am surprised that MS has not solved it in 2013!

The following question seems the same. But the answers given are not helping, and I do not know how to give the original question in mind.

Respond to Martin Savki's comment, log in it. And as you can see that the path I am using is very little. I also tried to make a presentation, and used another drive for projects, but then plugin bombs with a NullPointer exception.

Buildfile: C: \ A \ azr \ package.xml checkResetScript: resetEmulator: Createwapackage: [Step] WARNING: Unable to copy file C: \ A \ azr \ dy [MKDIR] Created DIR: C: \ A \ Ezr \ D [WindowsZurpackage] Verified attributes [Windowsazurepackage] role "wrol1": Atost "C: \ A \ EZ" wrol1 \ approot "[windowsazurepackage] roll" wrol1 ": importing component Confirm ... [windowsazurepackage] Imported as "jdk1.7.0_17" as "c: \ program files \ java \ jdk1.7.0_17" [windowsazurepackage] "C: \ Glassfish3 \ glassfishv3" as "glassfishv3" Import [Windowsazurepackage] "OW-MobileClient-QNH.war" role from "C: \ A \" role "wrol1": Component component deployment script ... [windowsazurepackage] role "wrol1": built-in startup script [lazy] windowsazurepackage] Initial Package Generation ... [windowsazurepackage] executed '' C: \ Program Files \ Microsoft SDKs \ Windows Azure \ .NET SDK \ 2012-10 \ bin \ cspack.exe "" C: \ a \ azr \ ServiceDefinition Csdef "/ Role: wrol1; "C: \ A \ azr \ wrol1 \ approot" / out: "C: \ AAZRADO window package. Cspkg" ... [windowsazurepackage] process began [windowsazurepackage] windows (r) blue (TM) ) G-Tools version 1.8.0.0 for packagine Microsoft (R) [WindowsZurpackage] .NET Framework 3.5 [WindowsZurpackage] Copyright (C) Microsoft Corporation. All rights reserved. [Windowsazurepackage] C: \ a \ azr \ ServiceDefinition.csdef: Warning CloudServices040: The 'Schemvarsian' attribute is unspecified. Please set the attribute to avoid this warning [Windowsazurepackage] cspack.exe: Error: The specified path, file name, or both are too long The fully qualified file name must be less than 260 characters, and the name of the directory is 248 characters Should be low. [Windowsazurepackage] Waiting for the exit process.

Unfortunately, As you suspect, the length of the old path of that age is running in Windows

The interesting thing is that if you deploy it on the cloud, even after working in the emulator, Can work fine in This is because this cloud, your contact directory (where your payload is kept by default) is only e: \ eht but on your local computer, there are probably many directories in your Eclipse project, and then there are many more Ezur SDK builds for your emulator deployment, and then the Glassfish folder structure and file name are very deep, so it is easy to hit inside A file whose effective path is just too long (& gt; 260 characters).

Glassfish have ways of working with the Eclipse plugin in Windows Azure emulator - this is something like this

So if you are seeing this issue despite all this, then I think I am living in a different way about your glassfish project, where I do not have this problem. This is what I am doing:

a) I have a Windows Azure deployment project in my Eclipse workspace, and the effective way of my project is: c: \ abcde \ fghi \ MyAzureProject (length it Important)

b) When I created this project, in Project Wizard, on the Server tab, I chose my unzipped glassfish installation, which: C: \ abcde \ fghijklmopqr \ glassfish3 , How do I know the glassfish place of the eclipse plugin I depend on the husband's)

c) then I would just click Ride the emulator, and everything is fine.

If you are doing exactly that, but the project path of your Eclipse is longer than the quarry (C: \ abcde \ fghi \ MyAzureProject --- 27 characters), then see the length of your total planet Below the length, you have to save your eclipse project.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -