This question already has answers here:
Importing multiple projects into eclipse
(2 answers)
Closed 8 years ago.
I have a folder called "MyProject" and inside it I have 10 folders that each of them is a Java project (contains .classpath and .project). I don't want to import them one by one. Is there a way to import folder "MyProject" and all nested ones?
I tried import>general>Existing project into workspace but it didn't work.
Also I checked the option search for nested projects but it didn't work as well. I checked this question but that is different from mine. In my case there is no parent project.
Even though I use the Eclipse, I haven't ever tried doing what you asked. So I'm just going to redirect you to this link and hopefully it will help you: Importing multiple projects into eclipse It's basically what you tried. Worked for me. When you choose a directory, you get a view of all the available projects and you just need to have checked those you want to import.
Related
This question already has answers here:
Difference between make and build in Android Studio
(3 answers)
Closed 6 years ago.
The Intellij idea in the build menu has Make Project and Build Project. what is difference between them?
You can get it on the Intelij site:
Make Project: All the source files in the entire project that have been modified since the last compilation are compiled. Dependent source files, if appropriate, are also compiled. Additionally, the tasks tied to the compilation or make process on modified sources are performed. For example, EJB validation is performed if the corresponding option is enabled on the Validation page.
Rebuild Project: All the source files in the project are recompiled. This may be necessary when the classpath entries have changed, for example, SDKs or libraries being used added, removed or altered.
This question already has answers here:
Force Intellij IDEA to reread all maven dependencies
(17 answers)
Closed 7 years ago.
I updated the version of library through the pom-file. During compilation all necessary jar for the new version were downloaded from a repository. But in IntellijIDEA the corresponding external libraries weren't updated. I removed in IDE these libraries manually, in hope that on their place will appear new, but occurred nothing (simply the project ceased to see library).
How to update external libraries?
Thanks in advance.
UPD:
The third-party library which is used from Maven means. Its use is adjusted through the pom-file. When it was declared, after the first compilation it was downloaded from a repository, and the corresponding external libraries were automatically added to IDE. The problem described above appeared after attempt of updating of library.
Just a right Click on the project: Maven->Reimport.
This question already has answers here:
Eclipse error: "The import XXX cannot be resolved"
(47 answers)
Closed 6 years ago.
Though I have all my source in proper packages.It couldn't find at the time of Building Project.Normally it shows links everything.But at the time of Build Project or Autobuild while directly running project.
The import ecnet.rd.config cannot be resolved
like it shows for all the internal imports.But external imports like imports from JAR files are working.
P.S :
My Eclipse latestly crashed but it was working well after that, Once again this kind of things are happening.
Please help to find the way to solve this.
In my experience, it is usual with Eclipse to have the build messed up. Make sure Build automatically is checked and Clean. If it doesn't work, restart Eclipse and do again.
Also as Tech Junkie comments below, try also Clean all projects.
I've seen this happen and another approach to take which is similar to m0skit0 solution (if you are using Eclipse) is to right click on the project, select maven, select update project, make sure clean projects and refresh workspace are checked, and hit ok.
After hours of struggle, creating a new Eclipse workspace, reimporting the projects and resetting up the same tomcat instance worked.
Probably the eclipse settings got messed up, and the deploy wasn't being done correctly anymore.
This question already has answers here:
IntelliJ IDEA 9/10, what folders to check into (or not check into) source control?
(7 answers)
Closed 10 years ago.
We have a small team using IntelliJ IDEA as Java IDE and manage our source code with git. The IDEA project was created as directory based format. I found some files under .idea are user related.
Is there a complete list of user-related files that I can filter out with .gitignore?
Please check the FAQ.
I also recommend checking other files you are going to share for the sensitive information. For example, new Android artifacts in IntelliJ IDEA 12 can contain keystore passwords (in encrypted form, but could be decrypted).
Your question is also a duplicate of these:
What to gitignore from the .idea folder?
Intellij Idea 9/10, what folders to check into (or not check into) source control?
How to deal with IntelliJ IDEA project files under Git source control constantly changing?
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Auto refresh eclipse project upon folder update
I have been working with Java projects using Eclipse (both Ganymede and Helios). I have noticed that when I generate a file, for instance if I create and write data to a text file, or if I serialize some objects, then although the file is visible if I search outside of eclipse (i.e. using windows explorer or the places on linux) it is not appearing in my project folder.
If I try and import this file into my project, then Eclipse tells me that I can't do this because the file is already in my project structure. So I have to move the file manually outside of this folder using windows explorer etc and then import it into the eclipse project before I can see it.
Is there a way to make these generated files appear automatically? What ias the reason they're not already doing so?
Thanks in advance
right click on the project -> refresh
or press F5
Refresh your Eclispe project (F5).
If you are writing those files programmatically, you might be interested in either Auto refresh as Beau suggested, or, if you can, switch to the Eclipse IO API if you wish tighter integration with Eclipse, which will directly take care of this.