Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all 5661 articles
Browse latest View live

Connecting to Version One; or Windows Integrated protected task engines

$
0
0

Hello,

 

The project I am on is leveraging VersionOne as our task management software. I can't seem to find anything to allow IntelliJ to connect.

 

It it seems a few years ago there was a plugin, although it is sort of dead now. Totally destroyed my version of 14.1.

 

To be honest, we just need very light integration. So the generic task connector seemed great, however, our V1 instance is protected behind Windows integrated authentication and IntelliJ doesn't seem to play nice.

 

Does anyone know a path to integrate between V1 and IntelliJ? Ideally freely?

 

Or more generically, is there a hoop to jump through which allows generic task connection back to resources behind Windows authentication?


update not working

$
0
0

I try to update Idea to 14.1.5, the patch file is loaded, the program is restarted, but still the same version (14.1.4). I tried this several times.

In between, a new PHP plugin is installed, but that is not compatible with 14.1.4, so I get an error message and have to disable the plugin.

 

1) what is the name and the location of the patchfile?

2) how can I start it myself

 

For now, I downloaded and installed the complete new version of Idea, but that is a bit of a waste: 304Mb vs. 12 Mb.

How to view a submitted or pending perforce Changelist in IntelliJ

$
0
0

Hi

 

If I know the CL number, how can i view the same in intellij. I can go via the route of Annotate and then clicking the CL, gives me the descibe view of CL. How can i do that directly?

How can I use module groups

$
0
0

I try to use IDEA with much project as module and I would like groups this modules. If I "move module to group", I can see it only in "Project structure" window. How can I show it in "Project" window?

Is there such a "Working set" alternative?

Unable to configure JPA for Spring Data app

$
0
0

Hi

 

I'm running Intellij 14.1.4 and I have some JPA queries but I'm getting the "Can't resolve symbol <my entity name>" message on my Spring Data Repository.

 

Any ideas how I can solve the issue?

 

I've tried adding a spring facet and a JPA facet. In in my 'module settings', I have:

  • myModule
    • JPA
    • Spring

 

However, I'm not sure what to configure the 'JPA' with. I have no persistence.xml, so my list of descriptors are empty. I've tried switching the "Default JPA provider" at the bottom to various options (no provider & hibernate) but neither seem to work. Any ideas?

 

On the Spring side, I have a 'Spring Application Context' which lists the Java code level spring @Configuration files.

 

My app uses pure Spring Boot/Spring Data out of the box, with implicit reliance on Hibernate. So I have no XML files (no persistence, etc.)

 

Not sure what to try next?

Chris

Configuring Gradle to Show Test Runner in IDEA on Integration Tests

$
0
0

I'm trying to segregate our Cucumber integration tests from our Spock unit tests since the latter are much faster and are executed more frequently.

 

While the Cucumber integration tests run under IDEA 14.1.4 (IU-141.1532 under OSX), the test runner view isn't showing; i.e. no red bar/green bar view. I also tested it under the latest IDEA 15 EAP.

 

All that happens is the console indicates the build was successful or tests failed. If there were failures, the failures are listed in the console, but the failures are not even shown in a power assertion format:

 

:integrationTest

com.demo.RunCukesTest > Scenario: Order upgrade from X to Y. Then Order Y is blah FAILED    org.codehaus.groovy.runtime.powerassert.PowerAssertionError

com.demo.RunCukesTest > Scenario: Order upgrade from X to Y.classMethod FAILED    org.codehaus.groovy.runtime.powerassert.PowerAssertionError

333 tests completed, 2 failed
:integrationTest FAILED

 

I should note that when the Cucumber tests were under src/test/groovy, the test runner view displayed correctly.

 

The build is recognized as failed and the HTML reports generated are still good, so this will be okay from a CI server standpoint, but we developers like the visual feedback presented by the red/green bar view!

 

I'm sure I've misconfigured something in Gradle, but am not sure what. Here are the changes I made:

 

sourceSets {    integrationTest {        groovy {            compileClasspath += main.output + test.output            runtimeClasspath += main.output + test.output            srcDir file('src/integration-test/groovy')        }        resources.srcDir file('src/integration-test/resources')    }
}

configurations {
    integrationTestCompile.extendsFrom testCompile    integrationTestRuntime.extendsFrom testRuntime
}

idea {
    module {        //add integration test source dirs to IDEA        testSourceDirs += file('src/integration-test/groovy')        scopes.TEST.plus += [ configurations.integrationTestCompile ]    }
}

...

task integrationTest(type: Test) {
    group = 'verification'    testClassesDir = sourceSets.integrationTest.output.classesDir    classpath = sourceSets.integrationTest.runtimeClasspath    shouldRunAfter test    outputs.upToDateWhen { false }
}

 

At first, I thought the RunCukesTest class (shown below) wasn't being used, but the Cucumber formatted test report is generated, so it must be executing.

 

@RunWith(Cucumber.class)
@CucumberOptions(    format=["pretty", "html:build/reports/cucumber"]
)
public class RunCukesTest {
//leave me empty!
}

 

In summary, the integrationTest task is set up and executes the Cucumber tests. Reports are being generated properly. The only thing that doesn't seem to be working is, IDEA doesn't show the test runner during test execution.

 

What do I need to do to this configuration to get my integration tests to run in the test runner view in IDEA?

 

Thanks in advance!

 

--

jack

Light weight Java IDE

$
0
0

IntelliJ 4 was very fast, but 14 is very slow.

Any light weight Java IDE which supports the latest JDK?

Errors found while svn working copies detection. How can I change svn client version for my module?

$
0
0

We have subversion server 1.6 it don't supported svn command line client. My module has 1.8 format in "Subversion Working Copies Information", how can I change it to 1.6 or 1.7?


Load error: undefined path variables

$
0
0

After migration of a project I'm getting this message:

    
Load error: undefined path variables

 

url is undefined. Fix it


Path variables are used to substitute absolute paths in IDEA project        files and allow project file sharing in version control systems.
Some        of the files describing the current project settings contain unknown        path variables and IDEA cannot restore those paths.

 

I don't have this variable in "Path Variables" and nothing happens when I click "Fix it"

Subscription

$
0
0

I just received an email informing me that I will be forced into a subscription in November. I do not appreciate this at all. I paid for a perpetual license in February 2015, which guaranteed me updates for a calendar year, which means until February of 2016. I have it in writing from you. Now, in November of 2015, I will have to pay again FOR THE SAME SOFTWARE I JUST PAID FOR. You have broken your agreement with me.

 

Your perpetual license terms are unwelcome. I would have felt much better had I the opportunity to own the version of the software available at the time my subscription LAPSED, and not the version available at the BEGINNING of the subscription period. I don’t know how subscriptions in your part of the world work, but in the US, if I pay for a year’s subscription to a magazine, I get to keep all the issues produced during that year, NOT JUST THE FIRST ISSUE. As it stands now, you’re asking me to fund your next year’s development without any measurable return on my part. Distasteful and unacceptable.

 

Unfortunately for you, you have turned a loyal customer, one who has recommended you to many colleagues, into one who is seeking alternatives to JetBrains products. I will now turn my colleagues away from your company, and I will not hesitate to discontinue using your products once I have replaced them.

 

Kevin Morgan

Issues Importing Class File Into Project

$
0
0

I've been having issues with importing a class file into an existing project or even a new one. A professor of mine requires usage of this class file and I've had to result to using JGrasp or simple command prompt compiling with a text editor to complete assignments. I've added the path of the class file in the dependencies, I've followed the information here and I am still unable to iimport the class file by following the basic syntax,  which in this instance is

 

import codelibraries.chp10.Course;

 

What can I do to fix this issue?

 

Thanks for your help!

Problem configuring Tomcat with Spring Initializr

$
0
0

Using Idea Ultimate 14.1.5.

 

I create an new project using Spring Initializr.  During project creation I set the packaging to WAR, and I check Web on the dependencies screen.  After the project is created, I select Run -> Edit Configurations...  I then click + in the upper left to add a new configuration, and select Tomcat Server -> Local.  I get the "Warning: No artifacts configured" message.  I click the Fix button.  The Project Structure dialog appears.  I click Artifacts; but, there are no artifacts available.  Shouldn't I see both exploded and unexploded WAR artifacts?  I've tried creating a new "Web Application: Exploded"; but, when I run Tomcat, I get a message like: "$MY_PROJECT_PATH/out/artifacts/unnamed not found for the web module."  I see no place to change the path this artifact points to.

 

How do I fix this?

 

This is extremely frustrating.  I have had other time-consuming problems getting Tomcat working with Spring Boot/Tomcat applications in the recent past.  This should just work.

Java development question about bit manipulation

$
0
0

Hello,

 

I am new to programming in Java. I am using the IntelliJ IDEA platform and interested in manipulating bits using Java. I wish to convert a given file to binary and then manipulate the bits. The question is how do I convert the file to a binary format and in processing the bits should I store the binary file in an array and then process the bit value, 1 or 0, in the array, based upon the program.

 

Or is there a better way to do this? Any recommendations, links, code or video references appreciated.

 

Thank you in advance for your help.

 

Michael

Maven Artifact Search not work

$
0
0

I’m using intellij 14 to work through the tutorial here for using Gradle under IntelliJ: https://www.youtube.com/watch?v=3Euo6xzCwY4

 

I have updated the maven repo.

I’m trying to search for groovy-all in the Maven Artifact Search box, but no results are returned.

Only the repositories shows in the picture appear on screen (https://imgur.com/3WI4tOG,FVORzyH), although the remote location shows a lot many.

 

Does anyone know how to fix this?

Class files sorting

$
0
0

In IDEA menu tree where all my class files are listed, I can sort my files by type or alphabetically.

That is nice. I need to sort alphabetically. But alphabetically sorting is not exactly alphabetically sorted. When in class name number characters are detected, it is sorted by number value, not as text.

 

For axample I have 3 classes Class_101_SomeClass, Class_1011_NothingSpecial, Class_901_Important.

I expect them to be in order Class_101_SomeClass, Class_1011_NothingSpecial, Class_901_Important.

But IDEA puts them according to number value in order Class_101_SomeClass, Class_901_Important, Class_1011_NothingSpecial.

I have put much effort in Eclipse to rename classes in that way that they stay in my required order. My Intention is to put some sorting code in beginning of file name followed by descriptive class name, and manage ordering in that way.

IDEA have broken all my logic. Now I only have option to rename to Class_1010_SomeClass, Class_1011_NothingSpecial, Class_9010_Important. But that is not a solution, since I do not know how much number  characters I will ever need, and there is really many classes. I do not want to even start that.

 

 

Is there some option to tell IDEA not to detect number characters as number values, but treat them as ordinary characters in sorting?

 

Thank you!


Empty project as an option in the New module window. Is this correct?

$
0
0

Dear jetbrains community,

 

Recently I tried to create a new project to develop a google chrome extension.

So, first, I created an empty project, because I didn't find a another suitable option for this kind of project. Then IntelliJ Idea prompted me with the new module window. To my surprise the empty project is an option for creating a new module. It does nothing.

Is this correct?

 

Kr

 

Tony

IntelliJ Idea warning when opening a spring boot project

$
0
0

I have created a simple Spring Boot project with my IntelliJ Idea (latest version - 14.1.5).

If I close the project and then try to open it I get the following warning

 

http://postimg.org/image/gmast9zcp/full/

 

Any ideas?

Attempting to Move from NetBeans to IntellaJ & Having DataSource Connection Issues with Derby

$
0
0

 

 

I’m attempting to move from NetBeans to IntellaJ ….

 

 

 

And I have searched high and low over the web looking for my answer and I’ve spent the last day and a half working this issue.

 

 

 

I have a working JavaFX project on NetBeans. And I have copied this project into an IntellaJ JavaFX project which compiles clean. 

 

Then I started creating the DataSources to connect to all my databases.   I have DataSources that connect to a MySQL database, and a Postgres database without issue.

 

 

 

However, I cannot connect to my Derby database via IntellaJ.

 

 

 

I have followed the instructions to create a remote DataSource in IntellaJ and I continue to get an error message indicating:

 

 

 

          “Incorrect Driver and/or connection setting specified.”

 

 

This is griving me nutz !!!!!!!

 

Any assistance with this would be greatly appreciated.

 

I'm running Windows 10 Professional and have version 14.1.5 of IntellaJ IDEA

Develop Openbravo with IntelliJ IDEA 14.1.3

$
0
0
I am Openbravo developer and I 'm moving from Eclipse to IntelliJ. I have trouble setting artifacts and run configurations. Any suggestions? Thanks.

Gustavo Orozco

Is it possible to export a GUI form so it can be run in any IDE?

$
0
0

I'm trying to create a pretty simple GUI, and IntelliJ has seemed to have the best free GUI creater that I could find. I have spent countless hours trying to figure out how I could save or export the files to be able to use them in another IDE. I'm doing this for school projects, so they need to be able to run on a clean build of Eclipse when my professor grades it. Am I going to have to continue using WindowBuilder/manually configuring the GUI for that to happen?

Viewing all 5661 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>