I'm developing a Grails application with IntelliJ. Many time happens this: When i try to find a file by this shortcut :
Ctrl+Shift+N
IntelliJ find the source file and the 'compiled' (same) file (Because grails plugin imported into a grail app, copy entirelly his folder).
There is a way to hide project-files from "Navigation File" functionality?
Thanks
You can right click the plugin folder in the project tree and mark it as "Excluded":
Related
"Requested resource [/VAADIN/widgetsets/AppWidgetset/AppWidgetset.nocache.js] not found.." I get this when I'm including new addons, either from a JAR file or through Maven. Sometimes, if I've added the dependency in Maven, adding the JAR file as well to the build path fixes it, sometimes it's the other way around, other times compiling the widgetset and/or theme fixes it, and there are even times when nothing helps. This type of behavior seems to me more random than scientific.
I would love to know how to properly add dependencies to the project so that I can avoid this problem.
Select the UI project and goto Properties - Deployment Assembly. Check if you already have widgetset.jar file. If the widgetset.jar is missing then Click on Add -> Maven Project and select widgetset (make sure the jar file naming convention follows backend project like WEB-INF/lib/qqq-widgetset-1.0-SNAPSHOT.jar and WEB-INF/lib/qqq-backend-1.0-SNAPSHOT.jar)
We have had this problem with all versions of intellij right up to 14.1.3.
When you click on
Grails->Synchronize Grails Settings
nothing happens. Nothing is executed, the cursor does not change, and, importantly, there is no way to get Intellij to recognize that your configuration has changed (e.g. if you change the version of an existing plugin defined in your buildConfig.groovy).
This is a huge problem.
Interestingly, it works on a MAC with identical project, intellij and java version version.
I don't expect an answer or resolution - but if anyone else gets the same problem, it would be nice to know we are not the only ones.
The grails project consists of the application, and a number of exploded plugins. Everything else works fine.
Project structure:
mainApp
grails-app
:
plugin1
grails-app
:
plugin2
It was imported into intellij by doing a "grails integrate-with --intellij" in the mainApp dir, then simply opening the resultant ipr file in intellij.
Try this
Select the module which has dependency issue.
Click F4 (module settings)
Click on modules in left side (project settings)
Click on dependencies tab on right side
Verify all the inline plugin modules that your module depends on are there in dependencies, if not, add them by clicking + and selecting module dependency
I am wanting to add the "universal-image-loader jar" file to my Xamarin project and am not sure what I need to do. I have had a look at this resource but would still like some help please: itexico.com/blog/bid/100447/Android-Wear-Developer-Preview-Using-Xamarin-Jar-Binding
Here is what I have done so far:
Downloaded https://github.com/nostra13/Android-Universal-Image-Loader
Created a folder called "Jars" in the root folder of my Xamarin project
I have added the "universal-image-loader-1.9.2-with-sources.jar" file to the "Jars" folder
I have set the build action to "embedded resource" for the "universal-image-loader-1.9.2-with-sources.jar" file
I have successfully build the project
I still cannot use the ImageLoaderobject in my application. I cannot resolve a ImageLoaderobject and am not sure what else I need to do.
May I please have some help?
Thanks in advance
I'd suggest you use Java Bindings Library for that.
What you need to do is to add a project to your solution of type "Android Java Bindings Library" you DON'T need to create Jars folder it is created in the new project by itself. Add your jars there. On your startup project click on references and add the java binding project you have just created as a reference. build it and try accessing your assembly either by adding it in the using section or by it's fully qualified name.
Good luck!
I generated a jar that contain the class which I use in my application, but I add this jar into the project following these steps:
right click in the project.
properties
Build
Libraries
Add external jars or add jars
ok
I can use these libraries as I write my code, but when I'm loading my project in the emulator or device it said that my library "NOT FOUND".
Please help, what is the correct way to use an external jar in blackberry projects?
please try following step:
right click in the project.
properties
Build
Libraries
Add external jars
select order and export tab
check mark true which .jar file you add
click ok
From the BlackBerry developer docs:
In the Package Explorer view, right-click the project that you want to add a dependency to.
Click Build Path > Configure Build Path .
Click the Libraries tab.
Complete one of the following tasks:
Click Add JARS if the .jar file is in the current workspace.
Click Add External JARS if the .jar file is not in the current workspace.
Select the .jar file that you want this project to depend on. The .jar file must be generated by a Java® application project. You cannot add a BlackBerry® application project of the Library type in this manner.
Click OK.
Pay close attention to the two different options in step 4. above, choosing the one that applies to your situation (where your .jar file is located).
I need help with IntelliJ, my project isnt starting anymore, I googled but cant find a solution. It started when I deleted a newly created file, a grails Service file.
First, the grails view disappeared. Adding new Framework Support to the project and get the view back via tool windows didnt work.
I also have no "grails" option in the tool menu anymore.
When I run the project (I had to re-setup the run configuration, it was all sort-of-deleted too), the console shows me this error:
Application expects grails version [1.2.3], but GRAILS_HOME is version [1.3.7].
All my Team memebers use 1.3.7 too, so I dont know why this should work.
Can somebody help me please.
Please let me know if you require more information to help me!
thanks a lot in advance!
daniel
how much modules can you see in the project view? there must be one for your grails application named and one for your grails plugins -grailsPlugins. maybe you accidentally deleted one of those intellj modules. the modules files are located under your project root and named as follows: .iml. in intellij go to file -> project structure -> modules. there you can add a existing module by clicking the + symbol and select your existing module for importing.
If the file was compiled at least once then I guess one can open the .class file with intellij and see the code. However all coments will be remove of course.