Comments (11)
Try enable the builder:
- Right-click on a project containing TypeScript files
- Select Configure->Enable TypeScript Builder
from eclipse-typescript.
Hi,
the point is that there is no "Enable TypeScript Builder" in the configure menu.
Anyway, I've downloaded and compiled the code and I've found out what's the problem: the plugin assumes a Java 1.7 environment and I'm running under 1.6.
I've modified the plugin descriptors, recompiled and run the plugin in debug mode. In the test eclipse that is launched I can the see the configure option and I'm able to edit ts files (while before it was complaining for the java version and for .class version incompatibilities).
I've then run the maven clean install in order to generate the repository, and installed the plugin from the generated repository in my normal eclipse, but the result is still the same: the plugin is listed as installed but no plugin feature is active. There is no binding for ts files, nor the option to enable or activate the TypeScript builder. The error log is clean.
from eclipse-typescript.
I've also started the plugin in debug mode against my usual eclipse workspace, and in that case the plugin works as expected (more or less). However, if I start a normal eclipse instance against the same workspace, the plugin is disabled.
from eclipse-typescript.
It looks like I was generating the update site using the same build number (as I did not commit the change and the build number is taken from git history). Once I made the commit, republished the repository and re-installed, it started to work as expected. I now see the configure option in my normal eclipse and I'm able to edit ts files.
So, it seems the plugin work fine under Java 1.6, it only needs a small change to the manifest file in order to reduce the java platform version requirements.
from eclipse-typescript.
I suspect the code currently works under java 6 because we aren't using any java 7 specific library features (such as the Objects class introduced in java 7). However, we may not be so careful in the future. Do you know why your eclipse doesn't use java 7? Is java 7 installed? We targeted java 7 because java 6 is now out of public support so its becoming a bit of a security liability for our developers to keep it installed on their machines since public patches are no longer being delivered.
from eclipse-typescript.
It uses Java 6 'cos we have to use that version for our projects, as we depend on libraries that don't work under Java 7. And for simplicity we run eclipse as well under Java 6 (instead of having to install two JVM on each developer machine). I get your point, anyway, although I believe Java 6 is still quite widespread in enterprise environments.
Why don't you reduce the dependency to Java 6 until you need any Java 7 specific feature? Or, in any case, at least put a notice with the java version requirement in the documentation.
from eclipse-typescript.
I think we'll just reduce the version requirement: I suspect that many organizations are still on java 6. We tried java 7 optimistically (hoping most groups using typescript would be on more recent versions of java) but since its already causing issues I think the prudent thing to do is just relax the requirements.
from eclipse-typescript.
A new release should be up shortly (within 5 minutes assuming our build system didn't run out of space again), please let me know if it works in your Java 6 environment.
from eclipse-typescript.
Ok, the new release should be up now.
from eclipse-typescript.
It looks like it is working fine now. Thanks.
R.
from eclipse-typescript.
Cool, thanks for the thorough diagnosis in your bug report - it made the fix super simple.
from eclipse-typescript.
Related Issues (20)
- NodeJS custom location
- VCLJSTeam.VCLJS Traduzir esta página
- TypeScript 2.1 update break ContentAssist
- support glob in tsconfig
- Missing actual install step in "Installation" section HOT 1
- Use tsconfig option conflict with compiler project specific.
- Error using moduleResolution = 'node' in tsconfig file HOT 1
- tsconfig supports *.js files but fails in plugin HOT 4
- Upgrade to TypeScript 2.1.5 HOT 13
- Can provide options to ignore such errors:Cannot find module 'xxxx' HOT 1
- Installing Typescript Plugin from a JAR file (for air-gapped networks)
- Compiling all workspace when saving a ts file HOT 1
- Settings not availabe HOT 4
- IllegalStateException: The node process has crashed. HOT 2
- Error Occured while Building Workspace for using TypeScript HOT 1
- Cannot add Eclipse TypeScript Plug-in to Eclipse HOT 1
- NullPointerException PresentationReconciler.getDamagedRegion(PresentationReconciler.java:132) HOT 3
- Update Eclipse installation site HOT 2
- Eclipse Plugin Update Site Not Found HOT 3
- eclipse_typescript的更新站点已经无法使用了,请帮忙解决,我们需要新的可用插件下载安装地址
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 eclipse-typescript.