README #1

  • //
  • guest/
  • perforce_software/
  • p4eclipse/
  • 2014-1/
  • src/
  • 3.7/
  • build/
  • p4eclipse_target/
  • README
  • View
  • Commits
  • Open Download .zip Download (2 KB)
The target files defines the jars to build against. You can run from commandline to build update sites: 
$> ./build_linux.sh updatesite -DtargetPlatform=p4e-42

or build an rcp:
$> ./build_linux.sh rcp -DtargetPlatform=p4e-42

We also created maven repo at http://artifactory.bnr.perforce.com:8081/artifactory, you can cache the artifacts by:

$> ./build_linux.sh updatesite -DtargetPlatform=p4e-42 -Dp2repo.url=http://artifactory.bnr.perforce.com:8081/artifactory/p2repo-42/
$> ./build_linux.sh rcp -DtargetPlatform=p4e-42 -Dp2repo.url=http://artifactory.bnr.perforce.com:8081/artifactory/p2repo-42/

When in development mode, you can import the target files as the active "Target Platform".

To run the UI test:

$> ./build_linux.sh testAlone -DtargetPlatform=p4e-42 -Dp2repo.url=http://artifactory.bnr.perforce.com:8081/artifactory/p2repo-42/
or
$> export WORKSPACE=/home/ali/Perforce/ali_p4eclipse_dev_lt/p4eclipsedev/3.7
$> ./build_linux.sh updatesite -DtargetPlatform=p4e-42 -Dp2repo.url=http://artifactory.bnr.perforce.com:8081/artifactory/p2repo-42/
$> cd $WORKSPACE;mkdir site;cd site; unzip ../p4eclipse-updatesite*.zip;
$> mvn clean verify -fae -P p4test,p4repo,codeCoverage -DtargetPlatform=p4e-42 -Dp2repo.url=http://artifactory.bnr.perforce.com:8081/artifactory/p2repo-42/ -Dp4repo.url=file:$WORKSPACE/build/p4eclipse_repo/target/repository/

then analyze coverage
$> mvn sonar:sonar -Pp4update,codeCoverage,p4repo -DtargetPlatform=p4e-42 -Dp2repo.url=http://artifactory.bnr.perforce.com:8081/artifactory/p2repo-42/ -Dp4repo.url=file:$WORKSPACE/site



# Change User Description Committed
#1 15907 Matt Attaway More house cleaning to match Workshop best practices
//guest/perforce_software/p4eclipse/r14.1/src/3.7/build/p4eclipse_target/README
#1 12432 Matt Attaway Initial commit of the 2014.1 P4Eclipse source code.