Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Instructions for PTP Maven build

Dave,

I was able to build PTP using the maven directly, from a clone of the PTP repository:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] PTP Parent ......................................... SUCCESS [  0.446 s]
[INFO] org.eclipse.ptp.target ............................. SUCCESS [  1.494 s]
[INFO] org.eclipse.ptp.core ............................... SUCCESS [  2.966 s]
[INFO] org.eclipse.ptp.ems.core ........................... SUCCESS [  0.642 s]
[INFO] org.eclipse.ptp.rm.jaxb.core ....................... SUCCESS [  0.647 s]
[INFO] org.eclipse.ptp.rm.jaxb.ui ......................... SUCCESS [  0.226 s]
[INFO] org.eclipse.ptp.remote.server.core ................. SUCCESS [  0.154 s]
[INFO] org.eclipse.ptp.rm.lml.da.server ................... SUCCESS [  1.002 s]
[INFO] org.eclipse.ptp.rm.jaxb.control.core ............... SUCCESS [  0.454 s]
[INFO] org.eclipse.ptp.rm.jaxb.control.ui ................. SUCCESS [  0.419 s]
[INFO] org.eclipse.ptp.ems.ui ............................. SUCCESS [  0.261 s]
[INFO] org.eclipse.ptp.debug.core ......................... SUCCESS [  1.056 s]
[INFO] org.eclipse.ptp.ui ................................. SUCCESS [  0.399 s]
[INFO] org.eclipse.ptp.debug.ui ........................... SUCCESS [  0.597 s]
[INFO] org.eclipse.ptp.rm.lml.core ........................ SUCCESS [  0.388 s]
[INFO] org.eclipse.ptp.rm.lml.monitor.core ................ SUCCESS [  0.179 s]
[INFO] org.eclipse.ptp.rm.lml.ui .......................... SUCCESS [  0.312 s]
[INFO] org.eclipse.ptp.launch ............................. SUCCESS [  0.443 s]
[INFO] org.eclipse.ptp.proxy .............................. SUCCESS [  0.110 s]
[INFO] org.eclipse.ptp.proxy.protocol ..................... SUCCESS [  0.451 s]
[INFO] org.eclipse.ptp.remote.terminal .................... SUCCESS [  0.263 s]
[INFO] org.eclipse.ptp.utils .............................. SUCCESS [  0.043 s]
[INFO] org.eclipse.ptp.doc.user ........................... SUCCESS [  0.374 s]
[INFO] org.eclipse.ptp.doc.isv ............................ SUCCESS [ 52.069 s]
[INFO] org.eclipse.ptp.debug.sdm .......................... SUCCESS [  0.235 s]
[INFO] org.eclipse.ptp.debug.sdm.core ..................... SUCCESS [  0.290 s]
[INFO] org.eclipse.ptp.debug.sdm.ui ....................... SUCCESS [  0.222 s]
[INFO] org.eclipse.ptp.rdt.sync.core ...................... SUCCESS [  0.232 s]
[INFO] org.eclipse.ptp.rdt.sync.cdt.core .................. SUCCESS [  0.231 s]
[INFO] org.eclipse.ptp.rdt.sync.git.core .................. SUCCESS [  0.212 s]
[INFO] org.eclipse.ptp.rdt.sync.ui ........................ SUCCESS [  0.328 s]
[INFO] org.eclipse.ptp.rdt.sync.cdt.ui .................... SUCCESS [  0.289 s]
[INFO] org.eclipse.ptp.rdt.sync.git.ui .................... SUCCESS [  0.165 s]
[INFO] org.eclipse.ptp.rdt.sync.fortran.ui ................ SUCCESS [  0.212 s]
[INFO] org.eclipse.ptp .................................... SUCCESS [  0.024 s]
[INFO] org.eclipse.ptp.aix ................................ SUCCESS [  0.098 s]
[INFO] org.eclipse.ptp.cdt.compilers.core ................. SUCCESS [  0.092 s]
[INFO] org.eclipse.ptp.rm.jaxb.configs .................... SUCCESS [  0.024 s]
[INFO] org.eclipse.ptp.rm.jaxb.doc.user ................... SUCCESS [  0.063 s]
[INFO] org.eclipse.ptp.rm.lml.da .......................... SUCCESS [  0.046 s]
[INFO] org.eclipse.ptp.rm.lml.monitor.ui .................. SUCCESS [  0.252 s]
[INFO] org.eclipse.ptp.core ............................... SUCCESS [  0.149 s]
[INFO] org.eclipse.ptp.core.source ........................ SUCCESS [  0.075 s]
[INFO] org.eclipse.ptp.etfw.toolopts ...................... SUCCESS [  0.154 s]
[INFO] org.eclipse.ptp.etfw.jaxb .......................... SUCCESS [  0.191 s]
[INFO] org.eclipse.ptp.etfw ............................... SUCCESS [  0.309 s]
[INFO] org.eclipse.ptp.etfw.parallel ...................... SUCCESS [  0.210 s]
[INFO] org.eclipse.ptp.etfw.feedback ...................... SUCCESS [  0.195 s]
[INFO] org.eclipse.ptp.etfw.doc.user ...................... SUCCESS [  0.062 s]
[INFO] org.eclipse.ptp.etfw.launch ........................ SUCCESS [  0.279 s]
[INFO] org.eclipse.ptp.etfw ............................... SUCCESS [  0.068 s]
[INFO] org.eclipse.ptp.etfw.tau.papiselect ................ SUCCESS [  0.213 s]
[INFO] org.eclipse.ptp.etfw.tau.perfdmf ................... SUCCESS [  0.208 s]
[INFO] org.eclipse.ptp.etfw.tau ........................... SUCCESS [  0.263 s]
[INFO] org.eclipse.ptp.etfw.tau.selinst ................... SUCCESS [  0.171 s]
[INFO] org.eclipse.ptp.etfw.tau.ui ........................ SUCCESS [  0.244 s]
[INFO] org.eclipse.ptp.etfw.tau ........................... SUCCESS [  0.055 s]
[INFO] org.eclipse.ptp.etfw.tau.selinstfort ............... SUCCESS [  0.149 s]
[INFO] org.eclipse.ptp.etfw.tau.fortran ................... SUCCESS [  0.035 s]
[INFO] org.eclipse.ptp.etfw.feedback.perfsuite ............ SUCCESS [  0.264 s]
[INFO] org.eclipse.ptp.etfw.feedback.perfsuite.doc.user ... SUCCESS [  0.054 s]
[INFO] org.eclipse.ptp.etfw.feedback.perfsuite ............ SUCCESS [  0.041 s]
[INFO] org.eclipse.ptp.rdt.sync.fortran ................... SUCCESS [  0.045 s]
[INFO] org.eclipse.ptp.pldt.common ........................ SUCCESS [  0.269 s]
[INFO] org.eclipse.ptp.pldt.doc.user ...................... SUCCESS [  0.150 s]
[INFO] org.eclipse.ptp.pldt.mpi.core ...................... SUCCESS [  0.323 s]
[INFO] org.eclipse.ptp.pldt.openmp.analysis ............... SUCCESS [  0.293 s]
[INFO] org.eclipse.ptp.pldt.openmp.ui.pv .................. SUCCESS [  0.187 s]
[INFO] org.eclipse.ptp.pldt.openmp.core ................... SUCCESS [  0.200 s]
[INFO] org.eclipse.ptp.pldt.wizards ....................... SUCCESS [  0.236 s]
[INFO] org.eclipse.ptp.pldt.mpi.analysis.cdt .............. SUCCESS [  0.218 s]
[INFO] org.eclipse.ptp.pldt.mpi.analysis .................. SUCCESS [  0.436 s]
[INFO] org.eclipse.ptp.pldt.openacc.core .................. SUCCESS [  0.103 s]
[INFO] org.eclipse.ptp.pldt.openacc.ui .................... SUCCESS [  0.284 s]
[INFO] org.eclipse.ptp.pldt.openshmem ..................... SUCCESS [  0.315 s]
[INFO] org.eclipse.ptp.pldt ............................... SUCCESS [  0.084 s]
[INFO] org.eclipse.ptp.pldt.mpi.fortran ................... SUCCESS [  0.213 s]
[INFO] org.eclipse.ptp.pldt.openmp.fortran ................ SUCCESS [  0.182 s]
[INFO] org.eclipse.ptp.pldt.openacc.fortran ............... SUCCESS [  0.226 s]
[INFO] org.eclipse.ptp.pldt.fortran ....................... SUCCESS [  0.074 s]
[INFO] org.eclipse.ptp.fortran ............................ SUCCESS [  0.074 s]
[INFO] org.eclipse.ptp.rm.ibm.ll.doc.user ................. SUCCESS [  0.033 s]
[INFO] org.eclipse.ptp.rm.ibm.ll.ui ....................... SUCCESS [  0.020 s]
[INFO] org.eclipse.ptp.rm.ibm.ll .......................... SUCCESS [  0.024 s]
[INFO] org.eclipse.ptp.rm.ibm.pe.doc.user ................. SUCCESS [  0.025 s]
[INFO] org.eclipse.ptp.rm.ibm.pe.ui ....................... SUCCESS [  0.018 s]
[INFO] org.eclipse.ptp.rm.ibm.pe .......................... SUCCESS [  0.027 s]
[INFO] org.eclipse.ptp.rm.slurm.help ...................... SUCCESS [  0.103 s]
[INFO] org.eclipse.ptp.rm.slurm ........................... SUCCESS [  0.028 s]
[INFO] org.eclipse.ptp.rdt.sync ........................... SUCCESS [  0.034 s]
[INFO] org.eclipse.ptp.remote ............................. SUCCESS [  0.024 s]
[INFO] org.eclipse.ptp.remote.terminal .................... SUCCESS [  0.031 s]
[INFO] org.eclipse.ptp.rm.ibm.platform.lsf.ui ............. SUCCESS [  0.175 s]
[INFO] org.eclipse.ptp.rm.ibm.platform.lsf.doc.user ....... SUCCESS [  0.032 s]
[INFO] org.eclipse.ptp.rm.ibm.platform.lsf ................ SUCCESS [  0.036 s]
[INFO] org.eclipse.ptp.rdt.sync.cdt ....................... SUCCESS [  0.036 s]
[INFO] org.eclipse.ptp .................................... SUCCESS [  0.090 s]
[INFO] org.eclipse.ptp.gem ................................ SUCCESS [  0.243 s]
[INFO] org.eclipse.ptp.gem.help ........................... SUCCESS [  0.068 s]
[INFO] org.eclipse.ptp.gem ................................ SUCCESS [  0.037 s]
[INFO] org.eclipse.ptp.linux .............................. SUCCESS [  0.117 s]
[INFO] org.eclipse.ptp.macosx ............................. SUCCESS [  0.041 s]
[INFO] org.eclipse.ptp.pldt.upc ........................... SUCCESS [  0.180 s]
[INFO] org.eclipse.ptp.pldt.upc ........................... SUCCESS [  0.034 s]
[INFO] org.eclipse.ptp.rm.jaxb.contrib .................... SUCCESS [  0.028 s]
[INFO] org.eclipse.ptp.rm.jaxb.contrib .................... SUCCESS [  0.030 s]
[INFO] org.eclipse.ptp.sci ................................ SUCCESS [  0.071 s]
[INFO] org.eclipse.ptp.sci ................................ SUCCESS [  0.025 s]
[INFO] org.eclipse.ptp.rm.jaxb.doc.isv .................... SUCCESS [  0.091 s]
[INFO] org.eclipse.ptp.sdk ................................ SUCCESS [  0.045 s]
[INFO] org.eclipse.ptp.debug.sdm .......................... SUCCESS [  0.040 s]
[INFO] org.eclipse.ptp.repo ............................... SUCCESS [  4.631 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:27 min
[INFO] Finished at: 2019-05-13T16:11:56-04:00
[INFO] Final Memory: 167M/1459M
[INFO] ------------------------------------------------------------------------

I am using maven 3.3.9 and didn't have to remove any maven repository.  I used the following command to build it:

$MAVEN_HOME/bin/mvn -Dinstall-directory=$PTP_INSTALL clean install

where MAVEN_HOME is the directory where maven is installed and the install-directory didn't make a difference.  I see that all JAR files are in a "target" directory in the same directories as the plugin source code.  Not sure how we can collect them in a sort of an install directory where we can easily handle them.  Is there a way to do that we some options to the maven command?

We can compare our environments to make sure they are same.

Greg, thanks so much for your help.



Serban Maerean
HPC Tools
T/L: 293-9770, Tel.: 845-433-9770
E-mail: serban@xxxxxxxxxx




From:        Greg Watson <g.watson@xxxxxxxxxxxx>
To:        Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>
Date:        05/10/2019 10:29 AM
Subject:        Re: [ptp-dev] Instructions for PTP Maven build
Sent by:        ptp-dev-bounces@xxxxxxxxxxx




One thing you might try is changing your repo location in case you have anything old cached:

mvn -Dmaven.repo.local=/some/location clean install

Regards,
Greg

On May 10, 2019, at 10:14 AM, Greg Watson <g.watson@xxxxxxxxxxxx> wrote:

Hi Dave,

Are you still having problems building? I tried running the same command from the top of the org.eclipse.ptp directory on the master branch and it worked fine for me. I'm using maven 3.5.3 on a Mac though, so I'm not sure if this makes a difference.

Regards,
Greg

On May 7, 2019, at 7:31 AM, Greg Watson <g.watson@xxxxxxxxxxxx> wrote:

Hi Dave,

Sorry for taking so long to get back to you. The build command should work. I suspect that there has been some changes to the dependent repos. I'll take a look today and see if I can work it out.

Greg

On Apr 30, 2019, at 11:25 AM, David Wootton <dwootton@xxxxxxxxxx> wrote:

I'm trying to build PTP using Maven and I wasn't able to find instructions explaining how to do that. I tried running mvn -Dinstall-directory=c:/temp/ptp clean install in the org.eclipse.ptp directory and got errors

[INFO] Scanning for projects...
[ERROR] Internal error: java.lang.RuntimeException: Could not resolve target platform specification artifact org.eclipse.ptp:org.eclipse.ptp.target:target:photon:9.2.1-SNAPSHOT -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Could not resolve target platform specification artifact org.eclipse.ptp:org.eclipse.ptp.target:target:photon:9.2.1-SNAPSHOT


I don't need to build Photon, but I'm not sure how to run a PTP-only build.


Is there a set of instructions that explains how to build just PTP?
Dave

_______________________________________________
ptp-dev mailing list

ptp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://www.eclipse.org/mailman/listinfo/ptp-dev

_______________________________________________
ptp-dev mailing list

ptp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://www.eclipse.org/mailman/listinfo/ptp-dev

_______________________________________________
ptp-dev mailing list

ptp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/ptp-dev
_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/ptp-dev



Back to the top