How to use likes to manage plugins in FDT? - eclipse

FDT URL: http://fdt.powerflasher.com/
I want to manage my plugins in FDT. Because FDT is build on eclipse. I try to add links folder.It work in eclipse. But don't work in FDT. Anyone can help?

Right cLick your AS3 project you want a linked folder for
Choose New/Other
Select now General/Folderand hit next.
CLick Advanced
Select "Link to alternate location (Linked Folder)"
Browser your folder to link to
Type the name of the folder in text field "Folder name:"
Hit finish.

Related

Hadoop Documentation for Eclipse

I recently installed Hadoop and am able to run simple programs.
However I would like to view documentation for Hadoop classes within Javadoc browser in Eclipse.
Please let me know how to enable that (I am a little novice with Eclipse IDE).
Thanks.
A couple of suggestions:
If you're using maven for your dependency management, you should be able to expand out the list of Maven dependencies in your Eclipse project, right click the hadoop-core-x.x.x.jar and select Maven -> Download Javadocs
Otherwise you'll need to source the Javadocs from the $HADOOP_HOME/docs/api folder and associated with your hadoop-core-x.x.x.jar in Eclipse. In Eclipse, right click your Java project and select Build Path -> Configure Build Path. Now click the Libraries tab and locate the entry for hadoop-core-x.x.x.jar. Expand the entry to show options for Source, Javadoc etc locations and click the Javadoc location entry. Now click the Edit button to the right and enter the location as the path $HADOOP_HOME/docs/api in the Javadoc URL text box (mine is file:/opt/hadoop/hadoop-1.0.2/docs/api/)
Either way now you should be able to hover over Hadoop classes in Eclipse and the Javadoc will popup. You can also show the Javadoc window that will populate for the class you are currently viewing, or just open an internal browser window and point it at the $HADOOP_HOME/docs/api/index.html file
Another easy solution for those who want to stay updated is to edit the Javadocs path like Chris said:
"In Eclipse, right click your Java project and select Build Path -> Configure Build Path. Now click the Libraries tab and locate the entry for hadoop-core-x.x.x.jar. Expand the entry to show options for Source, Javadoc etc locations and click the Javadoc location entry. Now click the Edit button to the right and enter the location as the path"
but instead of linking it directly to the api you have stored on your hard disk, link it to http://hadoop.apache.org/docs/stable/api/

m2eclipse, subclipse - Checking out web application

In the SVN repository browser I can right click on 'trunk' which gives me the option to 'checkout as maven project'. I have two problems:
When it checks out the project, it is giving it the directory structure mavenxxxx > trunk > src. How do I configure this so it is MyProjectName > src and skip the trunk folder and only check out it's contents?
When I check out my project it appears as a java project when I want it to be a web application project, is it supposed to be picking up that it is a web application from my pom file, or do I have to follow any other additional steps to configure it?
Thanks
Check Out From SVN
It sounds like you are not selecting the "trunk" folder when you checkout your project. If your project name is Mavenxxxx and you select 'Mavenxxxx" when you check out, then you will get see the behavior you've described.
In your post, you said you did, in fact, right-click on "trunk." So I would suggest checking out your project another way. Try this:
File > New > Other...
Type "SVN"
Select "Project from SVN"
Click "Next" then choose/create your repository and click "Next"
Click Browse... and navigate to your project
Highlight the "trunk" folder and click "Ok" then click "Finish"
In the popup window, choose "Check out project with the name specified"
Click "Finish"
If that doesn't work, then there must be folder at the root level of your project named "trunk." As in Mavenxxxx > trunk > trunk.
Enable Web Application Project
To answer your question:
...is it supposed to be picking up that it is a web application from my
pom file, or do I have to follow any other additional steps to
configure it?
What you are trying to do is change the nature of your project. That can't be done from the POM file.
Instead, right click your project, go to the "Project Facets" section.
That is where you should be able to set it as a web application project.
If you see a link that says, "convert to faceted form..." then do that. Next, choose the facet related to WebApps. I don't have my eclipse setup for Web Application projects so I can't tell you the exact wording that you'll see. I think you need the Eclipse IDE for Java Developers to see that and I have the J2EE version.
I hope that helps...
You mentioned that you're using Subclipse, I highly recommend using Subversive SVN Team Provider over Subclipse. gmale's instructions should work from that point on.

Is there an equivalent of "Add existing file" (to project) in Eclipse?

I am trying to map my Visual Studio experience onto Eclipse. Right now, I wish to add a file existing somewhere on the file system into a project in Eclipse. I expect it to be copied to the project source folder.
Currently, I see only one way - switch to the windows explorer (total commander, in my case) and copy the file myself, after which to refresh the project.
Can I do the same without leaving the Eclipse IDE?
Thanks.
I had the same problem, but found yet another solution.
Let me state my problem so that we're sure we're talking about the same thing.
I had a file in a directory where a bunch of code files were and some of the files in that directory were shown as "in my project" and some of the files were missing. I wanted the missing files to appear in my project.
I simply selected the folder in my project and pressed 'F5' or right-clicked and selected 'refresh' and the files appeared in my project. It looks like that is the intended way of doing this.
File->Import->General->File System should do it.
There you can select the file(s) from some file system folder to your project (into folder).
Even easier. Just drag and drop the file from explorer into the correct package in Eclipse. It will ask you if you want to copy or link the file(s).
I am a newbie to Eclipse Luna (the 64 bit latest version on Windows 7) but this worked for me:
Copy the preexisting source files you which add to your project.
In Project Explorer, right click your project and select New > File
In the "New File" dialog box, your project's name / folder should be displayed as the parent folder for your new (existing) source file.
Click on the "Advanced" button at the bottom of the "New File" dialog box.
Check the "Link to file in the file system" checkbox.
Click the "Browse" and browse to your preexisting source.
Click the "Finish" button at the bottom of the dialog box.
In my case, I had to:
right-click the project's name
choose "Close Project"
right-click the (now closed) project's name again
choose "Open Project"
Refreshing didn't work for me. :(
Hopefully this helps someone else...
Just found the quickest way to add files:
Copy-paste your file into your project disk directory using your file browser.
In Eclipse project browser select your project.
Click [right mouse button]->Refresh (or press F5 on Windows machine).
Voila
(worked on Neon-4.6.2)
I just got this to work. YMMV
I don't suppose it has to be there, but I put my file, xyz.cpp, into my project's source directory. My project has a source subdir named src, as in ProjName/src.
Right Click on project name (my project was open and the only one open).
NEW->FILE. Put in the filename, xyz.cpp. Click OK or press enter.
The file will open in the editor and complain that it is empty. Close it WITHOUT SAVING.
Reopen the file. It now has its contents.
It turns out that just simply dragging the files into the src folder would work!
Right-click on the file after you have copied it into the project directory. Select Properties... in the left hand pane select C/C++ Build. There will be a checkbox "Exclude resource from build" uncheck that check box.

Open directory containing a source file via Eclipse

In Visual Studio, or MyEclipse, you have a button which is able to locate a source file on disk, and open the containing directory in Windows explorer.
This is useful, for example, to browse images, or to use an other tool when a conflict occurs in CVS or SVN.
What would be the way to do it in Eclipse with a free plugin, or without any plugin ?
I found it :
"In eclipse, it is common requirement to open the folder containing source file but there is no direct method to do that like in Visual studio of Microsoft."
http://shivasoft.in/blog/others/tips/locate-source-file-on-local-disc-in-eclipse-external-tool/
An actual plugin can be found at http://blog.samsonis.me/2009/02/open-explorer-plugin-for-eclipse/
And version 1.5 can be found here http://blog.samsonis.me/2011/08/openexplorer-eclipse-plugin-1-5-0/
One that I've since upgraded to & find more useful
http://basti1302.github.io/startexplorer/
I always do this:
right click on file/folder, show in..., system explorer. Done.
I guess we don't need a plugin to do that, or I am misunderstanding the question?? I am using Luna 4.4.2 on Windows 7.
On Mac you can follow this steps to add it without a plug-in:
Click the disclosure icon to the right of the External Tools icon:
Select External Tools Configuration:
The External Tools Configuration window will appear. Select Programs and then click New Launch Configuration:
This will create a new launch configuration. Enter a name of the configuration in the name field:
In the Location field enter the path to the Open Finder, "/usr/bin/open" without quotes:
In the Arguments field enter the following argument, "${container_loc}" with quotes:
Click Apply. It should look like the following:
Switch to the build tab and deselect Build before launch:
Switch to the Common tab and select the External Tools checkbox in Favorites. Click Apply again and close out of the window.
You are done. Now to use:
Select a file or folder in Eclipse Package Explorer.
Click the disclosure icon to the right of the External Tools icon:
Select the Open Containing Folder from the drop down menu:
You're file or folder should open in Finder.
PRO TIP: After you use the external tool once you can click the External Tools icon again and it will run the last used external tool. In other words, you won't need to select it from the pop up menu each time.
You can also look up the source directory by right clicking on the project, going to properties, and looking at "Location: ... "

How to open Non-Netbeans project in Netbeans?

When we create a (PHP) project in Netbeans 7, it somehow saves the directory in its own format, and later we can open the project in Netbeans. However, I have a project which I created without Netbeans, now I want to open it with Netbeans, but seems that I can not. When I "Open Project" in Netbeans, and browse to the directory, it does not not recognize the directory. So how can I open a Non-Netbeans project in it?
Thanks.
In NetBeans IDE 8.0.1
File->New Project
Select PHP-> PHP Existing Sources, Click Next
Browse Source Folder and Select it
Give project a name
If you want you can keep a backup in a separate directory, Click Next
And select your Server
Click Finish
Select "File" > "New Project"
Under "Categories" select "Java"
Under "Projects" select "Java Project with Existing Sources"
You'll then need to tell it which directory contains your sources and which directory contains your JUnit tests.
Go to the window menu and select favorites. Then a tab include beside projects, files...then drag a folder from file explorer and put it into favorites.
You can either use the "Import Project" from the File menu, which can transform an Eclipse project to a Netbeans one for example (there might be other transformations available as plugins, don't know), or just create a new Netbeans project with your existing code.
Go to File Then New Project
Under "Categories" Select PHP.
Under "Projects" Select PHP Application with Existing Sources, Click Next.
Browse Source Folder and Select it.
Give project a name.
If you want you can choose PHP Version, Click Next
And select your Server
Enter project url or link. (i.e http://localhost/onlinevoting).
Choose index file This file is mostly index.php file or the default file for your website.
Click Finish.
reference : https://mauricemutetingundi.blogspot.com/2019/01/how-to-open-existing-php-project-in.html
Just copy this template nbproject folder from the archive nbproject.7z to your target folder. After it, you can open folder as NB project. It is just minified NetBeans 8 project definition.
Base64 7z data uri copy