which IDE is best for building Java px for Agile PLM?

can you pls. suggest what is the best IDE to build Java px for Agile PLM?

Add Comment
8 Answer(s)

Hi,
There isn’t the best IDE for developing Agile Java PXs in my opionion.
I am using eclipse since years without any issue to develop Java PXs.

Agile Angel Answered on February 2, 2017.
Add Comment

You can also use IntelliJ or NetBeans
User friendly are Eclipse and IntelliJ.

Agile User Answered on February 8, 2017.
Add Comment

Thanks Antonio and Kaistubh. I am new to Java development. I am facing challenges with building a jar file when log4j2 is used. without the log4j2, the px shows up in the process extension drop down list and get an error “missing resource java.util.MissingResourceException: Can’t find bundle for base name ProcessAudit, locale en_US
IO (No such file or directory)”. With log4j2 code, the px doesn’t even show up in the process extensions list.

I am trying to build the ,jar in netbeans.

Agile User Answered on February 8, 2017.

Add log4j in library, configure property file and build project.

on February 8, 2017.
Add Comment

application server has JDK1.7. do i need to build the jar file with JDK 1.7 itself or even jar files built with JDK 1.8 also work .

Agile User Answered on February 8, 2017.

You need to compile it with 1.7 else it will not work

on February 8, 2017.
Add Comment

Attached is the build.xml that I am using in netbeans project. I have included both log4j2 core and API jars in the classpath. but new px doesn’t show up in the drop down list. Apreciate if you can help me to find the issue. I am compiling it with JDK 1.7.

Agile User Answered on February 8, 2017.
Add Comment

java.lang.UnsupportedClassVersionError: com/agile/audit/myvalidator/ProcessAudit : Unsupported major.minor version 52.0. I am seeing this error in the logs. Does this mean that this is compiled using JDK1.8 instead of JDK1.7? how to make sure it is compiled using JDK1.7 using build.xml?

Agile User Answered on February 8, 2017.
Add Comment

Re; Log4J :
Use the SAME log4j.jar file that is in the Agile PLM.  Look under  your installation folder/agileDomain/lib

Re:JDK version.
Use the same JDK version (7 or 8) installed on your Agile PLM application server when you setup Eclipse Configure Build Path.

Re; Class not found
Are you using the same AgileAPI.jar / pxapi.jar file in you dependency (i.e. Configure Build  Path ).  Does this file exist under your integration/sdk/lib folder ?

Re: drop down not showing
1) did you clear the cache ?
2) as a last resort, clear sdk cache, remove existing PX.jar file , stop app server, clear all content of  servers fold, restart app server , re-deploy and verify

A suggestion on verifying if the px shows up in the drop down is to build an empty PX class that just return success and deploy with the ONLY dependency on AgileAPI.jar and pxapi.jar.  If this class shows up, then you can start adding extra dependencies. and do “hot deployment”.

Agile Talent Answered on February 9, 2017.
Add Comment

Thanks Guys for your responses. I am able to create the jar file now using eclipse.

Agile User Answered on March 10, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.