Re: [uportal-dev] CAnnouncements in up3
Ah, that would make sense. I completely missed that method name in your original post. I'll take a look today if we need to deprecate/remove that API today. -Eric Jen Bourey wrote: So after trying a bunch of different things, it seems that the getResourceAsStream method works, but the getResourceAsFile method doesn't. - Jen On Sun, Apr 13, 2008 at 11:30 PM, Eric Dalquist [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: This may actually be related to a change in Tomcat for 5.5.26 that requires resource paths to not start with a /. The only other thing I could think of is the .jar packaging. The resource loader code has not changed to my knowledge but as you can see from the URI it is looking in a .jar file for the properties. -Eric Jen Bourey wrote: Hi all, I'm having trouble deploying the SJDC branch of the CAnnouncements channel to up3 and wondered if anyone had any insight. After fixing up the code to use log4j, it all seems to compile. However, when I deploy it, it's unable to load the properties file correctly. I see the following error in the logs: ERROR [org.jasig.portal.ChannelManager#73] announcements.CAnnouncements.[] Apr/13 22:01:41 - java.io.FileNotFoundException: file:/usr/local/ tomcat_instances/up3-unicon/webapps/uPortal/WEB-INF/lib/uportal-impl-3.0.0-SNAPSHOT.jar!/properties/announcements/CAnnouncements.properties The channel appears to be using the ResourceLoader.getResourceAsFile method to load the properties. It doesn't seem to be a very widely used method; the only other user in the uPortal source code is using it with a relative path to a resource, rather than one that starts with /. Has the behavior of this method changed in up3? Is there anything in particular I should be looking out for? Have I likely misconfigured something? I did double check to make sure that the CAnnouncements.properties file really is getting added to the uportal jar. Thanks, - Jen -- Join your friends and colleagues at JA-SIG 2008 - Higher Education Solutions: The Community Source Way! April 27th - 30th, 2008 in St. Paul, Minnesota USA Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more! Information/Registration at: http://www.ja-sig.org/conferences/08spring/index.html Subscribe to the conference blog, The Community Source Way http://jasig2008.blogspot.com http://jasig2008.blogspot.com/, for news and updates about the event. Join the Conference networking site at http://ja-sigspring08.crowdvine.com/ You are currently subscribed to uportal-dev@lists.ja-sig.org mailto:uportal-dev@lists.ja-sig.org as: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev -- Join your friends and colleagues at JA-SIG 2008 - Higher Education Solutions: The Community Source Way! April 27th - 30th, 2008 in St. Paul, Minnesota USA Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more! Information/Registration at: http://www.ja-sig.org/conferences/08spring/index.html Subscribe to the conference blog, The Community Source Way http://jasig2008.blogspot.com http://jasig2008.blogspot.com/, for news and updates about the event. Join the Conference networking site at http://ja-sigspring08.crowdvine.com/ You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL PROTECTED] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev smime.p7s Description: S/MIME Cryptographic Signature
[uportal-dev] import/export script tweaks
I'd like to make some changes to the import/export scripts as outlined here: http://www.ja-sig.org/issues/browse/UP-1897 The base idea is that currently importing a .user without also importing a corresponding .layout results in an entry in UP_USER that cannot log in since the user's profile is imported as well even though the profile may require a layout. The change is moving the profile information from the .user files into the .layout files. This would result in a .user that can be imported and function even if that user has no layout. Entities exported from 2.6 will still function as the 2.6 format import scripts are not touched by the change. If anyone feels strongly either way (include or wait until after the 3.0 release) please let me know. -Eric smime.p7s Description: S/MIME Cryptographic Signature
[uportal-dev] [VOTE] Upcoming 3.0 release
My current plan is to cut the uPortal 3.0.0-GA release this week (Wednesday or Thursday). There are only a few Jira issues remaining [1] and none of the fixes since RC3 have been major changes. [1] http://www.ja-sig.org/issues/secure/IssueNavigator.jspa?reset=truepid=10020resolution=-1fixfor=10550sorter/field=prioritysorter/order=DESC If you have an objection (-1 vote) please provide a few lines as to why. Thank you, -Eric smime.p7s Description: S/MIME Cryptographic Signature
Re: [uportal-dev] [VOTE] Upcoming 3.0 release
+1 Eric Dalquist wrote: My current plan is to cut the uPortal 3.0.0-GA release this week (Wednesday or Thursday). There are only a few Jira issues remaining [1] and none of the fixes since RC3 have been major changes. [1] http://www.ja-sig.org/issues/secure/IssueNavigator.jspa?reset=truepid=10020resolution=-1fixfor=10550sorter/field=prioritysorter/order=DESC If you have an objection (-1 vote) please provide a few lines as to why. Thank you, -Eric -- Join your friends and colleagues at JA-SIG 2008 - Higher Education Solutions: The Community Source Way! April 27th - 30th, 2008 in St. Paul, Minnesota USA Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more! Information/Registration at: http://www.ja-sig.org/conferences/08spring/index.html Subscribe to the conference blog, The Community Source Way http://jasig2008.blogspot.com, for news and updates about the event. Join the Conference networking site at http://ja-sigspring08.crowdvine.com/ You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL PROTECTED] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
Re: [uportal-dev] [VOTE] Upcoming 3.0 release
+1 On Mon, Apr 14, 2008 at 10:15 AM, Eric Dalquist [EMAIL PROTECTED] wrote: My current plan is to cut the uPortal 3.0.0-GA release this week (Wednesday or Thursday). There are only a few Jira issues remaining [1] and none of the fixes since RC3 have been major changes. [1] http://www.ja-sig.org/issues/secure/IssueNavigator.jspa?reset=truepid=10020resolution=-1fixfor=10550sorter/field=prioritysorter/order=DESC If you have an objection (-1 vote) please provide a few lines as to why. Thank you, -Eric -- Join your friends and colleagues at JA-SIG 2008 - Higher Education Solutions: The Community Source Way! April 27th - 30th, 2008 in St. Paul, Minnesota USA Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more! Information/Registration at: http://www.ja-sig.org/conferences/08spring/index.html Subscribe to the conference blog, The Community Source Way http://jasig2008.blogspot.com, for news and updates about the event. Join the Conference networking site at http://ja-sigspring08.crowdvine.com/ You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL PROTECTED] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
Re: [uportal-dev] import/export script tweaks
Eric Dalquist wrote: I'd like to make some changes to the import/export scripts as outlined here: http://www.ja-sig.org/issues/browse/UP-1897 The base idea is that currently importing a .user without also importing a corresponding .layout results in an entry in UP_USER that cannot log in since the user's profile is imported as well even though the profile may require a layout. The change is moving the profile information from the .user files into the .layout files. This would result in a .user that can be imported and function even if that user has no layout. Entities exported from 2.6 will still function as the 2.6 format import scripts are not touched by the change. As we discussed last week, I feel these changes are desirable and would be happy to see them make it, all else being equal. Looking at the .patch file, I see a lot of LEFT JOIN expressions in the SQL statements -- are you confident that these will run on all the common RDBMS platforms? I'm not a SQL guru, and I can't remember which vendors support and don't support specific syntax. I mostly just try to keep the SQL simple in uPortal. Can anyone chime in on the subject of LEFT JOIN on the following DB flavors, either all of them or individually? - hsqldb - postgresql - oracle - *MS SQL Server* - mysql drew wills -- Andrew Wills UNICON, Inc. Office: (480) 558-2476 http://code.google.com/p/cernunnos/ -- Join your friends and colleagues at JA-SIG 2008 - Higher Education Solutions: The Community Source Way! April 27th - 30th, 2008 in St. Paul, Minnesota USA Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more! Information/Registration at: http://www.ja-sig.org/conferences/08spring/index.html Subscribe to the conference blog, The Community Source Way http://jasig2008.blogspot.com, for news and updates about the event. Join the Conference networking site at http://ja-sigspring08.crowdvine.com/ You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL PROTECTED] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
Re: [uportal-dev] [VOTE] Upcoming 3.0 release
+1 to release uPortal 3.0.0 GA. Eric (and a few others) has done a fantastic job responding to issues in the release candidates, which have been exercised by multiple other developers and have been available for some time for review. uPortal 3.0.0 GA cut Wednesday or Thursday will represent a best-foot-forward release putting new adopters on the best available code and positioning existing adopters to start looking to upgrade. Thanks, Eric, Jen, all. Andrew Jen Bourey wrote: +1 On Mon, Apr 14, 2008 at 10:15 AM, Eric Dalquist [EMAIL PROTECTED] wrote: My current plan is to cut the uPortal 3.0.0-GA release this week (Wednesday or Thursday). There are only a few Jira issues remaining [1] and none of the fixes since RC3 have been major changes. [1] http://www.ja-sig.org/issues/secure/IssueNavigator.jspa?reset=truepid=10020resolution=-1fixfor=10550sorter/field=prioritysorter/order=DESC If you have an objection (-1 vote) please provide a few lines as to why. Thank you, -Eric -- Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: The Community Source Way!" April 27th - 30th, 2008 in St. Paul, Minnesota USA Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more! Information/Registration at: http://www.ja-sig.org/conferences/08spring/index.html Subscribe to the conference blog, The Community Source Way http://jasig2008.blogspot.com, for news and updates about the event. Join the Conference networking site at http://ja-sigspring08.crowdvine.com/ You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL PROTECTED] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev -- Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: The Community Source Way!"April 27th - 30th, 2008 in St. Paul, Minnesota USA Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more! Information/Registration at: http://www.ja-sig.org/conferences/08spring/index.html Subscribe to the conference blog, The Community Source Wayhttp://jasig2008.blogspot.com, for news and updates about the event. Join the Conference networking site at http://ja-sigspring08.crowdvine.com/ You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL PROTECTED]To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
Re: [uportal-dev] import/export script tweaks
I've tested with every database listed except MS SQL Server but the Joins section in their documentation seems to imply they support the ANSI SQL syntax for joins as well: http://msdn2.microsoft.com/en-us/library/aa213233(SQL.80).aspx -Eric Drew Wills wrote: Eric Dalquist wrote: I'd like to make some changes to the import/export scripts as outlined here: http://www.ja-sig.org/issues/browse/UP-1897 The base idea is that currently importing a .user without also importing a corresponding .layout results in an entry in UP_USER that cannot log in since the user's profile is imported as well even though the profile may require a layout. The change is moving the profile information from the .user files into the .layout files. This would result in a .user that can be imported and function even if that user has no layout. Entities exported from 2.6 will still function as the 2.6 format import scripts are not touched by the change. As we discussed last week, I feel these changes are desirable and would be happy to see them make it, all else being equal. Looking at the .patch file, I see a lot of LEFT JOIN expressions in the SQL statements -- are you confident that these will run on all the common RDBMS platforms? I'm not a SQL guru, and I can't remember which vendors support and don't support specific syntax. I mostly just try to keep the SQL simple in uPortal. Can anyone chime in on the subject of LEFT JOIN on the following DB flavors, either all of them or individually? - hsqldb - postgresql - oracle - *MS SQL Server* - mysql drew wills smime.p7s Description: S/MIME Cryptographic Signature
Re: [uportal-dev] not equal in pags
I'm no REGEX guru, but I enlisted one locally. Neither of us could figure out a way to resolve the example case I documented. Would you mind sharing how you would accomplish this using the example? Thanks, Tim On Apr 14, 2008, at 1:04 PM, Dan Ellentuck wrote: Hi Tim, You can do most anything with Strings out of the box with the RegexTester, including testing an attribute for NOT EQUALS. Dan Timothy Carroll wrote: Hi All. Is anyone aware of an easy way to accomplish a NOT EQUAL operation in PAGS. Basically, we have a personDirectory attribute setup, and we want to create a PAGS group that evaluates membership based on that attribute being NOT EQUAL to a specific string. An example would be: A user is a member of Authenticated Users when attribute username is not equal to guest So far as I can tell, this is not really possible with PAGS out of the box. However, it seems like a perfectly reasonable thing to do, so I'm hoping someone has overcome this hurdle already. Thanks in advance, Tim -- Join your friends and colleagues at JA-SIG 2008 - Higher Education Solutions: The Community Source Way! April 27th - 30th, 2008 in St. Paul, Minnesota USA Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more! Information/Registration at: http://www.ja-sig.org/conferences/ 08spring/index.html Subscribe to the conference blog, The Community Source Way http://jasig2008.blogspot.com, for news and updates about the event. Join the Conference networking site at http://ja- sigspring08.crowdvine.com/ You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL PROTECTED] To unsubscribe, change settings or access archives, see http://www.ja- sig.org/wiki/display/JSG/uportal-dev -- Join your friends and colleagues at JA-SIG 2008 - Higher Education Solutions: The Community Source Way! April 27th - 30th, 2008 in St. Paul, Minnesota USA Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more! Information/Registration at: http://www.ja-sig.org/conferences/08spring/index.html Subscribe to the conference blog, The Community Source Way http://jasig2008.blogspot.com, for news and updates about the event. Join the Conference networking site at http://ja-sigspring08.crowdvine.com/ You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL PROTECTED] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
Re: [uportal-dev] not equal in pags
Hi Tim, I played around a little and came up with this ugly thing, which I'm sure can be improved by someone who knows what they're doing with regular expressions. ^guest.+$|^.+guest$|^[^g].*$|^g[^u].*$|^gu[^e].*$|^gue[^s].*$|^gues[^t].*$|^g$|^gu$|^gue$|^gues$ But you've made your point. No one should have to code something like this to do String NOT EQUALS. I will add a string not equals tester to the pags tester package and also post the code in jira. Give me a day or two. Dan Timothy Carroll wrote: I'm no REGEX guru, but I enlisted one locally. Neither of us could figure out a way to resolve the example case I documented. Would you mind sharing how you would accomplish this using the example? Thanks, Tim On Apr 14, 2008, at 1:04 PM, Dan Ellentuck wrote: Hi Tim, You can do most anything with Strings out of the box with the RegexTester, including testing an attribute for NOT EQUALS. Dan Timothy Carroll wrote: Hi All. Is anyone aware of an easy way to accomplish a NOT EQUAL operation in PAGS. Basically, we have a personDirectory attribute setup, and we want to create a PAGS group that evaluates membership based on that attribute being NOT EQUAL to a specific string. An example would be: A user is a member of Authenticated Users when attribute username is not equal to guest So far as I can tell, this is not really possible with PAGS out of the box. However, it seems like a perfectly reasonable thing to do, so I'm hoping someone has overcome this hurdle already. Thanks in advance, Tim -- Join your friends and colleagues at JA-SIG 2008 - Higher Education Solutions: The Community Source Way! April 27th - 30th, 2008 in St. Paul, Minnesota USA Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more! Information/Registration at: http://www.ja-sig.org/conferences/08spring/index.html Subscribe to the conference blog, The Community Source Way http://jasig2008.blogspot.com, for news and updates about the event. Join the Conference networking site at http://ja-sigspring08.crowdvine.com/ You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL PROTECTED] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
Re: [uportal-dev] not equal in pags
https://mywebspace.wisc.edu/dalquist/web/JA-SIG/patches/pags/ There are some custom testers we wrote here @ UW. I believe the NegatedStringTester is what you want. Dan, Feel free to include these in the stand-alone GAPS package. -Eric Dan Ellentuck wrote: Hi Tim, I played around a little and came up with this ugly thing, which I'm sure can be improved by someone who knows what they're doing with regular expressions. ^guest.+$|^.+guest$|^[^g].*$|^g[^u].*$|^gu[^e].*$|^gue[^s].*$|^gues[^t].*$|^g$|^gu$|^gue$|^gues$ But you've made your point. No one should have to code something like this to do String NOT EQUALS. I will add a string not equals tester to the pags tester package and also post the code in jira. Give me a day or two. Dan Timothy Carroll wrote: I'm no REGEX guru, but I enlisted one locally. Neither of us could figure out a way to resolve the example case I documented. Would you mind sharing how you would accomplish this using the example? Thanks, Tim On Apr 14, 2008, at 1:04 PM, Dan Ellentuck wrote: Hi Tim, You can do most anything with Strings out of the box with the RegexTester, including testing an attribute for NOT EQUALS. Dan Timothy Carroll wrote: Hi All. Is anyone aware of an easy way to accomplish a NOT EQUAL operation in PAGS. Basically, we have a personDirectory attribute setup, and we want to create a PAGS group that evaluates membership based on that attribute being NOT EQUAL to a specific string. An example would be: A user is a member of Authenticated Users when attribute username is not equal to guest So far as I can tell, this is not really possible with PAGS out of the box. However, it seems like a perfectly reasonable thing to do, so I'm hoping someone has overcome this hurdle already. Thanks in advance, Tim smime.p7s Description: S/MIME Cryptographic Signature
Re: [uportal-dev] not equal in pags
Thanks Dan. We wrote a quick StringNotEquals tester (attached: -- Join your friends and colleagues at JA-SIG 2008 - Higher Education Solutions: The Community Source Way! April 27th - 30th, 2008 in St. Paul, Minnesota USA Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more! Information/Registration at: http://www.ja-sig.org/conferences/08spring/index.html Subscribe to the conference blog, The Community Source Way http://jasig2008.blogspot.com, for news and updates about the event. Join the Conference networking site at http://ja-sigspring08.crowdvine.com/ You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL PROTECTED] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev StringNotEqualsIgnoreCaseTester.java Description: Binary data ). You can use it as a starting point if you'ld like. I was just surprised that it wasn't already built in. Tim On Apr 14, 2008, at 8:12 PM, Dan Ellentuck wrote: Hi Tim, I played around a little and came up with this ugly thing, which I'm sure can be improved by someone who knows what they're doing with regular expressions. ^guest.+$|^.+guest$|^[^g].*$|^g[^u].*$|^gu[^e].*$|^gue[^s].*$|^gues [^t].*$|^g$|^gu$|^gue$|^gues$ But you've made your point. No one should have to code something like this to do String NOT EQUALS. I will add a string not equals tester to the pags tester package and also post the code in jira. Give me a day or two. Dan Timothy Carroll wrote: I'm no REGEX guru, but I enlisted one locally. Neither of us could figure out a way to resolve the example case I documented. Would you mind sharing how you would accomplish this using the example? Thanks, Tim On Apr 14, 2008, at 1:04 PM, Dan Ellentuck wrote: Hi Tim, You can do most anything with Strings out of the box with the RegexTester, including testing an attribute for NOT EQUALS. Dan Timothy Carroll wrote: Hi All. Is anyone aware of an easy way to accomplish a NOT EQUAL operation in PAGS. Basically, we have a personDirectory attribute setup, and we want to create a PAGS group that evaluates membership based on that attribute being NOT EQUAL to a specific string. An example would be: A user is a member of Authenticated Users when attribute username is not equal to guest So far as I can tell, this is not really possible with PAGS out of the box. However, it seems like a perfectly reasonable thing to do, so I'm hoping someone has overcome this hurdle already. Thanks in advance, Tim -- Join your friends and colleagues at JA-SIG 2008 - Higher Education Solutions: The Community Source Way! April 27th - 30th, 2008 in St. Paul, Minnesota USA Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more! Information/Registration at: http://www.ja-sig.org/conferences/ 08spring/index.html Subscribe to the conference blog, The Community Source Way http://jasig2008.blogspot.com, for news and updates about the event. Join the Conference networking site at http://ja- sigspring08.crowdvine.com/ You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL PROTECTED] To unsubscribe, change settings or access archives, see http://www.ja- sig.org/wiki/display/JSG/uportal-dev