After reinstalling Windows I installed latest IntelliJ IDEA 2021.3 (Ultimate Edition) when I tried to add my private docker registry... I did get three option and none of them works. (IntelliJ support)
Select one of the available public Docker registries:
Docker Hub: registry.hub.docker.com
GitLab: gitlab.com
JetBrains Space: your instance of Space
I cant say if this is a bug from there side or not... or if there is some setting I have to change... so my workaround for now is a zip file with this structure.
settig.zip
/IntelliJ IDEA Global Settings
/options
/docker-registry.xml
IntelliJ IDEA Global Settings is an empty file
docker-registry.xml simple xml file with this structure
<application>
<component name="DockerRegistry">
<DockerRegistry>
<option name="address" value="private.registry.com" />
<option name="name" value="Name" />
<option name="username" value="Username" />
</DockerRegistry>
</component>
</application>
Then import settings from a ZIP archive
Call File | Manage IDE Settings | Import Settings from the main menu.
Select the ZIP archive that contains your settings in the dialog that opens.
Select the settings you want to apply in the Select Components to Import dialog that opens and click OK.
anyone knows what can be wrong or are the more ppl out there with this problem?
if you try this remember to backup your save registry's as how import works.
Custom registries are not yet supported. You can vote for implementation at https://youtrack.jetbrains.com/issue/IDEA-282438
Related
I'm trying to bundle a JavaFX application adding a JVMOption to able virtual keyboard in my software, adding the "VM options" in the "Run/Debug Configurations" form works perfect in a test context, but when I build a DMG bundle and then run the app the keyboard is not shown. When I inspect the package content directly from the Application folder I found that the file "Content/Java/project.cfg" doesn't have JVM options
[Application]
app.name=Project
app.mainjar=Project.jar
app.version=0.6.1
app.preferences.id=Project_id
app.mainclass=co/Main
app.classpath=
app.runtime=$APPDIR/PlugIns/Java.runtime
app.identifier=Project_id
[JVMOptions]
[JVMUserOptions]
[ArgOptions]
If I add the option manually and save the file, the application works well showing the virtual keyboard.
[Application]
app.name=Project
app.mainjar=Project.jar
app.version=0.6.1
app.preferences.id=Project_id
app.mainclass=co/Main
app.classpath=
app.runtime=$APPDIR/PlugIns/Java.runtime
app.identifier=Project_id
[JVMOptions]
-Dcom.sun.javafx.isEmbedded=true
-Dcom.sun.javafx.touch=true
-Dcom.sun.javafx.virtualKeyboard=javafx
[JVMUserOptions]
[ArgOptions]
Does somebody know how to add these options without hacking any file? just adding it to a configuration file inside the project.
My project was created using Java 8, JavaFX, IntelliJ Idea CE (2019), Gradle 4.8
Add the following to your build.xml file:
<fx:platform basedir="${JAVA_HOME}">
<fx:property name="com.sun.javafx.isEmbedded" value="true"/>
<fx:property name="com.sun.javafx.touch" value="true"/>
<fx:property name="com.sun.javafx.virtualKeyboard" value="javafx"/>
</fx:platform>
After updating to Pycharm 2017.2.1 I got this Flow Tool panel (although not having flow installed) which pops up and I can not get rid of it.
This appears to be a bug. A workaround is mentioned:
edit .idea/workspace.xml and remove the
<component name="JsFlowSettings">
...
</component>
section
Another workaround which seemed to work for me:
select Flow under [file/settings/languages&frameworks/javascript] as Javascript Language version and untick all flow settings options that then appear.
In my Event Log in Intellij IDEA 2016, I used to see this message:
Unlinked Gradle project?
Import Gradle project, this will also enable Gradle Tool Window.
Don't want to see the message for the project again: press here.
At some point, I clicked on the "press here" link indicating that I don't want to see the message again. Since then, I have decided that I'd like to see it again.
How do I start seeing this Event Log message that I chose to not see again?
You can re-enable notifications balloon popups and logs from the (obviously) Notifications settings window, which you can open in (at least) 2 ways:
1) From the Event log window click on the settings button
2) File -> Settings -> Appearance & behaviour -> Notifications
I just tried the specific notification that has been asked about (Unlinked Gradle Project?). The only way that I found to re-enable the notification was to delete the .idea folder inside the project and re-open the project in Intellij.
Other notifications, such as Maven: non-managed pom.xml work as expected so this bug is specific to the Unlinked Gradle Project? notification.
This appears to be a bug in Intellij Idea as of this build:
IntelliJ IDEA 2016.2.5
Build #IU-162.2228.15, built on October 14, 2016
JRE: 1.8.0_112-release-287-b2 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
I have raised an issue for this : https://youtrack.jetbrains.com/issue/IDEA-162936
Also, I found that these notification settings are not stored in a project specific file. This file, on OSX, is ~/Library/Preferences/IntelliJIdea2016.2/options/notifications.xml, on Windows it would reside in a folder according to this.
These were the contents of the file for me, when I was testing this notification:
<application>
<component name="NotificationConfiguration">
<notification groupId="Gradle Notification Group" shouldReadAloud="true" />
<notification groupId="Maven: non-managed pom.xml" displayType="STICKY_BALLOON" shouldLog="false" />
<notification groupId="Project Startup Tasks Messages" displayType="STICKY_BALLOON" />
</component>
</application>
I noticed that changing the Popup Type for 'Gradle Notification Group' correctly updates ~/Library/Preferences/IntelliJIdea2016.2/options/notifications.xml, however even when the Popup type is 'BALLOON' or 'STICKY_BALLOON', it does not result in Intellij re-notifying the user about the Unlinked gradle project.
I've added an item to my Tools menu using the XML below that runs custom actions for my project.
<?xml version="1.0" encoding="UTF-8"?>
<toolSet name="My Project Utilities">
<tool name="test" showInMainMenu="true" showInEditor="true" showInProject="true" showInSearchPopup="true" disabled="false" useConsole="true" showConsoleOnStdOut="false" showConsoleOnStdErr="false" synchronizeAfterRun="false">
<exec>
<option name="COMMAND" value="C:\path\to\ant.bat" />
<option name="PARAMETERS" value="my_task -Dmodule.dir=$ProjectFileDir$\my.module" />
<option name="WORKING_DIRECTORY" value="$ProjectFileDir$/my.working.dir/foo" />
</exec>
</tool>
</toolSet>
When I try to run this task, I get this error:
Error running test:
Cannot start process, the working directory C:\projects\something\my.working.dir\foo does not exist
The problem is $ProjectFileDir$ points to the wrong directory, C:\projects\something, and I need it to point to C:\projects. Is there a way to change the value of $ProjectFileDir without modifying the value of WORKING_DIRECTORY in my XML?
we did the samething but with a batch file . uploading the batch file and adding the project path at working directory .
Go to File >> Settings >> External Tools >> Add (+) Create Tool , you can follow the image. Hope this helps.
I am creating a DNN module, and have a working module based on this: http://www.subodh.com/Projects/DNN-Module.
When I install it on a DNN 5.6.2 installation, everything works fine, except the .ascx files do not copy over. If I copy the .ascx files manually, the module works fine.
My .dnn file looks like this:
...
<moduleDefinitions>
<moduleDefinition>
<friendlyName>SignUp.Control1</friendlyName>
<defaultCacheTime>0</defaultCacheTime>
<moduleControls>
<moduleControl>
<controlKey />
<controlSrc>Control1.ascx/Control1.ascx</controlSrc>
<supportsPartialRendering>True</supportsPartialRendering>
<controlTitle>Control1</controlTitle>
<controlType>View</controlType>
<iconFile />
<helpUrl />
<viewOrder>0</viewOrder>
</moduleControl>
...
</moduleControls>
</moduleDefinition>
</moduleDefinitions>
...
Specifically, Control1.ascx does not get copied to the DesktopModules/SignUp directory.
I do not get an error. Here is the relevant section of what DNN says when installing the module. I get no errors on install.
...
Info Component installed successfully - Script
Info Starting Installation - Module
Info Module registered successfully - SignUp
Info Component installed successfully - Module
Info Starting Installation - Assembly
...
Can anyone tell me why the controls are not copying over to the appropriate directory?
Thanks.
It seems you have a mistake in <controlSrc> tag, maybe you mean: <controlSrc>DesktopModules/SignUp.Control1/Control1.ascx</controlSrc>
Also you need to mention this file in <component type="File">:
<component type="File">
<files>
<file>
<path>Your Desire Path</path>
<name>Control1.ascx</name>
</file>
</files>
</component>
In addition to Ehsan's answer you can use MSBuild and Chris Hammonds template (http://christoctemplate.codeplex.com) which will create a resources zip and you have a single resources node rather than individual nodes for each file