Skip to content
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

LPS-34658 #185

Closed
wants to merge 200 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
200 commits
Select commit Hold shift + click to select a range
c1e6de1
SOS-1503
kenduenwald Apr 4, 2013
f08ccbd
SOS-830
kenduenwald Apr 4, 2013
b54e192
LPS-33984 Fix upgrade
hhuijser Apr 18, 2013
e72b2d0
LPS-34446 Source formatting
hhuijser Apr 18, 2013
9a6fb4a
LPS-34548
michaelhashimoto Apr 18, 2013
c35cbfa
LPS-34548 - Write a Goto Macro to help get rid of duplicate code
michaelhashimoto Apr 18, 2013
56a8ecf
LPS-32938 First version of javadoc for site membership policy
Apr 5, 2013
daac1d8
LPS-32938 Javadoc
Apr 16, 2013
5d4840d
LPS-32938 Source formatting
Apr 18, 2013
83be9e2
LPS-32938 Javadocs for Membership Policy classes
robertoDiaz Apr 17, 2013
ebcd14b
LPS-32938 Source formatting
Apr 18, 2013
406f738
LPS-32938 Javadoc editing
Apr 18, 2013
169f48c
LPS-34266 The same role can be added and saved multiple times in Defa…
LeventeHudak Apr 17, 2013
f2f5c5a
LPS-34537
gamerson Apr 18, 2013
615b738
LPS-34537 Add ClassLoader hierarchic searching and including literal …
shuyangzhou Apr 18, 2013
1b614e8
LPS-34537 SF
brianchandotcom Apr 18, 2013
c672f79
SOS-1060
kenduenwald Apr 4, 2013
5b6d081
Test Fixes - portal/controlpanel/settings
koor4356 Apr 10, 2013
81bfb7b
Test Fixes - portal/controlpanel/settings
evannagayama Apr 16, 2013
40aabe5
Test Fixes - portal/controlpanel/settings
alee8888 Apr 17, 2013
7a9eabf
LPS-34546 - Write the CPSites action files for AddSite / DeleteSite
michaelhashimoto Apr 18, 2013
31a377e
LPS-34018
kiyoshilee Mar 19, 2013
b15e03f
LPS-34018
kiyoshilee Mar 19, 2013
7dc1c84
LPS-34018
michaelhashimoto Mar 26, 2013
f268cf1
LPS-34018 Sort
brianchandotcom Apr 18, 2013
b6b758b
LPS-34502
catherine-lui Apr 16, 2013
193cf0a
LPS-34502
michaelhashimoto Apr 18, 2013
b6d307d
Test Fixes - portlet/wikidisplay
michaelhashimoto Apr 18, 2013
581d8f0
LPS-33236 Javadoc for new public methods of ServiceContext
Mar 15, 2013
72ed09d
LPS-33236 Re-add Javadoc
codyhoag Apr 18, 2013
732d994
LPS-33236 Javadoc
Apr 18, 2013
185147e
SourceFormatter - ignore commented lines when checking line breaks
hhuijser Apr 18, 2013
a4721de
LPS-34005 Fix SF jspc
brianchandotcom Apr 18, 2013
e221e7d
LPS-34005 Fix SF jspc
brianchandotcom Apr 18, 2013
a88f80f
Test Fixes - portlet/blogs/blogsentry
tschuhler Apr 18, 2013
ca92ed8
LPS-34577
tschuhler Apr 18, 2013
6d48567
LPS-34577 Test Formatting
rsrisamang Apr 18, 2013
65c7d69
LPS-34546 - Write the CPSites macro / testcase files for AddSite / De…
michaelhashimoto Apr 18, 2013
47fae38
LPS-34400 Site member still can see "delete" option when they don't h…
Apr 18, 2013
5b49f49
LPS-34587 RoleLocalServiceImpl.hasUserRole(long, long, String, boolea…
shuyangzhou Apr 19, 2013
bff506e
LPS-34587 Regen for javadocs
brianchandotcom Apr 19, 2013
28972c6
LPS-34586 Locales accessing is not thread safe for server side parall…
shuyangzhou Apr 19, 2013
b927314
LPS-30240 Bridge PortalCache over IntraBand
shuyangzhou Apr 18, 2013
98112bb
LPS-30240 SF
brianchandotcom Apr 19, 2013
cdef2f6
LPS-34005 SF
brianchandotcom Apr 19, 2013
f99520e
LPS-33739 Support for get the HTML of a fieldName, without nested fields
ealonso Apr 15, 2013
20a00cd
LPS-33739 Support for hide the plus button for repeatable fields
ealonso Apr 15, 2013
72557c1
LPS-33739 source formatting - rename variable
juliocamarero Apr 17, 2013
8e5ea4c
LPS-33739 Support for get the HTML by the name of a field in the ddm-…
juliocamarero Apr 17, 2013
52ca200
LPS-33739 Add a pop up to select the field of the structure to filter…
ealonso Apr 15, 2013
8e22316
LPS-33739 Change Map<String, Map<String, String>> to Tuple in the met…
ealonso Apr 15, 2013
755b43f
LPS-33739 Add a white list with the items that can be selected in the…
ealonso Apr 15, 2013
cf95cc9
LPS-33739 Force the search to be in keywords because otherwise it wil…
Apr 15, 2013
a15ee89
LPS-33739 Source formatting
Apr 18, 2013
cdb374e
LPS-33739 Fix typo
Apr 18, 2013
7f442d9
LPS-33739 autogenerated
juliocamarero Apr 17, 2013
e9b52f0
LPS-33739 SF
brianchandotcom Apr 19, 2013
4b818e7
LPS-33739 Lang keys
brianchandotcom Apr 19, 2013
95f1f32
LPS-34532 Applies entity selection pattern to switch popup to dialog
jbalsas Apr 18, 2013
57ecefe
LPS-34532 source formatting
juliocamarero Apr 19, 2013
c5fa12f
LPS-34508 Won't reset the elcontent when there is no image in the str…
ericmin Apr 17, 2013
c961a45
LPS-34508 Don't use String.isEmpty()
hhuijser Apr 18, 2013
1d0a8ec
LPS-34508 Source formatting
hhuijser Apr 18, 2013
15efde0
LPS-34508 Reuse existing logic
Apr 19, 2013
4599fdd
LPS-34508 Source formatting
Apr 19, 2013
46c78e4
LPS-30419 Media Gallery root folder and breadcrumbs
robertoDiaz Apr 17, 2013
5a19f4e
LPS-30419 Revert
Apr 19, 2013
40f1811
LPS-30419 Apply the same pattern that already exists in DLImpl.java
Apr 19, 2013
e9fe516
LPS-33542 Fix NullPointerException
Apr 19, 2013
1fe17b7
LPS-33642 LPS-34604 Fix NullPointerException
Apr 19, 2013
361e38d
LPS-34603 added lookup for JavadocClass
igr Apr 19, 2013
7c46556
LPS-34603 changed api UI to show class javadoc, too + fixes small gli…
igr Apr 19, 2013
0d1aa77
LPS-34603 SF
brianchandotcom Apr 19, 2013
85b16b6
LPS-34478 Constrains dockbar add_content preview dialog to the viewport
jbalsas Apr 17, 2013
9b01c7e
LPS-34159 Enables dropping categories in not yet parent categories
jbalsas Apr 16, 2013
e4b5339
Updating Alloy to 4a5c75c;LPS-34421,LPS-30784
ipeychev Apr 17, 2013
cff4df9
Updating Alloy to 0eb0533; LPS-34421,LPS-30784
natecavanaugh Apr 19, 2013
a47b04d
LPS-34503 - Clear menu buffer after menus have been loaded
Apr 16, 2013
64eec51
LPS-34503 - Source formatting
natecavanaugh Apr 19, 2013
2d335c3
LPS-30038 Template Editor displays the Velocity sample template even …
Apr 17, 2013
46c5900
LPS-30038 - Source formatting
natecavanaugh Apr 19, 2013
848d273
LPS-34335 avoid the js validation in some situations
juliocamarero Apr 17, 2013
c3ec808
LPS-34335 - Source formatting
ipeychev Apr 18, 2013
4558b48
LPS-34335 - Source formatting
natecavanaugh Apr 19, 2013
a9992cd
LPS-34272 Allows dropping categories to different vocabularies
jbalsas Apr 18, 2013
1a5c85d
LPS-34595 Attaches and detaches selection listeners
jbalsas Apr 19, 2013
cd582b4
LPS-34595 - Source formatting
ipeychev Apr 19, 2013
37c514c
Source formatting
hhuijser Apr 19, 2013
64ece72
LPS-33792 Unable to import Media Gallery portlet LAR
caorongjin Apr 2, 2013
9896da4
LPS-33792 Remove the reflection
rotty3000 Apr 19, 2013
e016d8d
LPS-33792 Handle only checked exceptions
rotty3000 Apr 19, 2013
729401c
LPS-33792 SF
brianchandotcom Apr 19, 2013
a3327ea
LPS-34523 Redirect to login page doesn't work if the not allowed page…
jcampoy Apr 17, 2013
fa66805
LPS-34523 SF
rotty3000 Apr 19, 2013
c828c1a
LPS-34213 Automatically append the locale when searching for DDM term…
Apr 16, 2013
0906ba0
LPS-34213 Use the right sort type based on the ddm field type
Apr 17, 2013
22f8791
LPS-34213 Include the ddm fields as orderable in AssetEntryQuery
Apr 17, 2013
82c21a5
LPS-34213 When selecting a subtype in Asset publisher add the differe…
Apr 16, 2013
cfb13c2
LPS-34213 Source formatting
Apr 17, 2013
0cdfe35
LPS-34213 - Source formatting
natecavanaugh Apr 19, 2013
b719a8f
LPS-34213 SF
brianchandotcom Apr 19, 2013
6fb2a54
LPS-30240 Unit tests
shuyangzhou Apr 19, 2013
283df5a
LPS-30240 SF
brianchandotcom Apr 19, 2013
2d251b5
LPS-34188 Redesign the export dialog.
Apr 12, 2013
ce2a457
LPS-34188 Add help messages
Apr 12, 2013
3aa2cbc
LPS-34188 Obtain a localized string from an array
Apr 12, 2013
f2ad8d9
LPS-34188 Display labels with selected preferences
Apr 12, 2013
0a3ef82
LPS-34188 Make javascript calls sandboxed
Apr 12, 2013
55a2a4f
LPS-34188 Move all javascript functions to main.js
Apr 12, 2013
a8ac6bc
LPS-34188 - Source formatting
ipeychev Apr 15, 2013
64ad158
LPS-34188 Fix some issues after SF
Apr 16, 2013
53f68c1
LPS-34188 Source formatting
Apr 17, 2013
ac98607
LPS-34188 - Source formatting
natecavanaugh Apr 19, 2013
23e4a67
LPS-34188 SF
brianchandotcom Apr 19, 2013
0d2d8b6
LPS-34188 Lang keys
brianchandotcom Apr 19, 2013
410ea0a
LPS-32437 ResourceActionsImpl depends on injection of "Portal" bean (…
rotty3000 Apr 19, 2013
25e5edd
LPS-34174 Provide implementation for utility methods in CLP
pure59 Apr 11, 2013
793ee02
LPS-34174 Proxy setter invocations to original remote model
pure59 Apr 11, 2013
978d5f7
LPS-34174 Route everything through ClpSerializer to avoid ClassCastEx…
holatuwol Apr 19, 2013
2cdac8a
LPS-34174 SF
brianchandotcom Apr 19, 2013
8b51412
LPS-34448
michaelhashimoto Apr 19, 2013
50fbc76
LPS-30262 Add longvarchar
dustinryerson Apr 19, 2013
9b18e7e
LPS-34419 Run Ruby code in an isolated thread to prevent leaking.
shuyangzhou Apr 19, 2013
08f4144
LPS-34419 SF
brianchandotcom Apr 19, 2013
a9a7b31
LPS-34174 SF
brianchandotcom Apr 19, 2013
dc66989
LPS-30240 Bridge MessageBus over IntraBand
shuyangzhou Apr 19, 2013
0fbeadc
LPS-34107
catherine-lui Apr 19, 2013
d2165ed
LPS-34107
michaelhashimoto Apr 19, 2013
0a8ebc0
LPS-30240 Unit tests
shuyangzhou Apr 19, 2013
1d5715b
LPS-30240 SF
brianchandotcom Apr 20, 2013
e1a82f1
Trivial Javadoc fixes
codyhoag Apr 18, 2013
0af36d6
regen
codyhoag Apr 18, 2013
70a85fd
LPS-34448
michaelhashimoto Apr 20, 2013
42a6fc0
LPS-30240 Mailbox utility
shuyangzhou Apr 20, 2013
f363b30
LPS-30240 SF
brianchandotcom Apr 20, 2013
1b34ed8
LPS-33870 ClassNotFoundException when called from plugin (Akismet)
shinnlok Apr 20, 2013
f32c867
LPS-34571 JavadocFormatter to update service help Language.properties
Apr 19, 2013
c3d8408
LPS-34571 create empty service help Language.properties
Apr 19, 2013
2a64812
LPS-34571 populate service help Language.properties using format-jav…
Apr 19, 2013
c3e96aa
LPS-34571 Run format-javadoc within portal-impl for ServiceImpl classes
Apr 20, 2013
ecb1a3b
LPS-34571 SF
brianchandotcom Apr 20, 2013
6954779
LPS-34571 There's no point for this, cause at this point, they alread…
brianchandotcom Apr 20, 2013
f2268a0
LPS-34609 PACL - step 1 - move getInterfaceName method
rotty3000 Apr 21, 2013
074331b
LPS-34609 PACL - step 2 - the dynamic query check is really a classlo…
rotty3000 Apr 21, 2013
388c697
LPS-34609 PACL - step 3 - change implementations so they honour the u…
rotty3000 Apr 21, 2013
613f6ca
LPS-34609 PACL - step 4 - apply changes
rotty3000 Apr 21, 2013
fd0eacd
LPS-34609 SF
brianchandotcom Apr 22, 2013
800df68
LPS-34213 Fix NullPointerException
Apr 22, 2013
f114eae
LPS-32650 We need another constructor in Article Search in order to s…
robertoDiaz Apr 15, 2013
b8a1566
LPS-32650 Incorrect pagination: Web content
robertoDiaz Apr 16, 2013
bb73c13
LPS-32650 Including expandFolder to show the paginator as DL view_ent…
robertoDiaz Apr 18, 2013
3b0f22a
LPS-32650 We should always return searchContainer values
robertoDiaz Apr 18, 2013
c2b2abc
LPS-32650 Source formatting
Apr 18, 2013
e33dbdf
LPS-32650 There is no way the user could be in a wrong page without r…
Apr 22, 2013
6a43344
LPS-32650 Lang keys
brianchandotcom Apr 22, 2013
32a66c5
LPS-34213 Fix source formatting
Apr 22, 2013
04d1810
LPS-34589 Fixes name escaping for select_site
jbalsas Apr 19, 2013
540a5c7
LPS-34589 escape all the events too and support for changing the even…
juliocamarero Apr 22, 2013
b58e881
LPS-34630 - Switching to Velocity AutoComplete throws an exception
ipeychev Apr 22, 2013
6376270
LPS-34602 Avoids using selectSiteLink if portlet is myAccount
jbalsas Apr 19, 2013
772b98f
LSP-34602 source formatting - avoid loading the js code in every row
juliocamarero Apr 22, 2013
b973727
LPS-34482 Add the exact object to the keys for activity messages (e.g…
Apr 17, 2013
0ab9015
LPS-34482 Lang keys
brianchandotcom Apr 22, 2013
d4aff41
LPS-34599 By default enable only the 7 supported languages in a Lifer…
Apr 19, 2013
e500182
LPS-34599 SF
brianchandotcom Apr 22, 2013
2d47e5d
LPS-34599 Update this static var, because it's used by Liferay IDE to…
brianchandotcom Apr 22, 2013
a88bb9d
LPS-34599 Update the DTD, because it's documentation for non IDE deve…
brianchandotcom Apr 22, 2013
d371aa4
LPS-34650 Add format method to LanguageUtil with List<Object> so that…
Apr 22, 2013
82600af
LPS-34263 Source formatting
ealonso Apr 18, 2013
c70f5af
LPS-34263 Fix bug with parent organization in search
ealonso Apr 18, 2013
541c2cc
LPS-34263 Use treepath to search in children, granchildren... and exc…
Apr 22, 2013
43e5eda
LPS-34263 source formatting
juliocamarero Apr 22, 2013
a75904c
LPS-34263 Sort
brianchandotcom Apr 22, 2013
acfdae4
LPS-34440 Modify app view entry taglib to create a 'div' instead of '…
ealonso Apr 18, 2013
3745dad
LPS-34592 Move getAddPortletURLs to AssetUtil
ealonso Apr 19, 2013
4850ced
LPS-34592 Remove unused code
ealonso Apr 19, 2013
3091560
LPS-34592 Use allAssetCategoryIds instead of assetEntryQuery.getAllCa…
ealonso Apr 19, 2013
8f05e12
LPS-34440 source formatting
juliocamarero Apr 22, 2013
2e03e55
LPS-34440 SF
brianchandotcom Apr 22, 2013
b67fd7d
LPS-34607
kenduenwald Apr 19, 2013
7845db1
LPS-30240 Move IntraBandPortalCacheManagerTest from portal-service to…
shuyangzhou Apr 22, 2013
7423a6a
Test Fixes - portal/controlpanel/settings/address
brianchiu Apr 22, 2013
fbfce87
LPS-34653
michaelhashimoto Apr 22, 2013
394a584
LPS-34188 - Fixing source formatting
natecavanaugh Apr 22, 2013
c7e011d
LPS-34188 SF
brianchandotcom Apr 22, 2013
0c2f83d
LPS-30240 Finals are requied for thread safty
shuyangzhou Apr 22, 2013
2fa27f8
LPS-33340 Source formatting
shuyangzhou Apr 22, 2013
1fc0d6d
LPS-33340 SF
brianchandotcom Apr 22, 2013
532cbf4
LPS-34284 Moved starting of workflow instance to the callback
ericchin Apr 22, 2013
f16f36d
LPS-34284 Source formatting
hhuijser Apr 22, 2013
054f195
LPS-34656 Do not import from edu.emory.mathcs.backport.java
hhuijser Apr 22, 2013
fe7fe26
LPS-34656 Change import and source formatting
hhuijser Apr 22, 2013
a26aa5b
LPS-34624 Creating three separate new files for export / import / sta…
LeventeHudak Apr 19, 2013
1ca08a9
LPS-34624 Copy & Paste existing logic into the three new files
LeventeHudak Apr 19, 2013
36d5685
LPS-34624 Stripping out import / staging code from export_options.jspf
LeventeHudak Apr 19, 2013
c0e269e
LPS-34624 Stripping out export / staging code from import_options.jspf
LeventeHudak Apr 19, 2013
291e1ef
LPS-34624 Stripping out export / import code from staging_options.jspf
LeventeHudak Apr 19, 2013
8f0416b
LPS-34624 Diverting flow into the new files
LeventeHudak Apr 19, 2013
83ac0b7
LPS-34624 Deleting unneeded file
LeventeHudak Apr 19, 2013
1c60302
LPS-34658 Return upper case DDMStructure Keys
pure59 Apr 22, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
65 changes: 27 additions & 38 deletions build-test-ldap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,46 +23,39 @@ test.properties to point to an ApacheDS installation file.
</then>
</if>

<antcall target="install-vm-java" />
<delete dir="${app.server.parent.dir}/apacheds_1.5.7" />

<echo>Restarting ${vm.host}.</echo>

<exec dir="${vm.drive}/${vm.host}" executable="${vmware-cmd.executable}">
<arg line="${vm.drive}\${vm.host}\${vm.host}.vmx reset" />
</exec>

<sleep seconds="60" />
<if>
<not>
<available file="${app.server.parent.dir}/${apache.directory.win32.zip}" />
</not>
<then>
<mkdir dir="${app.server.parent.dir}" />

<exec executable="${pscp.executable}">
<arg line="-pw ${vm.password} ${apache.directory.win32.dir}${apache.directory.win32.zip} ${vm.username}@${vm.host}:/" />
</exec>
<copy
file="${apache.directory.win32.dir}/${apache.directory.win32.zip}"
tofile="${app.server.parent.dir}/${apache.directory.win32.zip}"
/>
</then>
</if>

<exec executable="${plink.executable}">
<arg line="-pw ${vm.password} ${vm.username}@${vm.host} ${unzip.executable} -oq C:\${apache.directory.win32.zip} -d C:\" />
</exec>
<unzip
dest="${app.server.parent.dir}"
src="${app.server.parent.dir}/${apache.directory.win32.zip}"
/>
</target>

<target name="run-ldap-tomcat">
<antcall target="prepare-vm-server">
<param name="build.war" value="false" />
<param name="vm.vmdk.suffix" value="alpha-2010-02-02" />
</antcall>

<antcall target="prepare-ldap-apache" />

<parallel>
<daemons>
<echo file="execute-remote-command.bat">
cd C:\apacheds_1.5.7
apacheds.bat
</echo>

<antcall target="execute-remote-command" />
<antcall target="start-ldap" />
</daemons>

<sequential>
<waitfor>
<socket port="10389" server="${vm.host}" />
<socket port="10389" server="localhost" />
</waitfor>

<tstamp>
Expand Down Expand Up @@ -127,27 +120,23 @@ cn: usergroup
uniqueMember: cn=janesmith,ou=users,dc=example,dc=com
businessCategory: cn=janesmith,ou=users,dc=example,dc=com</echo>

<exec executable="${pscp.executable}">
<arg line="-pw ${vm.password} ${tstamp.value} ${vm.username}@${vm.host}:/" />
<exec dir="${app.server.parent.dir}/apacheds_1.5.7/bin" executable="java">
<arg value="-jar" />
<arg value="apacheds-tools.jar" />
<arg value="import" />
<arg value="-e" />
<arg value="-f" />
<arg value="${project.dir}\${tstamp.value}" />
</exec>

<delete file="${tstamp.value}" />

<echo file="execute-remote-command.bat">
cd C:\apacheds_1.5.7\bin
java -jar apacheds-tools.jar import -e -f C:/${tstamp.value}
</echo>

<antcall target="execute-remote-command" />

<ant antfile="build-test-tomcat.xml" target="run-selenium-tomcat">
<property name="test.class" value="${test.name}" />
</ant>
</sequential>
</parallel>

<exec dir="${vm.drive}/${vm.host}" executable="${vmware-cmd.executable}">
<arg line="${vm.drive}\${vm.host}\${vm.host}.vmx stop hard" />
</exec>
<antcall target="stop-ldap" />
</target>
</project>
66 changes: 61 additions & 5 deletions build-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@
</target>

<target name="build-test-ant-scripts">
<property name="build-test-ant-scripts.version" value="4" />
<property name="build-test-ant-scripts.version" value="5" />

<if>
<available file="portal-web/test-ant-scripts/version" />
Expand Down Expand Up @@ -2463,8 +2463,8 @@
<if>
<os family="windows" />
<then>
<exec executable="${shell.executable}">
<arg line="/c jps -l > java-processes" />
<exec executable="${shell.executable}" output="java-processes">
<arg line="/c jps -l" />
</exec>
</then>
<else>
Expand Down Expand Up @@ -3707,8 +3707,8 @@ custom.sql.function.isnotnull=CONVERT(VARCHAR,?) IS NOT NULL</echo>
<if>
<os family="windows" />
<then>
<exec executable="${shell.executable}">
<arg line="/c jps -q > java-processes" />
<exec executable="${shell.executable}" output="java-processes">
<arg line="/c jps -q" />
</exec>
</then>
<else>
Expand Down Expand Up @@ -4084,6 +4084,13 @@ Please set "ie.driver.zip" in test.properties to point to "IEDriverServer_x64_2.
</if>
</target>

<target name="start-ldap">
<exec dir="${app.server.parent.dir}/apacheds_1.5.7" executable="cmd">
<arg value="/c" />
<arg value="apacheds.bat" />
</exec>
</target>

<target name="start-selenium">
<!--<java
jar="lib/development/selenium-server.jar"
Expand Down Expand Up @@ -4112,6 +4119,55 @@ Please set "ie.driver.zip" in test.properties to point to "IEDriverServer_x64_2.
</exec>
</target>

<target name="stop-ldap">
<if>
<os family="windows" />
<then>
<exec executable="${shell.executable}">
<arg line="/c jps -l > java-processes" />
</exec>
</then>
<else>
<exec executable="${shell.executable}" output="java-processes">
<arg line="-c jps -l" />
</exec>
</else>
</if>

<loadfile property="java-processes.content" srcfile="java-processes" />

<delete file="java-processes" />

<script classpathref="project.classpath" language="beanshell">
String javaProcessesNewContent = project.getProperty("java-processes.content");

if (javaProcessesNewContent.contains("File Not Found")) {
javaProcessesNewContent = "";
}

String javaProcessList = javaProcessesNewContent.replaceAll("\r\n", ",");

if (javaProcessList.endsWith(",")) {
javaProcessList = javaProcessList.substring(0, javaProcessList.length() - 1);
}

project.setProperty("java.process.list", javaProcessList);
</script>

<for list="${java.process.list}" param="java.process">
<sequential>
<if>
<contains string="@{java.process}" substring="org.apache.directory.server.UberjarMain" />
<then>
<antcall target="kill-java-process">
<param name="java.process.to.kill" value="@{java.process}" />
</antcall>
</then>
</if>
</sequential>
</for>
</target>

<target name="stop-selenium">
<antelope:post to="http://localhost:14444/selenium-server/driver/?cmd=shutDownSeleniumServer" wantresponse="true" />
</target>
Expand Down
1 change: 1 addition & 0 deletions definitions/liferay-hook_6_2_0.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ layout.user.public.layouts.power.user.required
ldap.attrs.transformer.impl
locales
locales.beta
locales.enabled
lock.listeners
login.create.account.allow.custom.password
login.events.post
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@
import com.liferay.portal.util.ClassLoaderUtil;
import com.liferay.portal.util.PropsValues;

import edu.emory.mathcs.backport.java.util.Collections;

import java.io.BufferedInputStream;
import java.io.File;
import java.io.IOException;
Expand All @@ -56,6 +54,7 @@
import java.net.URLConnection;

import java.util.ArrayList;
import java.util.Collections;
import java.util.Dictionary;
import java.util.Enumeration;
import java.util.HashMap;
Expand Down Expand Up @@ -667,21 +666,20 @@ private String _getSystemPackagesExtra() {

ClassLoader classLoader = ClassLoaderUtil.getPortalClassLoader();

Enumeration<URL> enu = Collections.enumeration(Collections.emptyList());

try {
enu = classLoader.getResources("META-INF/MANIFEST.MF");
Enumeration<URL> enu = classLoader.getResources(
"META-INF/MANIFEST.MF");

while (enu.hasMoreElements()) {
URL url = enu.nextElement();

urls.add(url);
}
}
catch (IOException ioe) {
_log.error(ioe, ioe);
}

while (enu.hasMoreElements()) {
URL url = enu.nextElement();

urls.add(url);
}

for (URL url : urls) {
_processURL(
sb, url,
Expand Down
Loading