Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

[10:32:11 CST(-0600)] <gear__> Hello ...

[10:32:38 CST(-0600)] <gear__> I'm having an issue with the "ant initPortal" during the install

[10:33:18 CST(-0600)] <dmccallum54> care to post a gist of the full error?

[10:33:24 CST(-0600)] <gear__> I'm following the instructions and version found here https://wiki.jasig.org/display/SSP/SSP+v2.0.1+Installation+Instructions

[10:33:36 CST(-0600)] <gear__> using the zip file found there too

[10:33:48 CST(-0600)] <gear__> here's the gist of the error message..

[10:36:37 CST(-0600)]

<gear__> could not resolve placeholder 'buildNumber' in string value [$

Unknown macro: {buildNumber}

]

[10:37:22 CST(-0600)] <gear__> this is happening in the 'resource [properties/contexts/jsonRenderingPipelineContext.xml]'

[10:38:19 CST(-0600)] <gear__> now, I'm a novice at SSP and uPortal, granted...

[10:38:42 CST(-0600)] <gear__> I did try to add buildNumber=0 to a few properties and filter files hoping that would help, but it did not

[10:39:44 CST(-0600)] <dmccallum54> this is usually caused by git not being on your path

[10:39:53 CST(-0600)] <dmccallum54> but let me check that zip to see if that would even help. one sec.

[10:41:04 CST(-0600)] <gear__> FWIW, git is installed and available in the path (verified by 'which git')

[10:41:10 CST(-0600)] <dmccallum54> looks like it won't help.

[10:41:29 CST(-0600)] <dmccallum54> let me figure out a workaround. one (more) sec.

[10:41:35 CST(-0600)] <gear__> many thanks

[11:00:50 CST(-0600)] <dmccallum54> ok. so there should be a way to do this from the command line without editing source files, but it doesn't seem to be working. so there are at least two other options...

[11:01:17 CST(-0600)] <dmccallum54> in the exploded zip edit: ./uportal-war/src/main/resources/properties/portal.properties

[11:01:21 CST(-0600)] <dmccallum54> and replace this line:

[11:01:33 CST(-0600)]

<dmccallum54> org.jasig.portal.scmRevision=$

Unknown macro: {buildNumber}

[11:01:33 CST(-0600)] <dmccallum54> with:

[11:01:38 CST(-0600)] <dmccallum54> org.jasig.portal.scmRevision=ssp-platform-1.2.1-release

[11:03:28 CST(-0600)] <dmccallum54> the other option is to find the buildnumber-maven-plugin definitions in ./uportal-war/pom.xml and ./uportal-portlets-overlay/pom.xml and add this below the <executions> element:

[11:03:43 CST(-0600)] <dmccallum54> <configuration>

[11:03:43 CST(-0600)] <dmccallum54> <revisionOnScmFailure>ssp-platform-1.2.1-release</revisionOnScmFailure>

[11:03:43 CST(-0600)] <dmccallum54> </configuration>

[11:06:14 CST(-0600)] <gear__> I think the first works better for our purposes, let me give that a try first...

[11:19:49 CST(-0600)] <dmccallum54> i've updated the installation instructions and opened a ticket to get this fixed

[11:21:12 CST(-0600)] <dmccallum54> https://issues.jasig.org/browse/SSP-1909

[14:51:15 CST(-0600)] <gear__> Hello again

[14:51:22 CST(-0600)] <gear__> thanks again for your help this morning

[14:51:54 CST(-0600)] <gear__> I've run into another issue during the 'ant initPortal' command...

[14:52:29 CST(-0600)] <gear__> essentially the error is 'unable to build entitymanagerfactory'

[14:52:41 CST(-0600)] <gear__> it is a pretty long stacktrace

  • No labels