cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

How to use J_Link with Apache Maven

ptc-830759
1-Visitor

How to use J_Link with Apache Maven

To use Apache Maven with J-Link you have to upload the pfc.jar and/or the pfcasync.jar in you local repository:

 

Go to <maven-installation-path>/bin an execute the command:

mvn install:install-file -Dfile=<proEngineer-installation-path>\text\java\pfcasync.jar -DgroupId=com.ptc.proe -DartifactId=ptcproe -Dversion=Wildfire_3.230_64Bit -Dpackaging=dll -DgeneratePom=true

 

The options DgroupId, DartifactId, and Dversion are examples. Importent is that you set the option Dpackaging to dll otherwise you will have problems to load the necessary dll's.

 

Additional:

For ProductView you have to execute the foloowing command:

mvn install:install-file -Dfile=<ProductView API-install path>\java\jar\pview.jar -DgroupId=com.ptc.productview -DartifactId=ptcpv -Dversion=9.1.M030 -Dpackaging=jar -DgeneratePom=true

0 REPLIES 0
Announcements


Top Tags