Made the notification_email library compilable with 16.05 and upcoming 16.11 .
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-14-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-14-0 http://www.eiffel.com/developers/xml/configuration-1-14-0.xsd" name="notification_email" uuid="99D9A065-CD45-4E20-9C86-579C8AD42E5E" library_target="notification_email">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-15-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-15-0 http://www.eiffel.com/developers/xml/configuration-1-15-0.xsd" name="notification_email" uuid="99D9A065-CD45-4E20-9C86-579C8AD42E5E" library_target="notification_email">
|
||||||
<target name="notification_email">
|
<target name="notification_email">
|
||||||
<root all_classes="true"/>
|
<root all_classes="true"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
@@ -9,6 +9,7 @@
|
|||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" full_class_checking="true" is_attached_by_default="true" void_safety="all" syntax="standard">
|
<option warning="true" full_class_checking="true" is_attached_by_default="true" void_safety="all" syntax="standard">
|
||||||
</option>
|
</option>
|
||||||
|
<setting name="concurrency" value="scoop"/>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
||||||
<library name="http" location="..\..\..\network\protocol\http\http-safe.ecf"/>
|
<library name="http" location="..\..\..\network\protocol\http\http-safe.ecf"/>
|
||||||
<library name="net" location="$ISE_LIBRARY\library\net\net-safe.ecf">
|
<library name="net" location="$ISE_LIBRARY\library\net\net-safe.ecf">
|
||||||
@@ -16,7 +17,18 @@
|
|||||||
<custom name="smtp_notification_email_disabled" excluded_value="true"/>
|
<custom name="smtp_notification_email_disabled" excluded_value="true"/>
|
||||||
</condition>
|
</condition>
|
||||||
</library>
|
</library>
|
||||||
<library name="process" location="$ISE_LIBRARY\library\process\process-safe.ecf"/>
|
<library name="base_process" location="$ISE_LIBRARY\library\process\base\base_process-safe.ecf">
|
||||||
|
<condition>
|
||||||
|
<version type="compiler" min="16.10.9.9999"/>
|
||||||
|
</condition>
|
||||||
|
<renaming old_name="BASE_PROCESS" new_name="PROCESS"/>
|
||||||
|
<renaming old_name="BASE_PROCESS_FACTORY" new_name="PROCESS_FACTORY"/>
|
||||||
|
</library>
|
||||||
|
<library name="process" location="$ISE_LIBRARY\library\process\process-safe.ecf">
|
||||||
|
<condition>
|
||||||
|
<version type="compiler" max="16.10.9.9999"/>
|
||||||
|
</condition>
|
||||||
|
</library>
|
||||||
<library name="time" location="$ISE_LIBRARY\library\time\time-safe.ecf"/>
|
<library name="time" location="$ISE_LIBRARY\library\time\time-safe.ecf"/>
|
||||||
<cluster name="src" location=".\" >
|
<cluster name="src" location=".\" >
|
||||||
<cluster name="storage" location="$|storage"/>
|
<cluster name="storage" location="$|storage"/>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-8-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-8-0 http://www.eiffel.com/developers/xml/configuration-1-8-0.xsd" name="notification_email" uuid="99D9A065-CD45-4E20-9C86-579C8AD42E5E" library_target="notification_email">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-15-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-15-0 http://www.eiffel.com/developers/xml/configuration-1-15-0.xsd" name="notification_email" uuid="99D9A065-CD45-4E20-9C86-579C8AD42E5E" library_target="notification_email">
|
||||||
<target name="notification_email">
|
<target name="notification_email">
|
||||||
<root all_classes="true"/>
|
<root all_classes="true"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
@@ -9,6 +9,7 @@
|
|||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" full_class_checking="true" void_safety="none" syntax="standard">
|
<option warning="true" full_class_checking="true" void_safety="none" syntax="standard">
|
||||||
</option>
|
</option>
|
||||||
|
<setting name="concurrency" value="scoop"/>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="http" location="..\..\..\network\protocol\http\http.ecf"/>
|
<library name="http" location="..\..\..\network\protocol\http\http.ecf"/>
|
||||||
<library name="net" location="$ISE_LIBRARY\library\net\net.ecf">
|
<library name="net" location="$ISE_LIBRARY\library\net\net.ecf">
|
||||||
@@ -16,7 +17,18 @@
|
|||||||
<custom name="smtp_notification_email_disabled" excluded_value="true"/>
|
<custom name="smtp_notification_email_disabled" excluded_value="true"/>
|
||||||
</condition>
|
</condition>
|
||||||
</library>
|
</library>
|
||||||
<library name="process" location="$ISE_LIBRARY\library\process\process.ecf"/>
|
<library name="base_process" location="$ISE_LIBRARY\library\process\base\base_process.ecf">
|
||||||
|
<condition>
|
||||||
|
<version type="compiler" min="16.10.9.9999"/>
|
||||||
|
</condition>
|
||||||
|
<renaming old_name="BASE_PROCESS" new_name="PROCESS"/>
|
||||||
|
<renaming old_name="BASE_PROCESS_FACTORY" new_name="PROCESS_FACTORY"/>
|
||||||
|
</library>
|
||||||
|
<library name="process" location="$ISE_LIBRARY\library\process\process.ecf">
|
||||||
|
<condition>
|
||||||
|
<version type="compiler" max="16.10.9.9999"/>
|
||||||
|
</condition>
|
||||||
|
</library>
|
||||||
<library name="time" location="$ISE_LIBRARY\library\time\time.ecf"/>
|
<library name="time" location="$ISE_LIBRARY\library\time\time.ecf"/>
|
||||||
<cluster name="src" location=".">
|
<cluster name="src" location=".">
|
||||||
<cluster name="storage" location="$|storage"/>
|
<cluster name="storage" location="$|storage"/>
|
||||||
|
|||||||
@@ -123,11 +123,13 @@ feature -- Basic operation
|
|||||||
p.launch
|
p.launch
|
||||||
end
|
end
|
||||||
if p.launched and not p.has_exited then
|
if p.launched and not p.has_exited then
|
||||||
p.wait_for_exit_with_timeout (1_000_000)
|
execution_environment.sleep (1_000)
|
||||||
|
p.wait_for_exit
|
||||||
if not p.has_exited then
|
if not p.has_exited then
|
||||||
p.terminate
|
p.terminate
|
||||||
if not p.has_exited then
|
if not p.has_exited then
|
||||||
p.wait_for_exit_with_timeout (1_000_000)
|
execution_environment.sleep (1_000)
|
||||||
|
p.wait_for_exit
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -135,7 +137,8 @@ feature -- Basic operation
|
|||||||
if p /= Void and then p.launched and then not p.has_exited then
|
if p /= Void and then p.launched and then not p.has_exited then
|
||||||
p.terminate
|
p.terminate
|
||||||
if not p.has_exited then
|
if not p.has_exited then
|
||||||
p.wait_for_exit_with_timeout (1_000_000)
|
execution_environment.sleep (1_000)
|
||||||
|
p.wait_for_exit
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -196,7 +199,7 @@ feature {NONE} -- Implementation
|
|||||||
invariant
|
invariant
|
||||||
|
|
||||||
note
|
note
|
||||||
copyright: "2011-2013, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others"
|
copyright: "2011-2016, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others"
|
||||||
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||||
source: "[
|
source: "[
|
||||||
Eiffel Software
|
Eiffel Software
|
||||||
|
|||||||
Reference in New Issue
Block a user