Comments (9)
If I do File>Import I cannot see "existing angular project", like with gradle or maven. If I have an existing project how the import is done?
from angular-eclipse.
Not sure why this is closed !
This does not answer the OP question. I am having the same requirements.
How do I import an existing Angular2 project created by another tool into eclipse as "Angular2 project" ?
from angular-eclipse.
I'm sorry but I don't understand very well your problem?
It would be nice, if I can import a previously created Angular2-eclipse project
You can do that today, no? What is your problem?
from angular-eclipse.
Sorry, I wasn't enough clear and maybe mixed 2 things:
1: I created a new Angular2 project, then I removed from the eclipse workspace and I searched the open project at wrong place: I tried File->Import instead of File -> Open project. So this part is fine.
2: After I created a new Angular2 project I added to git and ignored .project file. Then deleted project a from local and pulled it again from git repo. This is my real problem: I can't find any feature called like 'new Angular2 project with existing source code', so I created a new Angular2 project in the same folder. This triggered an unwanted 'ng init' command and I had to stopped the process manually. Instead of this it could be more useful if the project wizard optionally calls 'npm update' to get all dependencies.
I hope, this is enough clear now.
from angular-eclipse.
After I created a new Angular2 project I added to git and ignored .project file
Why? If you do that you will have problem too with Java project, or other project kind.
I can't find any feature called like 'new Angular2 project with existing source code'
If you use Import / Git / Project from Git, it will create an empty .project after import. The only thing that you will loose is the TypeScript Builder, otherwise it will work since Angular2 Eclipse, TypeScript IDE doesn't use Eclipse nature.
from angular-eclipse.
@Plutoz01 is my answer help you?
from angular-eclipse.
None answer, I close this issue. Please reopen if you have some other problems.
from angular-eclipse.
I simply opened the project in eclipse. It worked. File-->Open Projects from File System
from angular-eclipse.
Using Open Projects will result in the project imported being closed and unable to be opened.
This is due to lack of .project files.
The reason to ignore .project related files, is because of people that follow a pattern to make code ide agnostic.
With a java project this is resolved by using maven, which would be used to generate .project etc.
But there's no solution like with importing angular projects.
So when importing bulk angular projects (that dont contain ide dependant configuration files), for each project you have to create a new project that links to the content. This is cumbersome.
So yes the sane solution to this is to for each project go and create eclipse .project files and make the project ide dependant.
Which breaks the pattern.
Previously, the solution could be to use angular ide, which now is not recommended and deprecated.
And so that leaves the cumbersome solution, or the pattern breaking one.
(necro becuse it's what comes up)
from angular-eclipse.
Related Issues (20)
- ng command not recognized in eclipse preference HOT 43
- can't install HOT 1
- Angular template editor doesn't work on linux HOT 3
- Getting [ts] errors on all of my HTML files HOT 5
- Add to workspace Angular Project downloaded from repository HOT 6
- Files and folders in project get locked
- Workspace build hangs at 66% HOT 1
- ng new not working with latest cli
- ng serve using wrong node/npm version
- Not able to create a new project HOT 8
- Eclipse update site not working HOT 2
- Files are deleted when switching to another GIT branch
- Not able to create project in linux with 1.3.0 version of angular plugin
- Create Angular project not initializing anything but metadata HOT 3
- Contributor guide HOT 4
- after plugin installed, no angular wizard available
- Getting started is not enough HOT 4
- got a software not signed error
- Unable to build project after Angular install HOT 3
- angular-cli doesn't work with ngWizards -> Location doesn't belong to an @angular/cli project. HOT 1
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 angular-eclipse.