![]() Cannot Run Play Framework Project on Netbeans 7.2 IDE.Referencing File in project folder using FileInputStream in Java.Clean and build Netbeans java project from command line.Generated pdf file save inside the project folder.Add static folder to Tomcat in Netbeans.can I debug restful web service exist in another project netbeans.Netbeans project still running when using `Runtime.getRuntime().exec("explorer.exe") `.How can I set a class to always search in its own project folder for a given path?.Classes folder instead of jars in Jetty configuration.Netbeans won't display web project in Projects Tab.NetBeans 7.3 freeform Java project - how to add a 3d party library to the project.xml?.Using scala's ParHashMap in Java's project instead of ConcurrentHashMap.JAR file in the "/dist" folder of a Java Application project in netbeans to eclipse Unable to create a Java NetBeans project inside Dropbox folder.Gradle project and resources folder and logical root for creating files.redirect all html get requests to get files from ROOT/frontEnd folder instead of ROOT on Tomcat server.Netbeans project builds successfully but does not run. ![]() I am sure these problems have to do with the fact that I am an extreme Netbeans newbie, so can anybody help me out here? What am I missing? Surely, Netbeans allows you to work with a freeform Java project like Liferay that has its own layout. I did google searches, Netbeans site searches, etc., but found nothing. No matter what I tried, I could not find a way to simply browse the files in the project. It also shows a bunch of subfolders with the source in them again. That tab shows the top level folder of the project, with the nbproject folder and the build.xml file inside of it, and nothing else. I figured okay, there's a Files tab here that should give me access to the rest of the project folders. The Projects folder listed all of my source folders, but I could not see any other folder that's in the project. I could not figure out a way to get there in Netbeans. My next problem, however, came when I wanted to try to browse to portal-web, which is the folder where Liferay's JSP files are stored. The libraries were on the class path now, so I decided not to worry about this until later. However, when I actually opened the files, there were no errors. All of the source folders were recognized, but there were errors in them (according to the icon on the files). ![]() I came back to this a couple of days later with an idea: Netbeans has an Eclipse project importer I'll just use that! I deleted the nbproject folder that had been created inside of the Liferay project, and then used the Eclipse project importer to import the projects from my Eclipse workspace. I did not want to define a separate classpath for every Liferay source folder (have you seen how many there are?), so I desperately wanted to figure out how to uncheck that box. Unfortunately, mine was checked AND grayed out. Netbeans has a check box at the top of that dialog labeled: Separate Classpath for Each Source Package Folder. jar files from the project's lib folder added to the project. My first hangup came when I needed to get the. I was able to right-click on the project and add all the source folders. I selected a Java Project With Existing Ant Script and made sure the location was the folder to which I pulled the Liferay source from SVN. ![]() So I figured I'd jump in with the new 6.0 Release Candidate (because it is likely that 6.0 will be out by the time our docs are done).įirst I tried setting up Liferay using File -> New Project. I've never used Netbeans, but I have to admit that I've admired it from afar. ![]() Plus that environment has been pretty much covered in the documentation, so I don't have too much work to do there.īut Netbeans is a whole 'nother matter. I have been using Eclipse for many years,and so I know my way around that IDE pretty well. One of the goals I set for myself with regard to the Liferay documentation was to show people how to set up Liferay for development (either core, extension or plugins) in both of the leading open source IDEs: Eclipse and Netbeans. ![]()
0 Comments
Leave a Reply. |