Re: Failing to compile runPiperGui profile in Intellij [EXTERNAL]

2018-04-01 Thread Reed Villanueva
I see, thanks for the info.

On Fri, Mar 30, 2018 at 7:17 AM, Finan, Sean <
sean.fi...@childrens.harvard.edu> wrote:

> This appears to be a bug in intellij, and oddly enough it just started
> showing up in my system today.
>
> You can go through the possible solutions here (I haven't tried):
> https://stackoverflow.com/questions/20496239/maven-
> plugins-can-not-be-found-in-intellij
>
> There are probably other solutions out there.  If you find one please
> share.
>
> Sean
>
>
> 
> From: Reed Villanueva 
> Sent: Thursday, March 29, 2018 4:08 PM
> To: dev@ctakes.apache.org
> Subject: Failing to compile runPiperGui profile in Intellij [EXTERNAL]
>
> ​Using the instructions of the dev guide (
> https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.
> apache.org_confluence_display_CTAKES_cTAKES-2B4.0-
> 2BDeveloper-2BInstall-2BGuide-23cTAKES4.0DeveloperInstallGuide-
> 2DRunningUIMACVDwithMaven=DwIFaQ=qS4goWBT7poplM69zy_
> 3xhKwEW14JZMSdioCoppxeFU=fs67GvlGZstTpyIisCYNYmQCP6r0bc
> pKGd4f7d4gTao=xSzM-Gf8hgP4XQgXM74hPSwUsXhvzcKWWkVfDnaid5Y=7uzLWQ_
> UTWoiVqMKOzfom8yVgwXpBoHOeKpqzzlrWok=)​
> to try to compile the runPiperGui profile in Intellij IDE, I get the
> following error:
>
> [INFO] ctakes-examples  FAILURE [
> > 9.248 s]
> > [INFO] Apache cTAKES Resources ctakes-ytex-res  SKIPPED
> > [INFO] Apache cTAKES YTEX . SKIPPED
> > [INFO] Apache cTAKES YTEX UIMA  SKIPPED
> > [INFO] Apache cTAKES YTEX Web . SKIPPED
> > [INFO] Apache cTAKES Distribution . SKIPPED
> > [INFO] Apache cTAKES Regression-test .. SKIPPED
> > [INFO] Apache cTAKES template filler .. SKIPPED
> > [INFO]
> > 
> > [INFO] BUILD FAILURE
> > [INFO]
> > 
> > [INFO] Total time: 20.514 s
> > [INFO] Finished at: 2018-03-29T09:38:11-10:00
> > [INFO] Final Memory: 72M/1300M
> > [INFO]
> > 
> > [ERROR] Failed to execute goal
> > org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default) on project
> > ctakes-examples: Unable to parse configuration of mojo
> > org.codehaus.mojo:exec-maven-plugin:1.2.1:java for parameter arguments:
> > Cannot store value into array: ArrayStoreException -> [Help 1]
>
>
> Don't work with java often, but googling the error, looking at this stack
> overflow post (
> https://urldefense.proofpoint.com/v2/url?u=https-3A__
> stackoverflow.com_questions_23832192_mvn-2Dexecexec-2Dand-
> 2Dmvn-2Dexecjava-2Ddifference=DwIFaQ=qS4goWBT7poplM69zy_
> 3xhKwEW14JZMSdioCoppxeFU=fs67GvlGZstTpyIisCYNYmQCP6r0bc
> pKGd4f7d4gTao=xSzM-Gf8hgP4XQgXM74hPSwUsXhvzcKWWkVfDnaid5Y=
> lKgucjFz23lmBLcQEyhJpt_kX_bc4cZm3kVaQj3R5-I=),
> and taking a shot in the dark, I changed the
> trunk/ctakes-examples/pom.xml's execution goal for the
> org.codehaus.mojo.exec-maven-plugin plugin from
>
> 
> > 
> > org.codehaus.mojo
> > exec-maven-plugin
> > 
> > 
> > 
> > java
> > 
> > 
> > 
> > 
> >
> > to
>
> > 
> > 
> > org.codehaus.mojo
> > exec-maven-plugin
> > 
> > 
> > 
> > exec
> > 
> > 
> > 
> > 
> >
> > I now seem to be able to compile the piper submitter GUI (though the
> error
> does show up after I close the GUI).
>
> Could someone let me know what is happening here? Is this normal?
> Thanks.
>


Re: Failing to compile runPiperGui profile in Intellij [EXTERNAL]

2018-03-30 Thread Finan, Sean
By the way, if you use the exec goal you can do things like pass more memory or 
start with the default clinical pipeline, etc.  Sean


clinicalGui


clinicalGui





org.codehaus.mojo
exec-maven-plugin
1.2.1



compile



exec




java

true

true

${project.parent.basedir}

-classpath

-Xmx4G

org.apache.ctakes.gui.pipeline.PiperRunnerGui
-p

resources/org/apache/ctakes/clinical/pipeline/DefaultFastPipeline.piper








From: Reed Villanueva 
Sent: Thursday, March 29, 2018 4:08 PM
To: dev@ctakes.apache.org
Subject: Failing to compile runPiperGui profile in Intellij [EXTERNAL]

​Using the instructions of the dev guide (
https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_CTAKES_cTAKES-2B4.0-2BDeveloper-2BInstall-2BGuide-23cTAKES4.0DeveloperInstallGuide-2DRunningUIMACVDwithMaven=DwIFaQ=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao=xSzM-Gf8hgP4XQgXM74hPSwUsXhvzcKWWkVfDnaid5Y=7uzLWQ_UTWoiVqMKOzfom8yVgwXpBoHOeKpqzzlrWok=)​
to try to compile the runPiperGui profile in Intellij IDE, I get the
following error:

[INFO] ctakes-examples  FAILURE [
> 9.248 s]
> [INFO] Apache cTAKES Resources ctakes-ytex-res  SKIPPED
> [INFO] Apache cTAKES YTEX . SKIPPED
> [INFO] Apache cTAKES YTEX UIMA  SKIPPED
> [INFO] Apache cTAKES YTEX Web . SKIPPED
> [INFO] Apache cTAKES Distribution . SKIPPED
> [INFO] Apache cTAKES Regression-test .. SKIPPED
> [INFO] Apache cTAKES template filler .. SKIPPED
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 20.514 s
> [INFO] Finished at: 2018-03-29T09:38:11-10:00
> [INFO] Final Memory: 72M/1300M
> [INFO]
> 
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default) on project
> ctakes-examples: Unable to parse configuration of mojo
> org.codehaus.mojo:exec-maven-plugin:1.2.1:java for parameter arguments:
> Cannot store value into array: ArrayStoreException -> [Help 1]


Don't work with java often, but googling the error, looking at this stack
overflow post (
https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_23832192_mvn-2Dexecexec-2Dand-2Dmvn-2Dexecjava-2Ddifference=DwIFaQ=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao=xSzM-Gf8hgP4XQgXM74hPSwUsXhvzcKWWkVfDnaid5Y=lKgucjFz23lmBLcQEyhJpt_kX_bc4cZm3kVaQj3R5-I=),
and taking a shot in the dark, I changed the
trunk/ctakes-examples/pom.xml's execution goal for the
org.codehaus.mojo.exec-maven-plugin plugin from


> 
> org.codehaus.mojo
> exec-maven-plugin
> 
> 
> 
> java
> 
> 
> 
> 
>
> to

> 
> 
> org.codehaus.mojo
> exec-maven-plugin
> 
> 
> 
> exec
> 
> 
> 
> 
>
> I now seem to be able to compile the piper submitter GUI (though the error
does show up after I close the GUI).

Could someone let me know what is happening here? Is this normal?
Thanks.


Re: Failing to compile runPiperGui profile in Intellij [EXTERNAL]

2018-03-30 Thread Finan, Sean
This appears to be a bug in intellij, and oddly enough it just started showing 
up in my system today.

You can go through the possible solutions here (I haven't tried):
https://stackoverflow.com/questions/20496239/maven-plugins-can-not-be-found-in-intellij

There are probably other solutions out there.  If you find one please share.

Sean



From: Reed Villanueva 
Sent: Thursday, March 29, 2018 4:08 PM
To: dev@ctakes.apache.org
Subject: Failing to compile runPiperGui profile in Intellij [EXTERNAL]

​Using the instructions of the dev guide (
https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_CTAKES_cTAKES-2B4.0-2BDeveloper-2BInstall-2BGuide-23cTAKES4.0DeveloperInstallGuide-2DRunningUIMACVDwithMaven=DwIFaQ=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao=xSzM-Gf8hgP4XQgXM74hPSwUsXhvzcKWWkVfDnaid5Y=7uzLWQ_UTWoiVqMKOzfom8yVgwXpBoHOeKpqzzlrWok=)​
to try to compile the runPiperGui profile in Intellij IDE, I get the
following error:

[INFO] ctakes-examples  FAILURE [
> 9.248 s]
> [INFO] Apache cTAKES Resources ctakes-ytex-res  SKIPPED
> [INFO] Apache cTAKES YTEX . SKIPPED
> [INFO] Apache cTAKES YTEX UIMA  SKIPPED
> [INFO] Apache cTAKES YTEX Web . SKIPPED
> [INFO] Apache cTAKES Distribution . SKIPPED
> [INFO] Apache cTAKES Regression-test .. SKIPPED
> [INFO] Apache cTAKES template filler .. SKIPPED
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 20.514 s
> [INFO] Finished at: 2018-03-29T09:38:11-10:00
> [INFO] Final Memory: 72M/1300M
> [INFO]
> 
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default) on project
> ctakes-examples: Unable to parse configuration of mojo
> org.codehaus.mojo:exec-maven-plugin:1.2.1:java for parameter arguments:
> Cannot store value into array: ArrayStoreException -> [Help 1]


Don't work with java often, but googling the error, looking at this stack
overflow post (
https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_23832192_mvn-2Dexecexec-2Dand-2Dmvn-2Dexecjava-2Ddifference=DwIFaQ=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao=xSzM-Gf8hgP4XQgXM74hPSwUsXhvzcKWWkVfDnaid5Y=lKgucjFz23lmBLcQEyhJpt_kX_bc4cZm3kVaQj3R5-I=),
and taking a shot in the dark, I changed the
trunk/ctakes-examples/pom.xml's execution goal for the
org.codehaus.mojo.exec-maven-plugin plugin from


> 
> org.codehaus.mojo
> exec-maven-plugin
> 
> 
> 
> java
> 
> 
> 
> 
>
> to

> 
> 
> org.codehaus.mojo
> exec-maven-plugin
> 
> 
> 
> exec
> 
> 
> 
> 
>
> I now seem to be able to compile the piper submitter GUI (though the error
does show up after I close the GUI).

Could someone let me know what is happening here? Is this normal?
Thanks.