any only for hours
any only for hours
I keep getting asked to upgrade to IntelliJ EAP 13. I keep saying ignore this, but then the message keeps coming back. I think you must be sending me the message everytime a new EAP build comes out. Can you create a setting to allow me to skip EAP entirely?
M
I get the following errors every time I start IDEA, and every time I attempt to run a project within IDEA.
Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Regards
Ayyappan S
I've got a *really* strange problem. Whenever I try to fetch/pull/push or do anything with a remote site with git via IDEA (or PyCharm, or probably with any JetBrains tool), it gives me an error saying that it "Could not read from remote repository".
It only does it on one computer (which is significant... I'll explain in a moment). The other computers fetch/pull/push just fine.
When I go to view the idea.log file, I find (what looks to be) an important clue:
2013-05-22 07:19:41,755 [229811539] INFO - #git4idea.update.GitFetcher - fetching H:\IdeaProjects\Project
2013-05-22 07:19:41,756 [229811540] INFO - git4idea.commands.GitHandler - cd H:\IdeaProjects\Project
2013-05-22 07:19:41,756 [229811540] INFO - git4idea.commands.GitHandler - git fetch --progress --prune origin
2013-05-22 07:19:41,812 [229811596] INFO - git4idea.commands.GitHandler - 'C:\Users\Joe' is not recognized as an internal or external command,
2013-05-22 07:19:41,812 [229811596] INFO - git4idea.commands.GitHandler - operable program or batch file.
2013-05-22 07:19:41,813 [229811597] INFO - git4idea.commands.GitHandler - fatal: Could not read from remote repository.
The thing to recognize here is that my home folder has a space in it. It's actually "C:\Users\Joe Emenaker\". So, my suspicion is that IDEA isn't properly passing the spaced filename to git.
Now, I have other machines with spaces in the home-folder path, but they don't have this problem. What's different about this machine is that I just copied most of the contents (including .IntellijIdea12 and .PyCharm20) of my home folder from a Windows 7 machine to a Windows 8 machine. Then, I installed IDEA12 and PyCharm on the new machine. The path to the home folder was the same on both machines ("C:\Users\Joe Emenaker"), so I wouldn't think this would cause an issue.
Anyway, I'm curious to know if anybody knows of a way to get IDEA and PyCharm to properly pass the proper path to git. Heck, I'd replace the path with the 8.3 version (as in "C:\Users\joeeme~1\...") if I could just figure out where IDEA and PyCharm are storing the user's home-folder path.
get tablet no rx cod
IntelliJIDEA 12.1.3 Community Edition
Groovy Version: 2.1.3
JVM: 1.7.0_21 Vendor: Oracle Corporation OS: Windows 7
Griffon 1.3.0
Windows 7 64bit
New to IntelliJ, Groovy, Griffon, (and java mostly).
I create a new Griffon Module. I then try to run it but I get the following error:
"C:\Program Files\Java\jdk1.7.0_21\bin\java" -Xmx256M
-Dgriffon.home=C:\griffon-1.3.0 -Dbase.dir=C:\intellij\griffon1
"-Dtools.jar=C:\Program Files\Java\jdk1.7.0_21\lib\tools.jar"
-Dgroovy.starter.conf=C:\griffon-1.3.0/conf/groovy-starter.conf
"-Dgroovy.sanitized.stacktraces=\"groovy., org.codehaus.groovy., java.,
javax., sun., gjdk.groovy., gant., org.codehaus.gant.\""
-Didea.launcher.port=7534 "-Didea.launcher.bin.path=C:\Program Files
(x86)\JetBrains\IntelliJ IDEA Community Edition 12.1.3\bin"
-Dfile.encoding=UTF-8 -classpath
"C:\griffon-1.3.0\lib\groovy-all-2.1.3.jar;C:\griffon-1.3.0\dist\griffon-rt-1.3.0.jar;C:\griffon-1.3.0\dist\griffon-cli-1.3.0.jar;C:\griffon-1.3.0\dist\griffon-resources-1.3.0.jar;C:\Program
Files (x86)\JetBrains\IntelliJ IDEA Community Edition
12.1.3\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain
org.codehaus.griffon.cli.support.GriffonStarter --main
org.codehaus.griffon.cli.GriffonScriptRunner --conf
C:\griffon-1.3.0/conf/groovy-starter.conf run-app
Welcome to Griffon 1.3.0 - http://griffon-framework.org/
Licensed under Apache Standard License 2.0
Griffon home is set to: C:\griffon-1.3.0
Base Directory: C:\intellij\griffon1
Running script C:\griffon-1.3.0\scripts\RunApp.groovy
Resolving dependencies...
Dependencies resolved in 330ms.
Environment set to development
Resolving framework plugin dependencies ...
Framework plugin dependencies resolved in 479 ms.
Resolving plugin dependencies ...
Plugin dependencies resolved in 422 ms.
[copy] Copying 1 file to C:\Users\<REDACTED>\.griffon\1.3.0\projects\griffon1\classes\main
Launching application ...
[delete] Deleting directory C:\intellij\griffon1\staging\windows64
java.io.IOException: Cannot run program "C:\Program" (in directory "C:\intellij\griffon1\staging"): CreateProcess error=2, The system cannot find the file specified
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1085)
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:909)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:732)
at groovy.lang.GroovyObject$invokeMethod.callCurrent(Unknown Source)
at org.codehaus.griffon.cli.GriffonScriptRunner.executeWithGantInstance(GriffonScriptRunner.java:648)
at org.codehaus.griffon.cli.GriffonScriptRunner.executeWithGantInstanceNoException(GriffonScriptRunner.java:667)
at org.codehaus.griffon.cli.GriffonScriptRunner.callPluginOrGriffonScript(GriffonScriptRunner.java:392)
at org.codehaus.griffon.cli.GriffonScriptRunner.doExecuteCommand(GriffonScriptRunner.java:303)
at org.codehaus.griffon.cli.GriffonScriptRunner.main(GriffonScriptRunner.java:141)
at org.codehaus.griffon.cli.support.GriffonStarter.rootLoader(GriffonStarter.java:198)
at org.codehaus.griffon.cli.support.GriffonStarter.main(GriffonStarter.java:223)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
At first I thought it was because I also use the free TCC-LE (the replacement for 4NT) [1] as my standard cmd shell so my COMSPEC env variable looks like:
ComSpec=C:\Program Files\JPSoft\TCCLE13x64\TCC.EXE
Some of the batch files for java related stuff I've been using in the last week (groovy for example but it seems like something else was doing it also), do %COMSPEC% instead of "%COMSPEC% so that was causing errors or annoying warning messages. I just edited the batch files to fix that.
When I came across this new error, I assumed it was the same problem. I tried looking around the source of griffon-griffon-1.3.0\subprojects\griffon-cli\src\main\groovy\org\codehaus\griffon\cli\support\GriffonStarter.java but couldn't figure out how to turn on the debugging mode it has by changing my Run Configuration.
Therefore, I resorted to uninstalling TCC-LE and re-installed it to a location without any embedded spaces. Unfortunately I still get the same exact error message.
So something is trying to launch a program in C:\Program Files but not taking into account the embedded space. How can I fix this?
The title says it all -- is there an easy way in IDEA 12 to rename a project in the "Recent Projects" list?
Kind regards, Matthias
I am a rather frequent contributor of "why this?" or "this seems broken .." So I'd like to change it up a little bit and say, after a week of using python heavily in IJ it is pleasant to do so. The code introspection / navigation works well as well as normally expected things like syntax highlighing, code completion, etc. Have not tried the debugger yet, but that's a "bonus" in any case.
Our application uses Adobe BlazeDS packaged in an EAR, deployed to JBoss. The Flex applications are hosted on the server, and referenced in a folder within the EAR artifact. The SWF uses the URL where it was downloaded from to recognize how to make the connection back to the server, so for this reason, we have to customize the debug configuration to launch the URL and not the swf from the file system.
Once we make changes to the Flex module and rebuild, while the application server is up and running, I expect to instantly debug the new version of the Flex app on the server, immediately after a complie. However, the EAR artifact does not recognize it is out of sync, I presume because no Java code has changed...
Is there any way to ask IntelliJ to refresh the other files in the deployment, without going through an undeploy / redeploy cycle? The Flex module changes become up to date during a full restart of the application server, but not after a build... The status of the deployed artifact stays "Synchronized". Ideally, we would only want the files to change, not a undeploy/deploy of the entire EAR. This was the main reason we wanted to use the Exploded version in the deployment.
To make matters worse, JBoss 7.1.1 does not cleanly undeploy our app, so we have to restart the entire server to redeploy... If anyone is interested, this is related to having web service annotations in our EJB JARs... Apparently this version of JBoss doesn't know how to tear those down properly, thus they will not hot redeploy after having been deployed once.
As a workaround, I can write a shell script to sync the folders, but I am really hoping to have the IDE manage this for me.
Hi, is there a way to have IDEA pickup/pull the full list of upstream Git branches?
At the moment i have to use bash | git pull before IDEA can see them.
~gilbert
Hi, I'm a flex user since version 2 and i have always used flashbuilder. Now, considering the indifference of Adobe and the constant bugs you have with eclipse, I was thinking about changing IDE. Searching, I found Intellij and FDT. Of the two, I prefer Intellj for its customization and support for other languages. So, I installed the demo and I started to try to bring my work on this new IDE. With great regret, I still can not find a tutorial on how to work in Flex with this new tool. If there are any flex programmers using this, why don't you write down the steps for all the flex needs.
1. How to create a Flex Application. (easy to do, but it should be the first step of a complete tutorial)
2. How to include components.
3. How to include swc libraries.
4. How to include flex modules.
5. How to use RSL on main and modules.
6. How to compile and debug.
7. How to compile and run.
8. How to deploy with all libraries.
9. How to include PHP projects
10. How to debug Flex and PHP together.
I also have a question that already made me install and uninstall intelliJ 4 times. Can IntelliJ, when using RSL, copy the flex libraries to the out folder like flashbuilder does?
thanks.
Sal.
I've just tried to add Hibernate support in a project of mine and I noticed that the libraries that IntelliJ downloads are not updated with the latest versions.
For example for Hibernate the ide downloads v4.1.1 and the latest version is 4.2.1
How can I fix that?
Thank you.
use next day order
I am using idea 11.1.1. Debugging of a web project with tomcat 6 or 7 is suddenly very slow. CPU usage of the tomcat process is at 50%. Any idea (no pun intended) what would cause it?
Hey IntelliJ Community!
I am working on a large project with IntelliJ 12 using the PHP plugin, and I have quite a few classes that have some magic functions (using __call and __callStatic). I would love to be able to get autocompletion for these classes, as the magic methods provided can be statically determined with some computations.
For example, I have a model class that defines an array of relationships with other classes
class Store{
public static $has_many = array(
'product',
'transactions',
);
public function __call($method, $param) {
if (in_array($method, self::$has_many)) {
// return relationship object
}
// magic for setters
}
}
The goal is to be able to do:
$my_store = // some store instance;
$my_store->p.. // <--- autocompletes to 'products()'
As an autocomplete extension, I would say that any Store instance should also have methods for all its relations (like $has_many, $belongs_to, etc.). It would also be great to do this sort of magic autocomplete for other classes that have deterministic rules to define what extra methods can be called on the class.
Some of my objects have tens of methods that I'd like to have autocomplete for, so explicitly defining them all is not a scalable option.
Thanks for the help!
Hello,
I'm just getting started with IntelliJ. I am trying to get the ubiquitus 'Hello World' example to run in the emulator. Here is the result in the debug window:
Waiting for device.
"C:\Program Files\android\tools\emulator.exe" -avd Nicks -netspeed full -netdelay none
Device connected: emulator-5554
Device is online: emulator-5554
Target device: emulator-5554 (Nicks)
Uploading file
local path: C:\Users\Notebook\IdeaProjects\10ManApp\out\production\10ManApp\10ManApp.apk
remote path: /data/local/tmp/com.TenManServices._10ManApp
Adb Transfer Protocol Error.
No such file or directory
Thanks
The project I am currently working on uses "2 spaces - no tabs" code style - quite different from the SunJdkStyle code style.
Is there a way to have a particular code-style apply only to a particular library? The Sun JDK source code is quite difficult to read if the indentation settings aren't set up just right.
I'm thinking about extracting the JDK src.zip to directory and re-formatting individual files when I need to read them (looks like re-indenting will change some line numbers though, that will mess up debugging).
If there's no way to do this - would it make a good feature request, or is there a reason something like this is not feasible?
(zOMG - a new IDEA feature for *java* code!)
I have created a spring application that uses hibernate as an orm tool.
When I am doing the data mapping in the class I get an inspection control error for every table and for every column in my database although the code runs fine.
Any idea on how to fix that?
Thank you.
I've installed the LESS CSS Compiler, but less files in my new play scala project aren't showing any syntax highlighting.
How can I fix this?
Hi, I have an issue when running multiple SQL statements through IDEA:
DECLARE @x int
SELECT * FROM MyTable WHERE id = @x
go
DECLARE @y varchar(max)
SELECT * FROM MyTable WHERE name = @y
go
...in this situation, the console spits out an error - @x is not declared. But if i run the scripts (between the go's) one by one it works fine.
How can I get this to work for the whole script?
~gilbert