This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>edu.someone.cas</groupId> | |
<artifactId>local-cas</artifactId> | |
<packaging>war</packaging> | |
<version>1.0-SNAPSHOT</version> | |
<build> | |
<plugins> |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This is a multi-module Maven project.
Here's what you get:
hrs-portlets-api
: an API!hrs-portlets-webapp
: a webapp! Which uses the API! But includes no implementation of the API!hrs-portlets-bnsemail-impl
, hrs-portlets-cypress-impl
, hrs-portlets-ps-impl
: implementations of the API!hrs-portlets-demo-impl
: a no-dependencies demo-data implementation of the API!hrs-portlets-local-example
: an example of what you're supposed to do to implement this locally!<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Licensed to Jasig under one or more contributor license | |
agreements. See the NOTICE file distributed with this work | |
for additional information regarding copyright ownership. | |
Jasig licenses this file to you under the Apache License, | |
Version 2.0 (the "License"); you may not use this file | |
except in compliance with the License. You may obtain a | |
copy of the License at: |
import os | |
import re | |
import sys | |
''' | |
Given the path to a directory containing uPortal portlet-definition.xml entity files, prints the title element from each. | |
Assumes . if target directory not specified. | |
Example of running: | |
$ python list_portlets.py /Users/apetro/code/code_doit/MUM-overlay/my-prod-overlay/entities/tags/entities-51/src/main/resources/portlet-definition |
<{https://source.jasig.org/schemas/uportal/io/user}user version="4.0">,23 | |
... | |
SUCCESS,file [/Users/apetro/code/github_jasig/uPortal/uportal-war/src/main/data/quickstart_entities/user/favorite-lo.user.xml],12.19ms | |
... | |
<fragment-definition script="classpath://org/jasig/portal/io/import-fragment-definition_v3-1.crn">,16 | |
SUCCESS,file [/Users/apetro/code/github_jasig/uPortal/uportal-war/src/main/data/quickstart_entities/fragment-definition/_favorite-lo.fragment-definition.xml],64.61ms | |
... | |
<fragment-layout script="classpath://org/jasig/portal/io/import-layout_v3-2.crn">,16 | |
FAIL,file [/Users/apetro/code/github_jasig/uPortal/uportal-war/src/main/data/quickstart_entities/fragment-layout/_favorite-lo.fragment-layout.xml],10.10ms | |
... |
FAIL: fragment-layout - _favorite-lo.fragment-layout.xml | |
-------------------------------------------------------------------------------- | |
java.lang.RuntimeException: Unrecognized user favorite-lo; you must import users before their layouts or set org.jasig.portal.io.layout.errorOnMissingUser to false. | |
at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.importLayout(RDBMDistributedLayoutStore.java:746) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | |
at java.lang.reflect.Method.invoke(Method.java:597) | |
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) | |
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) |
<!-- | |
Licensed to Jasig under one or more contributor license | |
agreements. See the NOTICE file distributed with this work | |
for additional information regarding copyright ownership. | |
Jasig licenses this file to you under the Apache License, | |
Version 2.0 (the "License"); you may not use this file | |
except in compliance with the License. You may obtain a | |
copy of the License at: |
import os | |
import re | |
import sys | |
''' | |
Given the path to a directory containing uPortal portlet-definition.xml entity files, prints the title element from each. | |
Assumes . if target directory not specified. | |
Example of running: | |
$ python list_portlets.py /Users/apetro/code/code_doit/MUM-overlay/my-prod-overlay/entities/tags/entities-51/src/main/resources/portlet-definition |
Sample uPortal Developer Job Description
This sample job description is light on the requirements and heavy on the desirable qualifications. The right candidate can learn the needed skills. Hire for attitude and ability to learn more so than hiring for specific skills.