-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UP-4179: uPortal 5 project overhault with a Gradle-based build #715
Conversation
… furtherance of the plan documented here: https://wiki.jasig.org/display/UPC/uPortal+5+Project+Overhaul
…he -all (not -bin) distro becasue it's better for IDE tooling
- settings.gradle (defines project name and 3 submodules intended for Soffit) - gradle.properties (group & version, some project metadata we may or may not use) - build.gradle (mostly just the com.gradle.build-scan plugin)
…OL_NOSTORE and CACHE_CONTROL_NOCACHE constants to uPortal-soffit/ because they're needed by both submodules
…r; this is the portlet application context file for the Soffit Connector portlet
Travis CI seems to be invoking |
…existing code into them - uPortal-core - uPortal-rdbm - uPortal-utils
…g.jasig.portal.api' to 'org.apereo...'
….portal...' and into 'org.apereo.portal...' - org.apereo.portal.channel - org.apereo.portal.character.stream - org.apereo.portal.character.stream.events - org.apereo.portal.concurrency - org.apereo.portal.concurrency.caching - org.apereo.portal.concurrency.locking
… relics of an earlier age
…rg.jasig.portal...' and into 'org.apereo.portal...'
…ackages -- out of 'org.jasig.portal...' and into 'org.apereo.portal...'
…ages -- and all subpackages -- out of 'org.jasig.portal...' and into 'org.apereo.portal...'
…ges -- and all subpackages -- out of 'org.jasig.portal...' and into 'org.apereo.portal...'
…portal-war/src/main/groovy/org/jasig/... into .../apereo/...
…est/java/org/jasig/... into .../apereo/...
…/' the folders 'channels' and 'lang' because their contents are orphaned
…'org.jasig.portal' to 'org.apereo.portal'
…jasig.portal' to 'org.apereo.portal'
…ces make sense (some will, particularly a few within Import/Export)
@holdorph -- I ran some tests. Here's what I now believe... I thought that the command I have made these changes. |
@@ -20,6 +20,6 @@ | |||
|
|||
--> | |||
<entity-type script="classpath://org/jasig/portal/io/import-entity-type_v3-2.crn"> | |||
<name>org.apereo.portal.security.IPermissionSet</name> | |||
<name>org.jasig.portal.security.IPermissionSet</name> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wait, shouldn't these be changing from jasig
to apereo
, not vice verse?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep -- that was a mistake that crept in when I was trying to erase unwanted changes the IDE had made auto-magically to uportal-war/src/main/data
. Should be fixed already.
@@ -20,6 +20,6 @@ | |||
|
|||
--> | |||
<entity-type script="classpath://org/jasig/portal/io/import-entity-type_v3-2.crn"> | |||
<name>org.apereo.portal.security.IPerson</name> | |||
<name>org.jasig.portal.security.IPerson</name> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, shouldn't these be changing from jasig
to apereo
, not vice verse?
@@ -728,6 +728,20 @@ | |||
<!-- --> | |||
|
|||
<!-- Internal use --> | |||
<target name="gradle-install" description="Build and install (in maven local) the uPortal modules that have been ported to a Gradle-based build"> | |||
<!-- | |||
| TEMPORARY MEASURE! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was a temporary measure for before move to gradle, can this be removed now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not yet. Probably we will need that target as long as we need the build.xml
file. We'll be able to remove that file entirely after Phase II (though maybe not immediately).
@@ -0,0 +1,294 @@ | |||
package org.apereo.portal.soffit.renderer; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File is missing ASF License header
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've just run $mvn license:format
on the whole project. It picked up that, plus a hand full of other items. Soon to be committed.
…adress a few small issues with Import/Export that arose from the repackaging from 'org.jasig.portal' to 'org.apereo.portal'
…g/apereo/portal/io/ that were made auto-magically by the IDE in repackaging from 'org.jasig.portal' to 'org.apereo.portal'
https://issues.jasig.org/browse/UP-4179
This is only the beginning of this work.
Please see the wiki page for this effort: https://wiki.jasig.org/display/UPC/uPortal+5+Project+Overhaul
The complete plan is outlined there.
Tasks
/org/jasig/portal/
(classapth) to/org/apereo/portal/
script
attributes of existing files insrc/main/data
unchangedorg.jasig.portal
within...uportal-war/src/main/javaorg.apereo.portal.portlets.image.ImagePortletController
org.jasig.portal
and verify that remaining occurrences make sense (some will, particularly a few within Import/Export)