Comments (11)
It seems to be git version related.
from tern.java.
@paulvi do you know how to resolve it?
from tern.java.
It seems to be only on Win 32x
On Win 64 it is OK.
No way to resolve, just to know (add to README?) that there are long names, that on Windows can run into this problem.
from tern.java.
Ok. I close this issue. Thank's to speak about this problem.
from tern.java.
I see the same error and I'm on win64. Windows msysgit just can't handle
the long file names. But here is how we can solve it, because I had to
solve it this way.
- don't check in the node files as a directory
- instead check in a node.js zip file that contains the contents of the
node/** directory - and then have some Plugin Activator code in the node bundles/fragments
that first checks for a directory under the bundle - if the directory doesn't exist, then unzip the contents of the zip
Then we can check in the files without any problem. You can see some
example of this type of code here:
https://github.com/liferay/liferay-ide/blob/master/tools/plugins/com.liferay.ide.alloy.core/src/com/liferay/ide/alloy/core/LautRunner.java
The class LautRunner will check for existence of "laut" directory under the
OS fragments. If the directory doesn't exist it will unzip it and return a
path to the executable.
But see the fragment is empty:
https://github.com/liferay/liferay-ide/tree/master/tools/plugins/com.liferay.laut.win32.win32.x86_64
what do you think?
On Thu, Apr 10, 2014 at 8:43 PM, Paul Verest [email protected]:
It seems to be only on Win 32x
On Win 64 it is OK.No way to resolve, just to know (add to README?) that there are long
names, that on Windows can run into this problem.Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-40073116
.
Greg Amerson
Liferay Developer Tools
Liferay, Inc. www.liferay.com
from tern.java.
Angelo, can we reopen to continue this discussion? I believe I may be able
to contribute this functionality, because this problem is hurting me at the
moment, I can't see those OS fragments. msysgit fails on checkout.
On Thu, Apr 10, 2014 at 8:52 PM, Greg Amerson
[email protected]:
I see the same error and I'm on win64. Windows msysgit just can't handle
the long file names. But here is how we can solve it, because I had to
solve it this way.
- don't check in the node files as a directory
- instead check in a node.js zip file that contains the contents of the
node/** directory- and then have some Plugin Activator code in the node bundles/fragments
that first checks for a directory under the bundle- if the directory doesn't exist, then unzip the contents of the zip
Then we can check in the files without any problem. You can see some
example of this type of code here:The class LautRunner will check for existence of "laut" directory under
the OS fragments. If the directory doesn't exist it will unzip it and
return a path to the executable.But see the fragment is empty:
https://github.com/liferay/liferay-ide/tree/master/tools/plugins/com.liferay.laut.win32.win32.x86_64
what do you think?
On Thu, Apr 10, 2014 at 8:43 PM, Paul Verest [email protected]:
It seems to be only on Win 32x
On Win 64 it is OK.No way to resolve, just to know (add to README?) that there are long
names, that on Windows can run into this problem.Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-40073116
.Greg Amerson
Liferay Developer Tools
Liferay, Inc. www.liferay.com
Greg Amerson
Liferay Developer Tools
Liferay, Inc. www.liferay.com
from tern.java.
@gamerson I think that solution with .zip file should be open as new issue.
Other solution could be handling npm modules on runtime with npm
or some alternative, i.e. not package them.
from tern.java.
Agree, if Angelo would rather not host node all together that could be an option. If node is still going to be embedded, I would like to pursue the zip option.
from tern.java.
I don't understand you rproblem, today we use zip file.
from tern.java.
@natasha544 Please raise new issue
from tern.java.
I recommend LongPathTool, Please try.
from tern.java.
Related Issues (20)
- java.lang.RuntimeException: java.lang.NullPointerException HOT 6
- Errors when selecting some JS modules in project properties
- No type hinting
- Trouble installing Tern 1.2.0 and 1.3.0 Snapshot on Eclipse Luna HOT 1
- Tern IDE not working with Spring's STS HOT 4
- Unable to install with eclipse neon.3 HOT 6
- Feature request: async/await support HOT 5
- how to remove the function reference of the content assist?
- Upgrade to tern 0.21
- The console does not appear in the Tern project property, HOT 1
- NullPointerException TernOutlineContentProvider.java:182 HOT 3
- How about embed the latest version of node.js?
- latest ESLint support. HOT 3
- Support for navigator.getUserMedia HOT 1
- “Error while launching client file ,Cannot find node install path node-native” wrt protractor in eclipse
- Error why installing tern eclipse plugin in eclipse photon
- nodeclipse auto-complete not working on installed packages (aws-sdk) // Tern.java?
- Can't install Tern Eclipse IDE on Eclipse 4.10
- add react module HOT 1
- tern of eclipse not dose work that calculating completion proposals… HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tern.java.