Compare commits
71
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
edec837c4e | ||
|
|
f1642a444a | ||
|
|
48af63af83 | ||
|
|
2f98d7031f | ||
|
|
70f00651c7 | ||
|
|
199f84c7ef | ||
|
|
9b97627c76 | ||
|
|
72c87cd74d | ||
|
|
2ed4d03168 | ||
|
|
18ed92a61d | ||
|
|
0a6a4281e7 | ||
|
|
38cf5d7a6f | ||
|
|
96648a16dc | ||
|
|
6f35ad7b16 | ||
|
|
85c8a46c89 | ||
|
|
498e4a6ec2 | ||
|
|
ab507d543a | ||
|
|
20a90db2e3 | ||
|
|
6ed91699b8 | ||
|
|
bb334aef80 | ||
|
|
c2764e25ff | ||
|
|
6425482070 | ||
|
|
818c3fb460 | ||
|
|
dac50b490d | ||
|
|
16d5076fe5 | ||
|
|
2748e1d9ee | ||
|
|
27ee20f99b | ||
|
|
9a3164df70 | ||
|
|
02383810b4 | ||
|
|
dbf5e76047 | ||
|
|
5c31905427 | ||
|
|
21adef6998 | ||
|
|
c7ef652322 | ||
|
|
46a48625ac | ||
|
|
7feb45b549 | ||
|
|
aeb3392ad8 | ||
|
|
5bbd031275 | ||
|
|
90e60fad26 | ||
|
|
98c20ee7c1 | ||
|
|
9fc5a7c364 | ||
|
|
64027f56bd | ||
|
|
0b99e84728 | ||
|
|
c51a0a4788 | ||
|
|
a6806c676a | ||
|
|
9e5e8bb1bf | ||
|
|
10a83c6ad8 | ||
|
|
1ec3b8e7a4 | ||
|
|
0783049fb4 | ||
|
|
7e54825b84 | ||
|
|
40cbe7dfc9 | ||
|
|
d4b9301a57 | ||
|
|
06cda97535 | ||
|
|
406a46816e | ||
|
|
49c46f8d8b | ||
|
|
cd382bca64 | ||
|
|
24d834fb0b | ||
|
|
7028892374 | ||
|
|
fb9af26d32 | ||
|
|
3d146d9be9 | ||
|
|
94ba19920e | ||
|
|
3590f8546f | ||
|
|
4763ec095f | ||
|
|
1ddb27ca84 | ||
|
|
739c33b317 | ||
|
|
d4c79f1893 | ||
|
|
fa19976f60 | ||
|
|
d8745fd61d | ||
|
|
305425960b | ||
|
|
e53230d93c | ||
|
|
eb4079789c | ||
|
|
a44ca1a76c |
+19
@@ -0,0 +1,19 @@
|
|||||||
|
language: eiffel
|
||||||
|
before_script:
|
||||||
|
- export current_dir=$PWD ; echo current_dir=$current_dir ; cd ..
|
||||||
|
- export ISE_VERSION=17.05; export ISE_BUILD=100416
|
||||||
|
- curl -sSL http://downloads.sourceforge.net/eiffelstudio/Eiffel_${ISE_VERSION}_gpl_${ISE_BUILD}-linux-x86-64.tar.bz2 | tar -x --bzip2
|
||||||
|
- export ISE_EIFFEL=$PWD/Eiffel_${ISE_VERSION} ; export ISE_PLATFORM=linux-x86-64
|
||||||
|
- export PATH=$PATH:$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin:$PATH:$ISE_EIFFEL/tools/spec/$ISE_PLATFORM/bin
|
||||||
|
- echo `ec -version`
|
||||||
|
- cd $current_dir
|
||||||
|
- echo Check projects compilation status...
|
||||||
|
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
- v1
|
||||||
|
|
||||||
|
script: compile_all -ecb -melt -list_failures -log_verbose -clean -options dotnet=false
|
||||||
|
group: stable
|
||||||
|
os: linux
|
||||||
|
|||||||
+11
-10
@@ -7,20 +7,21 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Added
|
### Added
|
||||||
|
- `jwt`: new JSON Web Token (JWT) library (supports for claim exp, iat, nbf, iss, aud).
|
||||||
|
- `http_client`: added support for ciphers setting in the libcurl implementation only.
|
||||||
|
- `http_client`: added convenient `get` and `custom` functions on HTTP_CLIENT directly.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- http_network:
|
- adopted ecf version 1-16-0 and use a single .ecf file (the -safe.ecf are now redirection to normal .ecf)
|
||||||
Integrated changes on SOCKET so that EiffelWeb can be compiled with 16.05 to 17.05 and after.
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
- removed support for Eiffel version before 17.05 .
|
||||||
|
- SSL 2 or 3 is obsolete and will raise an exception if used.
|
||||||
### Removed
|
### Removed
|
||||||
### Fixed
|
### Fixed
|
||||||
- http_client:
|
- Removed a few obsolete calls.
|
||||||
Improved query and form data encoding (based on a very early version of the general URI percent-encoding rules).
|
- `http_client`: Added support for multiple file in form data. Made clear what is the meaning of `upload_filename`, `upload_data` and `form_data`.
|
||||||
- now correct encoding of space by '%20' in path segment, and '+' in query parameters.
|
- `authentication`: HTTP_AUTHORIZATION acceps now READABLE_STRING_GENERAL for username and password argument.
|
||||||
Unify and fixed query parameters handling for libcurl and net implementation.
|
- `http_client`: fixed curl implementation by setting `Content-Type` to `x-www-form-urlencoded` (if not set) when POST send data as `x-www-form-urlencoded`.
|
||||||
Fixed file uploading (various issue in libcurl, and net implementation).
|
|
||||||
Fixed form multipart encoding by using correctly the boundary.
|
|
||||||
- Code cleaning:
|
|
||||||
Removed many obsolete calls, and added timestamp on EiffelWeb obsolete features to benefit from upcoming improvement on the EiffelStudio Inspector tool.
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# Eiffel Web Framework
|
# Eiffel Web Framework
|
||||||
|
|
||||||
|
[](https://travis-ci.org/EiffelWebFramework/EWF/)
|
||||||
|
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
|
|||||||
@@ -1,22 +1,3 @@
|
|||||||
<?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-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="web_server" uuid="B1D3254D-A58E-4259-9796-8A2843A511A9">
|
<redirection xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" uuid="B1D3254D-A58E-4259-9796-8A2843A511A9" message="Obsolete: use web_server.ecf !" location="web_server.ecf">
|
||||||
<target name="web_server">
|
</redirection>
|
||||||
<root class="APPLICATION" feature="make"/>
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/.git$</exclude>
|
|
||||||
<exclude>/.svn$</exclude>
|
|
||||||
<exclude>/CVS$</exclude>
|
|
||||||
<exclude>/EIFGENs$</exclude>
|
|
||||||
</file_rule>
|
|
||||||
<option debug="true" warning="true" void_safety="all">
|
|
||||||
<debug name="nino" enabled="true"/>
|
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
|
||||||
</option>
|
|
||||||
<setting name="concurrency" value="thread"/>
|
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
|
||||||
<library name="net" location="$ISE_LIBRARY\library\net\net-safe.ecf"/>
|
|
||||||
<library name="nino" location="..\..\nino-safe.ecf"/>
|
|
||||||
<library name="thread" location="$ISE_LIBRARY\library\thread\thread-safe.ecf"/>
|
|
||||||
<cluster name="src" location=".\" recursive="true"/>
|
|
||||||
</target>
|
|
||||||
</system>
|
|
||||||
|
|||||||
@@ -1,17 +1,19 @@
|
|||||||
<?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-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="web_server" uuid="B1D3254D-A58E-4259-9796-8A2843A511A9">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="nino_web_server" uuid="B1D3254D-A58E-4259-9796-8A2843A511A9">
|
||||||
<target name="web_server">
|
<target name="nino_web_server">
|
||||||
<root class="APPLICATION" feature="make"/>
|
<root class="APPLICATION" feature="make"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="none">
|
<option warning="true" >
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<setting name="concurrency" value="thread"/>
|
<capability>
|
||||||
|
<concurrency support="thread" use="thread"/>
|
||||||
|
</capability>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="net" location="$ISE_LIBRARY\library\net\net.ecf"/>
|
<library name="net" location="$ISE_LIBRARY\library\net\net.ecf"/>
|
||||||
<library name="nino" location="..\..\nino.ecf"/>
|
<library name="nino" location="..\..\nino.ecf"/>
|
||||||
|
|||||||
@@ -1,34 +1,3 @@
|
|||||||
<?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-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="nino" uuid="32C1D67D-33DE-4F1E-864B-D45388F2E3E6" library_target="nino">
|
<redirection xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" uuid="32C1D67D-33DE-4F1E-864B-D45388F2E3E6" message="Obsolete: use nino.ecf !" location="nino.ecf">
|
||||||
<target name="nino">
|
</redirection>
|
||||||
<root all_classes="true"/>
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/.git$</exclude>
|
|
||||||
<exclude>/.svn$</exclude>
|
|
||||||
<exclude>/CVS$</exclude>
|
|
||||||
<exclude>/EIFGENs$</exclude>
|
|
||||||
</file_rule>
|
|
||||||
<option warning="true" void_safety="all">
|
|
||||||
</option>
|
|
||||||
<setting name="concurrency" value="thread"/>
|
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
|
||||||
<library name="net" location="$ISE_LIBRARY\library\net\net-safe.ecf"/>
|
|
||||||
<library name="thread" location="$ISE_LIBRARY\library\thread\thread-safe.ecf"/>
|
|
||||||
<cluster name="nino" location=".\library\" recursive="true">
|
|
||||||
<file_rule>
|
|
||||||
<exclude>spec</exclude>
|
|
||||||
</file_rule>
|
|
||||||
<file_rule>
|
|
||||||
<exclude>tcp_stream_socket.e</exclude>
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="16.11.0.0"/>
|
|
||||||
</condition>
|
|
||||||
</file_rule>
|
|
||||||
</cluster>
|
|
||||||
<cluster name="spec_until_16_05" location=".\library\spec\until_16_05\" recursive="true">
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="16.11.0.0"/>
|
|
||||||
</condition>
|
|
||||||
</cluster>
|
|
||||||
</target>
|
|
||||||
</system>
|
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
<?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-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="nino" uuid="32C1D67D-33DE-4F1E-864B-D45388F2E3E6" library_target="nino">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="nino" uuid="32C1D67D-33DE-4F1E-864B-D45388F2E3E6" library_target="nino">
|
||||||
<target name="nino">
|
<target name="nino">
|
||||||
<root all_classes="true"/>
|
<root all_classes="true"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="none">
|
<capability>
|
||||||
</option>
|
<concurrency support="none" use="thread"/>
|
||||||
<setting name="concurrency" value="thread"/>
|
</capability>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="net" location="$ISE_LIBRARY\library\net\net.ecf"/>
|
<library name="net" location="$ISE_LIBRARY\library\net\net.ecf"/>
|
||||||
<library name="thread" location="$ISE_LIBRARY\library\thread\thread.ecf"/>
|
<library name="thread" location="$ISE_LIBRARY\library\thread\thread.ecf"/>
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
package nino
|
package nino
|
||||||
|
|
||||||
project
|
project
|
||||||
nino = "nino-safe.ecf"
|
|
||||||
nino = "nino.ecf"
|
nino = "nino.ecf"
|
||||||
|
|
||||||
note
|
note
|
||||||
|
|||||||
@@ -1,40 +1,49 @@
|
|||||||
<?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-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="simple" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="simple" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http-safe.ecf"/>
|
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf.ecf"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="simple_cgi" extends="common">
|
<target name="simple_cgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi.ecf"/>
|
||||||
<cluster name="simple" location=".\" recursive="true"/>
|
<cluster name="simple" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="simple_libfcgi" extends="common">
|
<target name="simple_libfcgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="simple" location=".\" recursive="true"/>
|
<cluster name="simple" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="simple_standalone" extends="common">
|
<target name="simple_standalone" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone.ecf"/>
|
||||||
<cluster name="simple" location=".\" recursive="true"/>
|
<cluster name="simple" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="simple" extends="simple_standalone">
|
<target name="simple" extends="simple_standalone">
|
||||||
|
|||||||
@@ -1,40 +1,49 @@
|
|||||||
<?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-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="simple_html" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="simple_html" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http-safe.ecf"/>
|
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf.ecf"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="simple_html_standalone" extends="common">
|
<target name="simple_html_standalone" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone.ecf"/>
|
||||||
<cluster name="simple_html" location=".\" recursive="true"/>
|
<cluster name="simple_html" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="simple_html_cgi" extends="common">
|
<target name="simple_html_cgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi.ecf"/>
|
||||||
<cluster name="simple_html" location=".\" recursive="true"/>
|
<cluster name="simple_html" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="simple_html_libfcgi" extends="common">
|
<target name="simple_html_libfcgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="simple_html" location=".\" recursive="true"/>
|
<cluster name="simple_html" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="simple_html" extends="simple_html_standalone">
|
<target name="simple_html" extends="simple_html_standalone">
|
||||||
|
|||||||
@@ -1,40 +1,49 @@
|
|||||||
<?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-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="exel" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="exel" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http-safe.ecf"/>
|
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf.ecf"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="exel_standalone" extends="common">
|
<target name="exel_standalone" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone.ecf"/>
|
||||||
<cluster name="exel" location=".\" recursive="true"/>
|
<cluster name="exel" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="exel_cgi" extends="common">
|
<target name="exel_cgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi.ecf"/>
|
||||||
<cluster name="exel" location=".\" recursive="true"/>
|
<cluster name="exel" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="exel_libfcgi" extends="common">
|
<target name="exel_libfcgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="exel" location=".\" recursive="true"/>
|
<cluster name="exel" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="exel" extends="exel_standalone">
|
<target name="exel" extends="exel_standalone">
|
||||||
|
|||||||
@@ -1,40 +1,49 @@
|
|||||||
<?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-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="headers" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="headers" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http-safe.ecf"/>
|
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf.ecf"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="headers_standalone" extends="common">
|
<target name="headers_standalone" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone.ecf"/>
|
||||||
<cluster name="headers" location=".\" recursive="true"/>
|
<cluster name="headers" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="headers_cgi" extends="common">
|
<target name="headers_cgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi.ecf"/>
|
||||||
<cluster name="headers" location=".\" recursive="true"/>
|
<cluster name="headers" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="headers_libfcgi" extends="common">
|
<target name="headers_libfcgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="headers" location=".\" recursive="true"/>
|
<cluster name="headers" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="headers" extends="headers_standalone">
|
<target name="headers" extends="headers_standalone">
|
||||||
|
|||||||
@@ -1,40 +1,49 @@
|
|||||||
<?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-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="search" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="search" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http-safe.ecf"/>
|
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf.ecf"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="search_standalone" extends="common">
|
<target name="search_standalone" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone.ecf"/>
|
||||||
<cluster name="search" location=".\" recursive="true"/>
|
<cluster name="search" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="search_cgi" extends="common">
|
<target name="search_cgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi.ecf"/>
|
||||||
<cluster name="search" location=".\" recursive="true"/>
|
<cluster name="search" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="search_libfcgi" extends="common">
|
<target name="search_libfcgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="search" location=".\" recursive="true"/>
|
<cluster name="search" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="search" extends="search_standalone">
|
<target name="search" extends="search_standalone">
|
||||||
|
|||||||
@@ -1,40 +1,49 @@
|
|||||||
<?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-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="status" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="status" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http-safe.ecf"/>
|
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf.ecf"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="status_standalone" extends="common">
|
<target name="status_standalone" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone.ecf"/>
|
||||||
<cluster name="status" location=".\" recursive="true"/>
|
<cluster name="status" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="status_cgi" extends="common">
|
<target name="status_cgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi.ecf"/>
|
||||||
<cluster name="status" location=".\" recursive="true"/>
|
<cluster name="status" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="status_libfcgi" extends="common">
|
<target name="status_libfcgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="status" location=".\" recursive="true"/>
|
<cluster name="status" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="status" extends="status_standalone">
|
<target name="status" extends="status_standalone">
|
||||||
|
|||||||
@@ -1,40 +1,49 @@
|
|||||||
<?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-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="example" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="example" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http-safe.ecf"/>
|
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf.ecf"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="example_standalone" extends="common">
|
<target name="example_standalone" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone.ecf"/>
|
||||||
<cluster name="example" location=".\" recursive="true"/>
|
<cluster name="example" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="example_cgi" extends="common">
|
<target name="example_cgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi.ecf"/>
|
||||||
<cluster name="example" location=".\" recursive="true"/>
|
<cluster name="example" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="example_libfcgi" extends="common">
|
<target name="example_libfcgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="example" location=".\" recursive="true"/>
|
<cluster name="example" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="example" extends="example_standalone">
|
<target name="example" extends="example_standalone">
|
||||||
|
|||||||
@@ -1,40 +1,49 @@
|
|||||||
<?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-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="form" uuid="4BF86AB0-AEEE-46BF-93DE-0463E3510ACE">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="form" uuid="4BF86AB0-AEEE-46BF-93DE-0463E3510ACE">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http-safe.ecf"/>
|
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf.ecf"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="form_standalone" extends="common">
|
<target name="form_standalone" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone.ecf"/>
|
||||||
<cluster name="form" location=".\" recursive="true"/>
|
<cluster name="form" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="form_cgi" extends="common">
|
<target name="form_cgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi.ecf"/>
|
||||||
<cluster name="form" location=".\" recursive="true"/>
|
<cluster name="form" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="form_libfcgi" extends="common">
|
<target name="form_libfcgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="form" location=".\" recursive="true"/>
|
<cluster name="form" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="form" extends="form_standalone">
|
<target name="form" extends="form_standalone">
|
||||||
|
|||||||
@@ -1,40 +1,49 @@
|
|||||||
<?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-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="form" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="form" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http-safe.ecf"/>
|
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf.ecf"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="form_standalone" extends="common">
|
<target name="form_standalone" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone.ecf"/>
|
||||||
<cluster name="form" location=".\" recursive="true"/>
|
<cluster name="form" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="form_cgi" extends="common">
|
<target name="form_cgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi.ecf"/>
|
||||||
<cluster name="form" location=".\" recursive="true"/>
|
<cluster name="form" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="form_libfcgi" extends="common">
|
<target name="form_libfcgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="form" location=".\" recursive="true"/>
|
<cluster name="form" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="form" extends="form_standalone">
|
<target name="form" extends="form_standalone">
|
||||||
|
|||||||
@@ -1,40 +1,49 @@
|
|||||||
<?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-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="browsers" uuid="6E4221A7-CB45-4B14-98F2-75F9C273DF68">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="browsers" uuid="6E4221A7-CB45-4B14-98F2-75F9C273DF68">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http-safe.ecf"/>
|
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf.ecf"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="browsers_standalone" extends="common">
|
<target name="browsers_standalone" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone.ecf"/>
|
||||||
<cluster name="browsers" location=".\" recursive="true"/>
|
<cluster name="browsers" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="browsers_cgi" extends="common">
|
<target name="browsers_cgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi.ecf"/>
|
||||||
<cluster name="browsers" location=".\" recursive="true"/>
|
<cluster name="browsers" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="browsers_libfcgi" extends="common">
|
<target name="browsers_libfcgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="browsers" location=".\" recursive="true"/>
|
<cluster name="browsers" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="browsers" extends="browsers_standalone">
|
<target name="browsers" extends="browsers_standalone">
|
||||||
|
|||||||
@@ -1,40 +1,49 @@
|
|||||||
<?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-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="cgi_variables" uuid="73FCA1D1-DE9D-4112-96BB-92F2C40AC5D1">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="cgi_variables" uuid="73FCA1D1-DE9D-4112-96BB-92F2C40AC5D1">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http-safe.ecf"/>
|
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf.ecf"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="cgi_variables_standalone" extends="common">
|
<target name="cgi_variables_standalone" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone.ecf"/>
|
||||||
<cluster name="cgi_variables" location=".\" recursive="true"/>
|
<cluster name="cgi_variables" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="cgi_variables_cgi" extends="common">
|
<target name="cgi_variables_cgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi.ecf"/>
|
||||||
<cluster name="cgi_variables" location=".\" recursive="true"/>
|
<cluster name="cgi_variables" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="cgi_variables_libfcgi" extends="common">
|
<target name="cgi_variables_libfcgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="cgi_variables" location=".\" recursive="true"/>
|
<cluster name="cgi_variables" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="cgi_variables" extends="cgi_variables_standalone">
|
<target name="cgi_variables" extends="cgi_variables_standalone">
|
||||||
|
|||||||
@@ -1,40 +1,49 @@
|
|||||||
<?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-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="header_fields" uuid="F4644919-0908-470F-A0C1-66C2E08C2D90">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="header_fields" uuid="F4644919-0908-470F-A0C1-66C2E08C2D90">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http-safe.ecf"/>
|
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf.ecf"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="header_fields_standalone" extends="common">
|
<target name="header_fields_standalone" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone.ecf"/>
|
||||||
<cluster name="header_fields" location=".\" recursive="true"/>
|
<cluster name="header_fields" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="header_fields_cgi" extends="common">
|
<target name="header_fields_cgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi.ecf"/>
|
||||||
<cluster name="header_fields" location=".\" recursive="true"/>
|
<cluster name="header_fields" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="header_fields_libfcgi" extends="common">
|
<target name="header_fields_libfcgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="header_fields" location=".\" recursive="true"/>
|
<cluster name="header_fields" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="header_fields" extends="header_fields_standalone">
|
<target name="header_fields" extends="header_fields_standalone">
|
||||||
|
|||||||
@@ -1,40 +1,49 @@
|
|||||||
<?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-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="upload" uuid="274576E6-E7EA-420F-ADED-0CC6955E48DD">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="upload" uuid="274576E6-E7EA-420F-ADED-0CC6955E48DD">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http-safe.ecf"/>
|
<library name="http" location="$ISE_LIBRARY\contrib\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\wsf.ecf"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="upload_standalone" extends="common">
|
<target name="upload_standalone" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_standalone" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\standalone.ecf"/>
|
||||||
<cluster name="upload" location=".\" recursive="true"/>
|
<cluster name="upload" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="upload_cgi" extends="common">
|
<target name="upload_cgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_cgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\cgi.ecf"/>
|
||||||
<cluster name="upload" location=".\" recursive="true"/>
|
<cluster name="upload" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="upload_libfcgi" extends="common">
|
<target name="upload_libfcgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_libfcgi" location="$ISE_LIBRARY\contrib\library\web\framework\ewf\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="upload" location=".\" recursive="true"/>
|
<cluster name="upload" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="upload" extends="upload_standalone">
|
<target name="upload" extends="upload_standalone">
|
||||||
|
|||||||
@@ -1,16 +1,3 @@
|
|||||||
<?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-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="atom" uuid="076DEABB-20DA-43E9-A4C7-F3FAEDF5B1FC" library_target="atom">
|
<redirection xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" uuid="076DEABB-20DA-43E9-A4C7-F3FAEDF5B1FC" message="Obsolete: use atom.ecf !" location="atom.ecf">
|
||||||
<target name="atom">
|
</redirection>
|
||||||
<root all_classes="true"/>
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/.git$</exclude>
|
|
||||||
<exclude>/.svn$</exclude>
|
|
||||||
<exclude>/EIFGENs$</exclude>
|
|
||||||
</file_rule>
|
|
||||||
<option warning="true" void_safety="all">
|
|
||||||
</option>
|
|
||||||
<setting name="concurrency" value="scoop"/>
|
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
|
||||||
<cluster name="src" location=".\src\" recursive="true"/>
|
|
||||||
</target>
|
|
||||||
</system>
|
|
||||||
|
|||||||
@@ -1,15 +1,14 @@
|
|||||||
<?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-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="atom" uuid="076DEABB-20DA-43E9-A4C7-F3FAEDF5B1FC" library_target="atom">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="atom" uuid="076DEABB-20DA-43E9-A4C7-F3FAEDF5B1FC" library_target="atom">
|
||||||
<target name="atom">
|
<target name="atom">
|
||||||
<root all_classes="true"/>
|
<root all_classes="true"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="none">
|
<option warning="true">
|
||||||
</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"/>
|
||||||
<cluster name="src" location=".\src\" recursive="true"/>
|
<cluster name="src" location=".\src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
|
|||||||
@@ -1,16 +1,3 @@
|
|||||||
<?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-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="rss" uuid="8D8E3E5A-2685-40AF-9EF9-E3113B3C62AA" library_target="rss">
|
<redirection xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" uuid="8D8E3E5A-2685-40AF-9EF9-E3113B3C62AA" message="Obsolete: use rss.ecf !" location="rss.ecf">
|
||||||
<target name="rss">
|
</redirection>
|
||||||
<root all_classes="true"/>
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/.git$</exclude>
|
|
||||||
<exclude>/.svn$</exclude>
|
|
||||||
<exclude>/EIFGENs$</exclude>
|
|
||||||
</file_rule>
|
|
||||||
<option warning="true" void_safety="all">
|
|
||||||
</option>
|
|
||||||
<setting name="concurrency" value="scoop"/>
|
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
|
||||||
<cluster name="src" location=".\src\" recursive="true"/>
|
|
||||||
</target>
|
|
||||||
</system>
|
|
||||||
|
|||||||
@@ -1,15 +1,14 @@
|
|||||||
<?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-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="rss" uuid="8D8E3E5A-2685-40AF-9EF9-E3113B3C62AA" library_target="rss">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="rss" uuid="8D8E3E5A-2685-40AF-9EF9-E3113B3C62AA" library_target="rss">
|
||||||
<target name="rss">
|
<target name="rss">
|
||||||
<root all_classes="true"/>
|
<root all_classes="true"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="none">
|
<option warning="true">
|
||||||
</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"/>
|
||||||
<cluster name="src" location=".\src\" recursive="true"/>
|
<cluster name="src" location=".\src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
|
|||||||
@@ -1,16 +1,3 @@
|
|||||||
<?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-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="oauth" uuid="F8B4DF74-C71B-45A3-9B9A-F6141C4D3C56" library_target="oauth">
|
<redirection xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" uuid="F8B4DF74-C71B-45A3-9B9A-F6141C4D3C56" message="Obsolete: use oauth.ecf !" location="oauth.ecf">
|
||||||
<target name="oauth">
|
</redirection>
|
||||||
<root all_classes="true"/>
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/.git$</exclude>
|
|
||||||
<exclude>/.svn$</exclude>
|
|
||||||
<exclude>/EIFGENs$</exclude>
|
|
||||||
</file_rule>
|
|
||||||
<option warning="true" void_safety="all">
|
|
||||||
</option>
|
|
||||||
<setting name="concurrency" value="scoop"/>
|
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
|
||||||
<cluster name="src" location=".\src\" recursive="true"/>
|
|
||||||
</target>
|
|
||||||
</system>
|
|
||||||
|
|||||||
@@ -1,15 +1,14 @@
|
|||||||
<?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-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="oauth" uuid="F8B4DF74-C71B-45A3-9B9A-F6141C4D3C56" library_target="oauth">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="oauth" uuid="F8B4DF74-C71B-45A3-9B9A-F6141C4D3C56" library_target="oauth">
|
||||||
<target name="oauth">
|
<target name="oauth">
|
||||||
<root all_classes="true"/>
|
<root all_classes="true"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="none">
|
<option warning="true">
|
||||||
</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"/>
|
||||||
<cluster name="src" location=".\src\" recursive="true"/>
|
<cluster name="src" location=".\src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
|
|||||||
+10
-11
@@ -1,33 +1,32 @@
|
|||||||
<?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-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="js_widget_template" uuid="5C5C33AA-9DCF-42CF-A85A-A6E650E7234F">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="js_widget_template" uuid="5C5C33AA-9DCF-42CF-A85A-A6E650E7234F">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</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-safe.ecf"/>
|
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json.ecf"/>
|
||||||
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json-safe.ecf"/>
|
<library name="wsf" location="..\..\..\..\..\..\library\server\wsf\wsf.ecf"/>
|
||||||
<library name="wsf" location="..\..\..\..\..\..\library\server\wsf\wsf-safe.ecf"/>
|
<library name="wsf_js_widget" location="..\..\wsf_js_widget.ecf" readonly="false"/>
|
||||||
<library name="wsf_js_widget" location="..\..\wsf_js_widget-safe.ecf" readonly="false"/>
|
|
||||||
</target>
|
</target>
|
||||||
<target name="js_widget_template_standalone" extends="common">
|
<target name="js_widget_template_standalone" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<library name="default_standalone" location="..\..\..\..\..\..\library\server\wsf\default\standalone-safe.ecf"/>
|
<library name="default_standalone" location="..\..\..\..\..\..\library\server\wsf\default\standalone.ecf"/>
|
||||||
<cluster name="js_widget_template" location=".\src\" recursive="true"/>
|
<cluster name="js_widget_template" location=".\src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="js_widget_template_cgi" extends="common">
|
<target name="js_widget_template_cgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<library name="default_cgi" location="..\..\..\..\..\..\library\server\wsf\default\cgi-safe.ecf"/>
|
<library name="default_cgi" location="..\..\..\..\..\..\library\server\wsf\default\cgi.ecf"/>
|
||||||
<cluster name="js_widget_template" location=".\src\" recursive="true"/>
|
<cluster name="js_widget_template" location=".\src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="js_widget_template_libfcgi" extends="common">
|
<target name="js_widget_template_libfcgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<library name="default_libfcgi" location="..\..\..\..\..\..\library\server\wsf\default\libfcgi-safe.ecf"/>
|
<library name="default_libfcgi" location="..\..\..\..\..\..\library\server\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="js_widget_template" location=".\src\" recursive="true"/>
|
<cluster name="js_widget_template" location=".\src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="js_widget_template" extends="js_widget_template_standalone">
|
<target name="js_widget_template" extends="js_widget_template_standalone">
|
||||||
|
|||||||
@@ -1,33 +1,32 @@
|
|||||||
<?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-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="js_custom_widget" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="js_custom_widget" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</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-safe.ecf"/>
|
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json.ecf"/>
|
||||||
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json-safe.ecf"/>
|
<library name="wsf" location="..\..\..\..\..\..\library\server\wsf\wsf.ecf"/>
|
||||||
<library name="wsf" location="..\..\..\..\..\..\library\server\wsf\wsf-safe.ecf"/>
|
<library name="wsf_js_widget" location="..\..\wsf_js_widget.ecf" readonly="false"/>
|
||||||
<library name="wsf_js_widget" location="..\..\wsf_js_widget-safe.ecf" readonly="false"/>
|
|
||||||
</target>
|
</target>
|
||||||
<target name="js_custom_widget_standalone" extends="common">
|
<target name="js_custom_widget_standalone" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<library name="default_standalone" location="..\..\..\..\..\..\library\server\wsf\default\standalone-safe.ecf"/>
|
<library name="default_standalone" location="..\..\..\..\..\..\library\server\wsf\default\standalone.ecf"/>
|
||||||
<cluster name="js_custom_widget" location=".\src\" recursive="true"/>
|
<cluster name="js_custom_widget" location=".\src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="js_custom_widget_cgi" extends="common">
|
<target name="js_custom_widget_cgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<library name="default_cgi" location="..\..\..\..\..\..\library\server\wsf\default\cgi-safe.ecf"/>
|
<library name="default_cgi" location="..\..\..\..\..\..\library\server\wsf\default\cgi.ecf"/>
|
||||||
<cluster name="js_custom_widget" location=".\src\" recursive="true"/>
|
<cluster name="js_custom_widget" location=".\src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="js_custom_widget_libfcgi" extends="common">
|
<target name="js_custom_widget_libfcgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<library name="default_libfcgi" location="..\..\..\..\..\..\library\server\wsf\default\libfcgi-safe.ecf"/>
|
<library name="default_libfcgi" location="..\..\..\..\..\..\library\server\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="js_custom_widget" location=".\src\" recursive="true"/>
|
<cluster name="js_custom_widget" location=".\src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="js_custom_widget" extends="js_custom_widget_standalone">
|
<target name="js_custom_widget" extends="js_custom_widget_standalone">
|
||||||
|
|||||||
@@ -1,44 +1,52 @@
|
|||||||
<?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-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="demo" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="demo" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</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-safe.ecf"/>
|
<library name="http" location="..\..\..\..\..\..\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="http" location="..\..\..\..\..\..\library\network\protocol\http\http-safe.ecf"/>
|
<library name="http_client" location="$ISE_LIBRARY\contrib\library\network\http_client\http_client.ecf"/>
|
||||||
<library name="http_client" location="$ISE_LIBRARY\contrib\library\network\http_client\http_client-safe.ecf"/>
|
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json.ecf"/>
|
||||||
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json-safe.ecf"/>
|
<library name="wsf" location="..\..\..\..\..\..\library\server\wsf\wsf.ecf"/>
|
||||||
<library name="wsf" location="..\..\..\..\..\..\library\server\wsf\wsf-safe.ecf"/>
|
<library name="wsf_js_widget" location="..\..\wsf_js_widget.ecf" readonly="false"/>
|
||||||
<library name="wsf_js_widget" location="..\..\wsf_js_widget-safe.ecf" readonly="false"/>
|
|
||||||
</target>
|
</target>
|
||||||
<target name="demo_standalone" extends="common">
|
<target name="demo_standalone" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_standalone" location="..\..\..\..\..\..\library\server\wsf\default\standalone-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_standalone" location="..\..\..\..\..\..\library\server\wsf\default\standalone.ecf"/>
|
||||||
<cluster name="demo" location=".\" recursive="true"/>
|
<cluster name="demo" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="demo_cgi" extends="common">
|
<target name="demo_cgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_cgi" location="..\..\..\..\..\..\library\server\wsf\default\cgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_cgi" location="..\..\..\..\..\..\library\server\wsf\default\cgi.ecf"/>
|
||||||
<cluster name="demo" location=".\" recursive="true"/>
|
<cluster name="demo" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="demo_libfcgi" extends="common">
|
<target name="demo_libfcgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_libfcgi" location="..\..\..\..\..\..\library\server\wsf\default\libfcgi-safe.ecf"/>
|
<capability>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_libfcgi" location="..\..\..\..\..\..\library\server\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="demo" location=".\" recursive="true"/>
|
<cluster name="demo" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="demo" extends="demo_standalone">
|
<target name="demo" extends="demo_standalone">
|
||||||
|
|||||||
@@ -1,21 +1,3 @@
|
|||||||
<?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-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="wsf_js_widget" uuid="660D6D82-2218-11E3-86B1-F23C91AEC05E" library_target="wsf_js_widget">
|
<redirection xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" uuid="660D6D82-2218-11E3-86B1-F23C91AEC05E" message="Obsolete: use wsf_js_widget.ecf !" location="wsf_js_widget.ecf">
|
||||||
<target name="wsf_js_widget">
|
</redirection>
|
||||||
<root all_classes="true"/>
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/.git$</exclude>
|
|
||||||
<exclude>/.svn$</exclude>
|
|
||||||
<exclude>/EIFGENs$</exclude>
|
|
||||||
</file_rule>
|
|
||||||
<option warning="true" void_safety="all">
|
|
||||||
</option>
|
|
||||||
<setting name="concurrency" value="scoop"/>
|
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
|
||||||
<library name="http" location="..\..\..\..\library\network\protocol\http\http-safe.ecf"/>
|
|
||||||
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json-safe.ecf"/>
|
|
||||||
<library name="pcre" location="$ISE_LIBRARY\unstable\library\text\regexp\pcre\pcre-safe.ecf"/>
|
|
||||||
<library name="time" location="$ISE_LIBRARY\library\time\time-safe.ecf"/>
|
|
||||||
<library name="wsf" location="..\..\..\..\library\server\wsf\wsf-safe.ecf"/>
|
|
||||||
<cluster name="kernel" location=".\kernel\" recursive="true"/>
|
|
||||||
</target>
|
|
||||||
</system>
|
|
||||||
|
|||||||
@@ -1,15 +1,14 @@
|
|||||||
<?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-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="wsf_js_widget" uuid="660D6D82-2218-11E3-86B1-F23C91AEC05E" library_target="wsf_js_widget">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="wsf_js_widget" uuid="660D6D82-2218-11E3-86B1-F23C91AEC05E" library_target="wsf_js_widget">
|
||||||
<target name="wsf_js_widget">
|
<target name="wsf_js_widget">
|
||||||
<root all_classes="true"/>
|
<root all_classes="true"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="none">
|
<option warning="true">
|
||||||
</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="..\..\..\..\library\network\protocol\http\http.ecf"/>
|
<library name="http" location="..\..\..\..\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json.ecf"/>
|
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json.ecf"/>
|
||||||
|
|||||||
@@ -1,22 +1,21 @@
|
|||||||
<?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-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="gewf" uuid="2D4957D5-77D3-4EC7-BF80-E4E6AC7A3EF3">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="gewf" uuid="2D4957D5-77D3-4EC7-BF80-E4E6AC7A3EF3">
|
||||||
<target name="gewf">
|
<target name="gewf">
|
||||||
<description>Generator for EWF project</description>
|
<description>Generator for EWF project</description>
|
||||||
<root class="GEWF" feature="make"/>
|
<root class="GEWF" feature="make"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
</option>
|
</option>
|
||||||
<setting name="console_application" value="true"/>
|
<setting name="console_application" value="true"/>
|
||||||
<setting name="executable_name" value="gewf"/>
|
<setting name="executable_name" value="gewf"/>
|
||||||
<setting name="concurrency" value="none"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base_extension" location="$ISE_LIBRARY\library\base_extension\base_extension.ecf"/>
|
||||||
<library name="base_extension" location="$ISE_LIBRARY\library\base_extension\base_extension-safe.ecf"/>
|
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json.ecf"/>
|
||||||
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json-safe.ecf"/>
|
<library name="uuid" location="$ISE_LIBRARY\library\uuid\uuid.ecf"/>
|
||||||
<library name="uuid" location="$ISE_LIBRARY\library\uuid\uuid-safe.ecf"/>
|
|
||||||
<cluster name="src" location="src\" recursive="true"/>
|
<cluster name="src" location="src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
</system>
|
</system>
|
||||||
|
|||||||
@@ -113,14 +113,13 @@ feature -- Implementation
|
|||||||
across
|
across
|
||||||
l_values as c
|
l_values as c
|
||||||
loop
|
loop
|
||||||
s.replace_substring_all ({STRING_32} "${" + c.key.as_string_32 + "}", c.item)
|
s.replace_substring_all ({STRING_32} "${" + c.key.to_string_32 + "}", c.item.to_string_32)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
note
|
note
|
||||||
copyright: "2011-2013, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others"
|
copyright: "2011-2017, 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
|
||||||
|
|||||||
@@ -1,33 +1,34 @@
|
|||||||
<?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-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="filter" uuid="52FF4B77-0614-4D8B-9B96-C07EC852793E">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="filter" uuid="52FF4B77-0614-4D8B-9B96-C07EC852793E">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
<exclude>/\.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/\.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option debug="true" warning="true" void_safety="all">
|
<option debug="true" warning="true">
|
||||||
<assertions precondition="true" postcondition="true" invariant="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" invariant="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<setting name="concurrency" value="thread"/>
|
<capability>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf" readonly="true"/>
|
<concurrency support="thread" use="thread"/>
|
||||||
<library name="http" location="..\..\..\library\network\protocol\http\http-safe.ecf" readonly="true"/>
|
</capability>
|
||||||
<library name="http_authorization" location="..\..\..\library\server\authentication\http_authorization\http_authorization-safe.ecf" readonly="true"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf" readonly="true"/>
|
||||||
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json-safe.ecf"/>
|
<library name="http" location="..\..\..\library\network\protocol\http\http.ecf" readonly="true"/>
|
||||||
<library name="net" location="$ISE_LIBRARY\library\net\net-safe.ecf" readonly="true"/>
|
<library name="http_authorization" location="..\..\..\library\server\authentication\http_authorization\http_authorization.ecf" readonly="true"/>
|
||||||
<library name="wsf" location="..\..\..\library\server\wsf\wsf-safe.ecf" readonly="false"/>
|
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json.ecf"/>
|
||||||
<library name="wsf_extension" location="..\..\..\library\server\wsf\wsf_extension-safe.ecf" readonly="true"/>
|
<library name="net" location="$ISE_LIBRARY\library\net\net.ecf" readonly="true"/>
|
||||||
<library name="wsf_router_context" location="..\..\..\library\server\wsf\wsf_router_context-safe.ecf" readonly="true"/>
|
<library name="wsf" location="..\..\..\library\server\wsf\wsf.ecf" readonly="false"/>
|
||||||
|
<library name="wsf_extension" location="..\..\..\library\server\wsf\wsf_extension.ecf" readonly="true"/>
|
||||||
|
<library name="wsf_router_context" location="..\..\..\library\server\wsf\wsf_router_context.ecf" readonly="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="filter_standalone" extends="common">
|
<target name="filter_standalone" extends="common">
|
||||||
<root class="FILTER_SERVER" feature="make"/>
|
<root class="FILTER_SERVER" feature="make"/>
|
||||||
<setting name="concurrency" value="thread"/>
|
<library name="default_standalone" location="..\..\..\library\server\wsf\default\standalone.ecf" readonly="true"/>
|
||||||
<library name="default_standalone" location="..\..\..\library\server\wsf\default\standalone-safe.ecf" readonly="true"/>
|
|
||||||
<cluster name="filter" location="src\" recursive="true"/>
|
<cluster name="filter" location="src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="filter_fcgi" extends="common">
|
<target name="filter_fcgi" extends="common">
|
||||||
<root class="FILTER_SERVER" feature="make"/>
|
<root class="FILTER_SERVER" feature="make"/>
|
||||||
<library name="default_libfcgi" location="..\..\..\library\server\wsf\default\libfcgi-safe.ecf"/>
|
<library name="default_libfcgi" location="..\..\..\library\server\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="filter" location="src\" recursive="true"/>
|
<cluster name="filter" location="src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="filter" extends="filter_standalone">
|
<target name="filter" extends="filter_standalone">
|
||||||
|
|||||||
+14
-17
@@ -1,47 +1,44 @@
|
|||||||
<?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-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="debug" uuid="AA458565-7711-4BE1-ADA3-91716EABFA21">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="debug" uuid="AA458565-7711-4BE1-ADA3-91716EABFA21">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<setting name="console_application" value="true"/>
|
<setting name="console_application" value="true"/>
|
||||||
<setting name="concurrency" value="scoop"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="encoder" location="..\..\library\text\encoder\encoder.ecf" readonly="false"/>
|
||||||
<library name="encoder" location="..\..\library\text\encoder\encoder-safe.ecf" readonly="false"/>
|
<library name="http" location="..\..\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="http" location="..\..\library\network\protocol\http\http-safe.ecf"/>
|
<library name="wsf" location="..\..\library\server\wsf\wsf.ecf" readonly="false"/>
|
||||||
<library name="wsf" location="..\..\library\server\wsf\wsf-safe.ecf" readonly="false"/>
|
<library name="wsf_extension" location="..\..\library\server\wsf\wsf_extension.ecf" readonly="false"/>
|
||||||
<library name="wsf_extension" location="..\..\library\server\wsf\wsf_extension-safe.ecf" readonly="false"/>
|
|
||||||
</target>
|
</target>
|
||||||
<target name="debug_any" extends="common">
|
<target name="debug_any" extends="common">
|
||||||
<root class="EWF_DEBUG_SERVER" feature="make_and_launch"/>
|
<root class="EWF_DEBUG_SERVER" feature="make_and_launch"/>
|
||||||
<setting name="concurrency" value="scoop"/>
|
<library name="cgi" location="..\..\library\server\wsf\connector\cgi.ecf" readonly="false"/>
|
||||||
<library name="cgi" location="..\..\library\server\wsf\connector\cgi-safe.ecf" readonly="false"/>
|
<library name="libfcgi" location="..\..\library\server\wsf\connector\libfcgi.ecf" readonly="false"/>
|
||||||
<library name="libfcgi" location="..\..\library\server\wsf\connector\libfcgi-safe.ecf" readonly="false"/>
|
<library name="standalone" location="..\..\library\server\wsf\connector\standalone.ecf" readonly="false"/>
|
||||||
<library name="standalone" location="..\..\library\server\wsf\connector\standalone-safe.ecf" readonly="false"/>
|
|
||||||
<cluster name="launcher" location=".\launcher\any\" recursive="true"/>
|
<cluster name="launcher" location=".\launcher\any\" recursive="true"/>
|
||||||
<cluster name="src" location=".\src\" recursive="true"/>
|
<cluster name="src" location=".\src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="debug_standalone" extends="common">
|
<target name="debug_standalone" extends="common">
|
||||||
<root class="EWF_DEBUG_SERVER" feature="make_and_launch"/>
|
<root class="EWF_DEBUG_SERVER" feature="make_and_launch"/>
|
||||||
<setting name="concurrency" value="scoop"/>
|
<library name="default_standalone" location="..\..\library\server\wsf\default\standalone.ecf" readonly="false"/>
|
||||||
<library name="default_standalone" location="..\..\library\server\wsf\default\standalone-safe.ecf" readonly="false"/>
|
|
||||||
<cluster name="launcher" location=".\launcher\default\" recursive="true"/>
|
<cluster name="launcher" location=".\launcher\default\" recursive="true"/>
|
||||||
<cluster name="src" location=".\src\" recursive="true"/>
|
<cluster name="src" location=".\src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="debug_cgi" extends="common">
|
<target name="debug_cgi" extends="common">
|
||||||
<root class="EWF_DEBUG_SERVER" feature="make_and_launch"/>
|
<root class="EWF_DEBUG_SERVER" feature="make_and_launch"/>
|
||||||
<library name="default_cgi" location="..\..\library\server\wsf\default\cgi-safe.ecf" readonly="false"/>
|
<library name="default_cgi" location="..\..\library\server\wsf\default\cgi.ecf" readonly="false"/>
|
||||||
<cluster name="launcher" location=".\launcher\default\" recursive="true"/>
|
<cluster name="launcher" location=".\launcher\default\" recursive="true"/>
|
||||||
<cluster name="src" location=".\src\" recursive="true"/>
|
<cluster name="src" location=".\src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="debug_libfcgi" extends="common">
|
<target name="debug_libfcgi" extends="common">
|
||||||
<root class="EWF_DEBUG_SERVER" feature="make_and_launch"/>
|
<root class="EWF_DEBUG_SERVER" feature="make_and_launch"/>
|
||||||
<library name="default_libfcgi" location="..\..\library\server\wsf\default\libfcgi-safe.ecf"/>
|
<library name="default_libfcgi" location="..\..\library\server\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="launcher" location=".\launcher\default\" recursive="true"/>
|
<cluster name="launcher" location=".\launcher\default\" recursive="true"/>
|
||||||
<cluster name="src" location=".\src\" recursive="true"/>
|
<cluster name="src" location=".\src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
|
|||||||
@@ -1,23 +1,22 @@
|
|||||||
<?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-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="desktop_app" uuid="E015841A-D456-46E1-8A18-E0CEB9E69CD5">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="desktop_app" uuid="E015841A-D456-46E1-8A18-E0CEB9E69CD5">
|
||||||
<description>Vision2+web browser widget+embedded web service</description>
|
<description>Vision2+web browser widget+embedded web service</description>
|
||||||
<target name="desktop_app">
|
<target name="desktop_app">
|
||||||
<description>This example demonstrates how to build a vision2 desktop application that embed a web browser accessing the service of an embedded web service.</description>
|
<description>This example demonstrates how to build a vision2 desktop application that embed a web browser accessing the service of an embedded web service.</description>
|
||||||
<root class="DESKTOP_APP" feature="make_and_launch"/>
|
<root class="DESKTOP_APP" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true"/>
|
<assertions precondition="true" postcondition="true" check="true"/>
|
||||||
</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-safe.ecf"/>
|
<library name="ewsgi" location="..\..\library\server\ewsgi\ewsgi.ecf"/>
|
||||||
<library name="ewsgi" location="..\..\library\server\ewsgi\ewsgi-safe.ecf"/>
|
<library name="vision2" location="$ISE_LIBRARY\library\vision2\vision2.ecf"/>
|
||||||
<library name="vision2" location="$ISE_LIBRARY\library\vision2\vision2-safe.ecf"/>
|
<library name="web_browser" location="$ISE_LIBRARY\library\web_browser\web_browser.ecf" readonly="false"/>
|
||||||
<library name="web_browser" location="$ISE_LIBRARY\library\web_browser\web_browser-safe.ecf" readonly="false"/>
|
<library name="wsf" location="..\..\library\server\wsf\wsf.ecf"/>
|
||||||
<library name="wsf" location="..\..\library\server\wsf\wsf-safe.ecf"/>
|
<library name="wsf_standalone" location="..\..\library\server\wsf\connector\standalone.ecf"/>
|
||||||
<library name="wsf_standalone" location="..\..\library\server\wsf\connector\standalone-safe.ecf"/>
|
<library name="wsf_standalone_connector" location="..\..\library\server\ewsgi\connectors\standalone\standalone.ecf"/>
|
||||||
<library name="wsf_standalone_connector" location="..\..\library\server\ewsgi\connectors\standalone\standalone-safe.ecf"/>
|
|
||||||
<cluster name="src" location=".\src\" recursive="true">
|
<cluster name="src" location=".\src\" recursive="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
|
|||||||
+20
-18
@@ -1,52 +1,54 @@
|
|||||||
<?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-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="form" uuid="1F7BD03F-AC70-42DD-8451-F8B19051641C">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="form" uuid="1F7BD03F-AC70-42DD-8451-F8B19051641C">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<setting name="console_application" value="true"/>
|
<setting name="console_application" value="true"/>
|
||||||
<setting name="concurrency" value="scoop"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="http" location="..\..\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="uuid" location="$ISE_LIBRARY\library\uuid\uuid-safe.ecf"/>
|
<library name="uuid" location="$ISE_LIBRARY\library\uuid\uuid.ecf"/>
|
||||||
<library name="http" location="..\..\library\network\protocol\http\http-safe.ecf"/>
|
<library name="wsf" location="..\..\library\server\wsf\wsf.ecf"/>
|
||||||
<library name="wsf" location="..\..\library\server\wsf\wsf-safe.ecf"/>
|
<library name="wsf_html" location="..\..\library\server\wsf_html\wsf_html.ecf"/>
|
||||||
<library name="wsf_html" location="..\..\library\server\wsf_html\wsf_html-safe.ecf"/>
|
|
||||||
</target>
|
</target>
|
||||||
<target name="form_standalone" extends="common">
|
<target name="form_standalone" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option debug="false" warning="true" void_safety="all">
|
<option debug="false" warning="true">
|
||||||
<debug name="dbglog" enabled="true"/>
|
<debug name="dbglog" enabled="true"/>
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<setting name="concurrency" value="scoop"/>
|
<library name="default_standalone" location="..\..\library\server\wsf\default\standalone.ecf"/>
|
||||||
<library name="default_standalone" location="..\..\library\server\wsf\default\standalone-safe.ecf"/>
|
|
||||||
<cluster name="src" location=".\" recursive="true"/>
|
<cluster name="src" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="form_standalone_mt" extends="form_standalone">
|
<target name="form_standalone_mt" extends="form_standalone">
|
||||||
<setting name="concurrency" value="thread"/>
|
<capability>
|
||||||
|
<concurrency use="thread"/>
|
||||||
|
</capability>
|
||||||
</target>
|
</target>
|
||||||
<target name="form_standalone_st" extends="form_standalone">
|
<target name="form_standalone_st" extends="form_standalone">
|
||||||
<setting name="concurrency" value="none"/>
|
<capability>
|
||||||
|
<concurrency use="none"/>
|
||||||
|
</capability>
|
||||||
</target>
|
</target>
|
||||||
<target name="form_cgi" extends="common">
|
<target name="form_cgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_cgi" location="..\..\library\server\wsf\default\cgi-safe.ecf"/>
|
<library name="default_cgi" location="..\..\library\server\wsf\default\cgi.ecf"/>
|
||||||
<cluster name="src" location=".\" recursive="true"/>
|
<cluster name="src" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="form_libfcgi" extends="common">
|
<target name="form_libfcgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_libfcgi" location="..\..\library\server\wsf\default\libfcgi-safe.ecf"/>
|
<library name="default_libfcgi" location="..\..\library\server\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="src" location=".\" recursive="true"/>
|
<cluster name="src" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
</system>
|
</system>
|
||||||
|
|||||||
+21
-15
@@ -1,35 +1,41 @@
|
|||||||
<?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-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="filter" uuid="52FF4B77-0614-4D8B-9B96-C07EC852793E">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="filter" uuid="52FF4B77-0614-4D8B-9B96-C07EC852793E">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
<exclude>/\.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/\.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option debug="true" warning="true" void_safety="all">
|
<capability>
|
||||||
|
<concurrency support="thread" use="thread"/>
|
||||||
|
</capability>
|
||||||
|
<option debug="true" warning="true">
|
||||||
<debug name="nino" enabled="true"/>
|
<debug name="nino" enabled="true"/>
|
||||||
<assertions precondition="true" postcondition="true" invariant="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" invariant="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<setting name="concurrency" value="thread"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf" readonly="true"/>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf" readonly="true"/>
|
<library name="http" location="..\..\..\..\library\network\protocol\http\http.ecf" readonly="true"/>
|
||||||
<library name="http" location="..\..\..\..\library\network\protocol\http\http-safe.ecf" readonly="true"/>
|
<library name="http_authorization" location="..\..\..\..\library\server\authentication\http_authorization\http_authorization.ecf" readonly="true"/>
|
||||||
<library name="http_authorization" location="..\..\..\..\library\server\authentication\http_authorization\http_authorization-safe.ecf" readonly="true"/>
|
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json.ecf"/>
|
||||||
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json-safe.ecf"/>
|
<library name="net" location="$ISE_LIBRARY\library\net\net.ecf" readonly="true"/>
|
||||||
<library name="net" location="$ISE_LIBRARY\library\net\net-safe.ecf" readonly="true"/>
|
<library name="wsf" location="..\..\..\..\library\server\obsolete\v0\wsf\wsf.ecf" readonly="true"/>
|
||||||
<library name="wsf" location="..\..\..\..\library\server\obsolete\v0\wsf\wsf-safe.ecf" readonly="true"/>
|
<library name="wsf_extension" location="..\..\..\..\library\server\obsolete\v0\wsf\wsf_extension.ecf" readonly="true"/>
|
||||||
<library name="wsf_extension" location="..\..\..\..\library\server\obsolete\v0\wsf\wsf_extension-safe.ecf" readonly="true"/>
|
<library name="wsf_router_context" location="..\..\..\..\library\server\obsolete\v0\wsf\wsf_router_context.ecf" readonly="true"/>
|
||||||
<library name="wsf_router_context" location="..\..\..\..\library\server\obsolete\v0\wsf\wsf_router_context-safe.ecf" readonly="true"/>
|
|
||||||
</target>
|
</target>
|
||||||
<target name="filter_nino" extends="common">
|
<target name="filter_nino" extends="common">
|
||||||
<root class="FILTER_SERVER" feature="make"/>
|
<root class="FILTER_SERVER" feature="make"/>
|
||||||
<library name="default_nino" location="..\..\..\..\library\server\obsolete\v0\wsf\default\nino-safe.ecf" readonly="true"/>
|
<capability>
|
||||||
|
<concurrency support="thread" use="thread"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_nino" location="..\..\..\..\library\server\obsolete\v0\wsf\default\nino.ecf" readonly="true"/>
|
||||||
<cluster name="filter" location="src\" recursive="true"/>
|
<cluster name="filter" location="src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="filter_fcgi" extends="common">
|
<target name="filter_fcgi" extends="common">
|
||||||
<root class="FILTER_SERVER" feature="make"/>
|
<root class="FILTER_SERVER" feature="make"/>
|
||||||
<library name="default_libfcgi" location="..\..\..\..\library\server\obsolete\v0\wsf\default\libfcgi-safe.ecf"/>
|
<capability>
|
||||||
|
<concurrency support="thread" use="thread"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_libfcgi" location="..\..\..\..\library\server\obsolete\v0\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="filter" location="src\" recursive="true"/>
|
<cluster name="filter" location="src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="filter" extends="filter_nino">
|
|
||||||
</target>
|
|
||||||
</system>
|
</system>
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
||||||
<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="client" uuid="D0059CEB-5F5C-4D21-8C71-842BD0F88468">
|
|
||||||
<target name="client">
|
|
||||||
<root class="RESTBUCK_CLIENT" feature="make"/>
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/.git$</exclude>
|
|
||||||
<exclude>/.svn$</exclude>
|
|
||||||
<exclude>/EIFGENs$</exclude>
|
|
||||||
</file_rule>
|
|
||||||
<option warning="true" void_safety="all">
|
|
||||||
</option>
|
|
||||||
<setting name="concurrency" value="thread"/>
|
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
|
||||||
<library name="http_client" location="..\..\..\..\..\library\network\http_client\http_client-safe.ecf" readonly="false"/>
|
|
||||||
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json-safe.ecf"/>
|
|
||||||
<library name="thread" location="$ISE_LIBRARY\library\thread\thread-safe.ecf"/>
|
|
||||||
<cluster name="src" location=".\src\" recursive="true"/>
|
|
||||||
</target>
|
|
||||||
</system>
|
|
||||||
@@ -1,17 +1,20 @@
|
|||||||
<?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-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="client" uuid="D0059CEB-5F5C-4D21-8C71-842BD0F88468">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="client" uuid="D0059CEB-5F5C-4D21-8C71-842BD0F88468">
|
||||||
<target name="client">
|
<target name="client">
|
||||||
<root class="RESTBUCK_CLIENT" feature="make"/>
|
<root class="RESTBUCK_CLIENT" feature="make"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="none">
|
<option warning="true">
|
||||||
</option>
|
</option>
|
||||||
<setting name="concurrency" value="thread"/>
|
<capability>
|
||||||
|
<concurrency support="thread" use="thread"/>
|
||||||
|
<void_safety support="all"/>
|
||||||
|
</capability>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="http_client" location="..\..\..\..\..\library\network\http_client\http_client.ecf"/>
|
<library name="http_client" location="..\..\..\..\..\library\network\http_client\http_client.ecf" readonly="false"/>
|
||||||
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json.ecf"/>
|
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json.ecf"/>
|
||||||
<library name="thread" location="$ISE_LIBRARY\library\thread\thread.ecf"/>
|
<library name="thread" location="$ISE_LIBRARY\library\thread\thread.ecf"/>
|
||||||
<cluster name="src" location=".\src\" recursive="true"/>
|
<cluster name="src" location=".\src\" recursive="true"/>
|
||||||
|
|||||||
+21
-21
@@ -1,35 +1,35 @@
|
|||||||
<?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-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="restbucks" uuid="2773FEAA-448F-410E-BEDE-9298C4749066">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="restbucks" uuid="2773FEAA-448F-410E-BEDE-9298C4749066">
|
||||||
<target name="restbucks_common" abstract="true">
|
<target name="restbucks_common">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
<exclude>/\.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/\.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option void_safety="all">
|
<capability>
|
||||||
</option>
|
<concurrency support="thread" use="thread"/>
|
||||||
<setting name="concurrency" value="thread"/>
|
</capability>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="connector_nino" location="..\..\..\..\library\server\obsolete\v0\ewsgi\connectors\nino\nino-safe.ecf" readonly="false">
|
<library name="connector_nino" location="..\..\..\..\library\server\obsolete\v0\ewsgi\connectors\nino\nino.ecf" readonly="false">
|
||||||
<option debug="true">
|
<option debug="true">
|
||||||
<debug name="nino" enabled="true"/>
|
<debug name="nino" enabled="true"/>
|
||||||
</option>
|
</option>
|
||||||
</library>
|
</library>
|
||||||
<library name="conneg" location="..\..\..\..\library\network\protocol\content_negotiation\conneg-safe.ecf"/>
|
<library name="conneg" location="..\..\..\..\library\network\protocol\content_negotiation\conneg.ecf"/>
|
||||||
<library name="crypto" location="$ISE_LIBRARY\unstable\library\text\encryption\crypto\crypto-safe.ecf" readonly="false"/>
|
<library name="crypto" location="$ISE_LIBRARY\unstable\library\text\encryption\crypto\crypto.ecf" readonly="false"/>
|
||||||
<library name="default_nino" location="..\..\..\..\library\server\obsolete\v0\wsf\default\nino-safe.ecf" readonly="false"/>
|
<library name="default_nino" location="..\..\..\..\library\server\obsolete\v0\wsf\default\nino.ecf" readonly="false"/>
|
||||||
<library name="encoder" location="..\..\..\..\library\text\encoder\encoder-safe.ecf" readonly="false"/>
|
<library name="encoder" location="..\..\..\..\library\text\encoder\encoder.ecf" readonly="false"/>
|
||||||
<library name="http" location="..\..\..\..\library\network\protocol\http\http-safe.ecf" readonly="false"/>
|
<library name="http" location="..\..\..\..\library\network\protocol\http\http.ecf" readonly="false"/>
|
||||||
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json-safe.ecf"/>
|
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json.ecf"/>
|
||||||
<library name="time" location="$ISE_LIBRARY\library\time\time-safe.ecf"/>
|
<library name="time" location="$ISE_LIBRARY\library\time\time.ecf"/>
|
||||||
<library name="uri" location="$ISE_LIBRARY\library\text\uri\uri-safe.ecf"/>
|
<library name="uri" location="$ISE_LIBRARY\library\text\uri\uri.ecf"/>
|
||||||
<library name="uri_template" location="..\..\..\..\library\text\parser\uri_template\uri_template-safe.ecf" readonly="false"/>
|
<library name="uri_template" location="..\..\..\..\library\text\parser\uri_template\uri_template.ecf" readonly="false"/>
|
||||||
<library name="wsf" location="..\..\..\..\library\server\obsolete\v0\wsf\wsf-safe.ecf" readonly="false"/>
|
<library name="wsf" location="..\..\..\..\library\server\obsolete\v0\wsf\wsf.ecf" readonly="false"/>
|
||||||
<library name="wsf_extension" location="..\..\..\..\library\server\obsolete\v0\wsf\wsf_extension-safe.ecf" readonly="false"/>
|
<library name="wsf_extension" location="..\..\..\..\library\server\obsolete\v0\wsf\wsf_extension.ecf" readonly="false"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="restbucks" extends="restbucks_common">
|
<target name="restbucks" extends="restbucks_common">
|
||||||
<root class="RESTBUCKS_SERVER" feature="make"/>
|
<root class="RESTBUCKS_SERVER" feature="make"/>
|
||||||
<option debug="true" warning="true" void_safety="all">
|
<option debug="true" warning="true">
|
||||||
<debug name="nino" enabled="true"/>
|
<debug name="nino" enabled="true"/>
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
@@ -41,11 +41,11 @@
|
|||||||
</target>
|
</target>
|
||||||
<target name="policy_driven_restbucks" extends="restbucks_common">
|
<target name="policy_driven_restbucks" extends="restbucks_common">
|
||||||
<root class="RESTBUCKS_SERVER" feature="make"/>
|
<root class="RESTBUCKS_SERVER" feature="make"/>
|
||||||
<option debug="true" warning="true" void_safety="all">
|
<option debug="true" warning="true">
|
||||||
<debug name="nino" enabled="true"/>
|
<debug name="nino" enabled="true"/>
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="wsf_policy_driven" location="..\..\..\..\library\server\obsolete\v0\wsf\wsf_policy_driven-safe.ecf" readonly="false"/>
|
<library name="wsf_policy_driven" location="..\..\..\..\library\server\obsolete\v0\wsf\wsf_policy_driven.ecf" readonly="false"/>
|
||||||
<cluster name="src" location="src\" recursive="true">
|
<cluster name="src" location="src\" recursive="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/resource$</exclude>
|
<exclude>/resource$</exclude>
|
||||||
@@ -1,29 +1,27 @@
|
|||||||
<?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-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="proxy" uuid="B55F0D95-3793-4C90-BBAC-BF5F2DECD5E6">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="proxy" uuid="B55F0D95-3793-4C90-BBAC-BF5F2DECD5E6">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<setting name="console_application" value="true"/>
|
<setting name="console_application" value="true"/>
|
||||||
<setting name="concurrency" value="scoop"/>
|
|
||||||
<variable name="ssl_supported" value="false"/>
|
<variable name="ssl_supported" value="false"/>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="http" location="..\..\library\network\protocol\http\http-safe.ecf"/>
|
<library name="http" location="..\..\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="wsf" location="..\..\library\server\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="..\..\library\server\wsf\wsf.ecf"/>
|
||||||
<library name="wsf_proxy" location="..\..\library\server\wsf_proxy\wsf_proxy-safe.ecf" readonly="false"/>
|
<library name="wsf_proxy" location="..\..\library\server\wsf_proxy\wsf_proxy.ecf" readonly="false"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="proxy" extends="common">
|
<target name="proxy" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<setting name="concurrency" value="scoop"/>
|
<library name="default_standalone" location="..\..\library\server\wsf\default\standalone.ecf"/>
|
||||||
<library name="default_standalone" location="..\..\library\server\wsf\default\standalone-safe.ecf"/>
|
|
||||||
<cluster name="proxy" location=".\" recursive="true"/>
|
<cluster name="proxy" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
</system>
|
</system>
|
||||||
|
|||||||
@@ -1,19 +1,18 @@
|
|||||||
<?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-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="client" uuid="D0059CEB-5F5C-4D21-8C71-842BD0F88468">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="client" uuid="D0059CEB-5F5C-4D21-8C71-842BD0F88468">
|
||||||
<target name="client">
|
<target name="client">
|
||||||
<root class="RESTBUCK_CLIENT" feature="make"/>
|
<root class="RESTBUCK_CLIENT" feature="make"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
</option>
|
</option>
|
||||||
<setting name="console_application" value="true"/>
|
<setting name="console_application" value="true"/>
|
||||||
<setting name="concurrency" value="scoop"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="http_client" location="..\..\..\..\library\network\http_client\http_client.ecf"/>
|
||||||
<library name="http_client" location="..\..\..\..\library\network\http_client\http_client-safe.ecf"/>
|
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json.ecf"/>
|
||||||
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json-safe.ecf"/>
|
|
||||||
<cluster name="src" location=".\src\" recursive="true"/>
|
<cluster name="src" location=".\src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
</system>
|
</system>
|
||||||
|
|||||||
@@ -1,33 +1,29 @@
|
|||||||
<?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-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="restbucks" uuid="2773FEAA-448F-410E-BEDE-9298C4749066">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="restbucks" uuid="2773FEAA-448F-410E-BEDE-9298C4749066">
|
||||||
<target name="restbucks_common" abstract="true">
|
<target name="restbucks_common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
<exclude>/\.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/\.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option void_safety="all">
|
|
||||||
</option>
|
|
||||||
<setting name="console_application" value="true"/>
|
<setting name="console_application" value="true"/>
|
||||||
<setting name="concurrency" value="scoop"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="conneg" location="..\..\..\library\network\protocol\content_negotiation\conneg.ecf"/>
|
||||||
<library name="conneg" location="..\..\..\library\network\protocol\content_negotiation\conneg-safe.ecf"/>
|
<library name="crypto" location="$ISE_LIBRARY\unstable\library\text\encryption\crypto\crypto.ecf" readonly="false"/>
|
||||||
<library name="crypto" location="$ISE_LIBRARY\unstable\library\text\encryption\crypto\crypto-safe.ecf" readonly="false"/>
|
<library name="default_standalone" location="..\..\..\library\server\wsf\default\standalone.ecf" readonly="false"/>
|
||||||
<library name="default_standalone" location="..\..\..\library\server\wsf\default\standalone-safe.ecf" readonly="false"/>
|
<library name="encoder" location="..\..\..\library\text\encoder\encoder.ecf" readonly="false"/>
|
||||||
<library name="encoder" location="..\..\..\library\text\encoder\encoder-safe.ecf" readonly="false"/>
|
<library name="http" location="..\..\..\library\network\protocol\http\http.ecf" readonly="false"/>
|
||||||
<library name="http" location="..\..\..\library\network\protocol\http\http-safe.ecf" readonly="false"/>
|
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json.ecf"/>
|
||||||
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json-safe.ecf"/>
|
<library name="simple_db" location="support\simple_db\simple_db.ecf"/>
|
||||||
<library name="simple_db" location="support\simple_db\simple_db-safe.ecf"/>
|
<library name="time" location="$ISE_LIBRARY\library\time\time.ecf"/>
|
||||||
<library name="time" location="$ISE_LIBRARY\library\time\time-safe.ecf"/>
|
<library name="uri" location="$ISE_LIBRARY\library\text\uri\uri.ecf"/>
|
||||||
<library name="uri" location="$ISE_LIBRARY\library\text\uri\uri-safe.ecf"/>
|
<library name="uri_template" location="..\..\..\library\text\parser\uri_template\uri_template.ecf" readonly="false"/>
|
||||||
<library name="uri_template" location="..\..\..\library\text\parser\uri_template\uri_template-safe.ecf" readonly="false"/>
|
<library name="wsf" location="..\..\..\library\server\wsf\wsf.ecf" readonly="false"/>
|
||||||
<library name="wsf" location="..\..\..\library\server\wsf\wsf-safe.ecf" readonly="false"/>
|
<library name="wsf_extension" location="..\..\..\library\server\wsf\wsf_extension.ecf" readonly="false"/>
|
||||||
<library name="wsf_extension" location="..\..\..\library\server\wsf\wsf_extension-safe.ecf" readonly="false"/>
|
|
||||||
</target>
|
</target>
|
||||||
<target name="restbucks" extends="restbucks_common">
|
<target name="restbucks" extends="restbucks_common">
|
||||||
<root class="RESTBUCKS_SERVER" feature="make"/>
|
<root class="RESTBUCKS_SERVER" feature="make"/>
|
||||||
<option debug="true" warning="true" void_safety="all">
|
<option debug="true" warning="true">
|
||||||
<debug name="standalone" enabled="true"/>
|
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<cluster name="src" location="src\" recursive="true">
|
<cluster name="src" location="src\" recursive="true">
|
||||||
@@ -38,11 +34,10 @@
|
|||||||
</target>
|
</target>
|
||||||
<target name="policy_driven_restbucks" extends="restbucks_common">
|
<target name="policy_driven_restbucks" extends="restbucks_common">
|
||||||
<root class="RESTBUCKS_SERVER" feature="make"/>
|
<root class="RESTBUCKS_SERVER" feature="make"/>
|
||||||
<option debug="true" warning="true" void_safety="all">
|
<option debug="true" warning="true">
|
||||||
<debug name="standalone" enabled="true"/>
|
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="wsf_policy_driven" location="..\..\..\library\server\wsf\wsf_policy_driven-safe.ecf" readonly="false"/>
|
<library name="wsf_policy_driven" location="..\..\..\library\server\wsf\wsf_policy_driven.ecf" readonly="false"/>
|
||||||
<cluster name="src" location="src\" recursive="true">
|
<cluster name="src" location="src\" recursive="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/resource/order_handler.e$</exclude>
|
<exclude>/resource/order_handler.e$</exclude>
|
||||||
|
|||||||
@@ -1,25 +1,3 @@
|
|||||||
<?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-15-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.eiffel.com/developers/xml/configuration-1-15-0.xsd" name="simple_db" uuid="1A6B9D12-25F5-4BB8-98C0-DB6FDE9CCE18" library_target="simple_db">
|
<redirection xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" uuid="1A6B9D12-25F5-4BB8-98C0-DB6FDE9CCE18" message="Obsolete: use simple_db.ecf !" location="simple_db.ecf">
|
||||||
<target name="simple_db">
|
</redirection>
|
||||||
<root all_classes="true"/>
|
|
||||||
<option warning="true" void_safety="all">
|
|
||||||
</option>
|
|
||||||
<setting name="concurrency" value="scoop"/>
|
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
|
||||||
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json-safe.ecf"/>
|
|
||||||
<cluster name="src" location="src\" recursive="true">
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/.*json.*\.e$</exclude>
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="17.0.0.0"/>
|
|
||||||
</condition>
|
|
||||||
</file_rule>
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/basic_memory_database\.e$</exclude>
|
|
||||||
<condition>
|
|
||||||
<concurrency value="scoop"/>
|
|
||||||
</condition>
|
|
||||||
</file_rule>
|
|
||||||
</cluster>
|
|
||||||
</target>
|
|
||||||
</system>
|
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
<?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-15-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.eiffel.com/developers/xml/configuration-1-15-0.xsd" name="simple_db" uuid="1A6B9D12-25F5-4BB8-98C0-DB6FDE9CCE18" library_target="simple_db">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="simple_db" uuid="1A6B9D12-25F5-4BB8-98C0-DB6FDE9CCE18" library_target="simple_db">
|
||||||
<target name="simple_db">
|
<target name="simple_db">
|
||||||
<root all_classes="true"/>
|
<root all_classes="true"/>
|
||||||
<option warning="true" void_safety="none">
|
<option warning="true">
|
||||||
</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="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json.ecf"/>
|
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json.ecf"/>
|
||||||
<cluster name="src" location="src\" recursive="true">
|
<cluster name="src" location="src\" recursive="true">
|
||||||
|
|||||||
@@ -1,19 +1,18 @@
|
|||||||
<?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-15-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.eiffel.com/developers/xml/configuration-1-15-0.xsd" name="test_simple_db" uuid="2A955961-2B7F-4075-BD05-F75225D8A711">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="test_simple_db" uuid="2A955961-2B7F-4075-BD05-F75225D8A711">
|
||||||
<target name="test_simple_db">
|
<target name="test_simple_db">
|
||||||
<file_rule>
|
|
||||||
<exclude>/\.svn$</exclude>
|
|
||||||
<exclude>/\.git$</exclude>
|
|
||||||
<exclude>/EIFGENs$</exclude>
|
|
||||||
</file_rule>
|
|
||||||
<root class="ANY" feature="default_create"/>
|
<root class="ANY" feature="default_create"/>
|
||||||
<option warning="true" void_safety="all">
|
<file_rule>
|
||||||
|
<exclude>/EIFGENs$</exclude>
|
||||||
|
<exclude>/\.git$</exclude>
|
||||||
|
<exclude>/\.svn$</exclude>
|
||||||
|
</file_rule>
|
||||||
|
<option warning="true">
|
||||||
</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-safe.ecf"/>
|
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json.ecf"/>
|
||||||
<library name="json" location="$ISE_LIBRARY\contrib\library\text\parser\json\library\json-safe.ecf"/>
|
<library name="simple_db" location="..\simple_db.ecf" readonly="false"/>
|
||||||
<library name="simple_db" location="..\simple_db-safe.ecf" readonly="False"/>
|
<library name="testing" location="$ISE_LIBRARY\library\testing\testing.ecf"/>
|
||||||
<library name="testing" location="$ISE_LIBRARY\library\testing\testing-safe.ecf"/>
|
|
||||||
<cluster name="tests" location=".\" recursive="true">
|
<cluster name="tests" location=".\" recursive="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.*json.*\.e$</exclude>
|
<exclude>/.*json.*\.e$</exclude>
|
||||||
@@ -30,7 +29,8 @@
|
|||||||
</cluster>
|
</cluster>
|
||||||
</target>
|
</target>
|
||||||
<target name="test_simple_db_st" extends="test_simple_db">
|
<target name="test_simple_db_st" extends="test_simple_db">
|
||||||
<setting name="concurrency" value="none"/>
|
<capability>
|
||||||
|
<concurrency support="none" use="none"/>
|
||||||
|
</capability>
|
||||||
</target>
|
</target>
|
||||||
</system>
|
</system>
|
||||||
|
|
||||||
|
|||||||
+18
-17
@@ -1,50 +1,51 @@
|
|||||||
<?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-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="simple" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="simple" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
||||||
<target name="common" abstract="true">
|
<target name="common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<setting name="console_application" value="true"/>
|
<setting name="console_application" value="true"/>
|
||||||
<setting name="concurrency" value="scoop"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="http" location="..\..\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="http" location="..\..\library\network\protocol\http\http-safe.ecf"/>
|
<library name="wsf" location="..\..\library\server\wsf\wsf.ecf"/>
|
||||||
<library name="wsf" location="..\..\library\server\wsf\wsf-safe.ecf"/>
|
|
||||||
</target>
|
</target>
|
||||||
<target name="simple_standalone" extends="common">
|
<target name="simple_standalone" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option debug="false" warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<debug name="dbglog" enabled="true"/>
|
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<setting name="concurrency" value="scoop"/>
|
<library name="default_standalone" location="..\..\library\server\wsf\default\standalone.ecf"/>
|
||||||
<library name="default_standalone" location="..\..\library\server\wsf\default\standalone-safe.ecf"/>
|
|
||||||
<cluster name="simple" location=".\" recursive="true"/>
|
<cluster name="simple" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="simple_standalone_mt" extends="simple_standalone">
|
<target name="simple_standalone_mt" extends="simple_standalone">
|
||||||
<setting name="concurrency" value="thread"/>
|
<capability>
|
||||||
|
<concurrency support="thread" use="thread"/>
|
||||||
|
</capability>
|
||||||
</target>
|
</target>
|
||||||
<target name="simple_standalone_st" extends="simple_standalone">
|
<target name="simple_standalone_st" extends="simple_standalone">
|
||||||
<setting name="concurrency" value="none"/>
|
<capability>
|
||||||
|
<concurrency support="none" use="none"/>
|
||||||
|
</capability>
|
||||||
</target>
|
</target>
|
||||||
<target name="simple_cgi" extends="common">
|
<target name="simple_cgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_cgi" location="..\..\library\server\wsf\default\cgi-safe.ecf"/>
|
<library name="default_cgi" location="..\..\library\server\wsf\default\cgi.ecf"/>
|
||||||
<cluster name="simple" location=".\" recursive="true"/>
|
<cluster name="simple" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="simple_libfcgi" extends="common">
|
<target name="simple_libfcgi" extends="common">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<library name="default_libfcgi" location="..\..\library\server\wsf\default\libfcgi-safe.ecf"/>
|
<library name="default_libfcgi" location="..\..\library\server\wsf\default\libfcgi.ecf"/>
|
||||||
<cluster name="simple" location=".\" recursive="true"/>
|
<cluster name="simple" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
</system>
|
</system>
|
||||||
|
|||||||
@@ -1,18 +1,17 @@
|
|||||||
<?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-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="service_file" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="service_file" uuid="C28C4F53-9963-46C0-A080-8F13E94E7486">
|
||||||
<target name="service_file">
|
<target name="service_file">
|
||||||
<root class="SERVICE_FILE" feature="make_and_launch"/>
|
<root class="SERVICE_FILE" feature="make_and_launch"/>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<setting name="concurrency" value="thread"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="default_standalone" location="..\..\library\server\wsf\default\standalone.ecf"/>
|
||||||
<library name="default_standalone" location="..\..\library\server\wsf\default\standalone-safe.ecf"/>
|
<library name="http" location="..\..\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="http" location="..\..\library\network\protocol\http\http-safe.ecf"/>
|
<library name="wsf" location="..\..\library\server\wsf\wsf.ecf"/>
|
||||||
<library name="wsf" location="..\..\library\server\wsf\wsf-safe.ecf"/>
|
|
||||||
<cluster name="service_file" location=".\" recursive="true">
|
<cluster name="service_file" location=".\" recursive="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
|
|||||||
@@ -1,27 +1,27 @@
|
|||||||
<?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-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="simple_ssl" uuid="C2FE296C-3C18-4609-A5AB-F604BDEE4410">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="simple_ssl" uuid="C2FE296C-3C18-4609-A5AB-F604BDEE4410">
|
||||||
<target name="simple_ssl">
|
<target name="simple_ssl">
|
||||||
<description>Simple EiffelWeb standalone server with SSL support (Concurrent connection supported thanks to SCOOP).</description>
|
<description>Simple EiffelWeb standalone server with SSL support (Concurrent connection supported thanks to SCOOP).</description>
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions/>
|
|
||||||
</option>
|
</option>
|
||||||
<setting name="console_application" value="true"/>
|
<setting name="console_application" value="true"/>
|
||||||
<setting name="concurrency" value="scoop"/>
|
|
||||||
<variable name="ssl_enabled" value="true"/>
|
<variable name="ssl_enabled" value="true"/>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="http" location="..\..\library\network\protocol\http\http-safe.ecf"/>
|
<library name="http" location="..\..\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="wsf" location="..\..\library\server\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="..\..\library\server\wsf\wsf.ecf"/>
|
||||||
<library name="wsf_standalone" location="..\..\library\server\wsf\connector\standalone-safe.ecf"/>
|
<library name="wsf_standalone" location="..\..\library\server\wsf\connector\standalone.ecf"/>
|
||||||
<cluster name="simple" location=".\" recursive="true"/>
|
<cluster name="simple" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="simple_ssl_st" extends="simple_ssl">
|
<target name="simple_ssl_st" extends="simple_ssl">
|
||||||
<description>Simple EiffelWeb standalone server with SSL support (Single threaded, thus no concurrent connection.)</description>
|
<description>Simple EiffelWeb standalone server with SSL support (Single threaded, thus no concurrent connection.)</description>
|
||||||
<setting name="concurrency" value="none"/>
|
<capability>
|
||||||
|
<concurrency use="none"/>
|
||||||
|
</capability>
|
||||||
</target>
|
</target>
|
||||||
</system>
|
</system>
|
||||||
|
|||||||
@@ -0,0 +1,44 @@
|
|||||||
|
note
|
||||||
|
description: "[
|
||||||
|
Enter class description here!
|
||||||
|
]"
|
||||||
|
|
||||||
|
class
|
||||||
|
TEST
|
||||||
|
|
||||||
|
create
|
||||||
|
make
|
||||||
|
|
||||||
|
feature {NONE} -- Initialization
|
||||||
|
|
||||||
|
make
|
||||||
|
-- Instantiate Current object.
|
||||||
|
do
|
||||||
|
execute
|
||||||
|
end
|
||||||
|
|
||||||
|
feature -- Execution
|
||||||
|
|
||||||
|
execute
|
||||||
|
local
|
||||||
|
l_socket: NETWORK_STREAM_SOCKET
|
||||||
|
l_packet: PACKET
|
||||||
|
do
|
||||||
|
create l_socket.make_client_by_port(9090, "localhost")
|
||||||
|
l_socket.connect
|
||||||
|
|
||||||
|
create l_packet.make(1)
|
||||||
|
l_packet.put_element('a', 0)
|
||||||
|
|
||||||
|
l_socket.send(l_packet, 0)
|
||||||
|
|
||||||
|
from
|
||||||
|
|
||||||
|
until
|
||||||
|
not l_socket.is_connected
|
||||||
|
loop
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
@@ -1,19 +1,18 @@
|
|||||||
<?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-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="hello_with_launcher" uuid="00871FE9-7114-4A09-BF4F-C0B833D4F1CB">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="hello_with_launcher" uuid="00871FE9-7114-4A09-BF4F-C0B833D4F1CB">
|
||||||
<target name="hello_with_launcher">
|
<target name="hello_with_launcher">
|
||||||
<root class="HELLO_APPLICATION" feature="make_and_launch"/>
|
<root class="HELLO_APPLICATION" feature="make_and_launch"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</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-safe.ecf"/>
|
<library name="default_standalone" location="..\..\..\..\..\..\library\server\wsf\default\standalone.ecf"/>
|
||||||
<library name="default_standalone" location="..\..\..\..\..\..\library\server\wsf\default\standalone-safe.ecf"/>
|
<library name="wsf" location="..\..\..\..\..\..\library\server\wsf\wsf.ecf"/>
|
||||||
<library name="wsf" location="..\..\..\..\..\..\library\server\wsf\wsf-safe.ecf"/>
|
|
||||||
<cluster name="src" location=".\"/>
|
<cluster name="src" location=".\"/>
|
||||||
</target>
|
</target>
|
||||||
</system>
|
</system>
|
||||||
|
|||||||
@@ -1,19 +1,18 @@
|
|||||||
<?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-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="hello_with_execute" uuid="DB6E98D3-64A9-4FF6-8F11-9E626DCAED6D">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="hello_with_execute" uuid="DB6E98D3-64A9-4FF6-8F11-9E626DCAED6D">
|
||||||
<target name="hello_with_execute">
|
<target name="hello_with_execute">
|
||||||
<root class="HELLO_APPLICATION" feature="make_and_launch"/>
|
<root class="HELLO_APPLICATION" feature="make_and_launch"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</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-safe.ecf"/>
|
<library name="default_standalone" location="..\..\..\..\..\..\library\server\wsf\default\standalone.ecf"/>
|
||||||
<library name="default_standalone" location="..\..\..\..\..\..\library\server\wsf\default\standalone-safe.ecf"/>
|
<library name="wsf" location="..\..\..\..\..\..\library\server\wsf\wsf.ecf"/>
|
||||||
<library name="wsf" location="..\..\..\..\..\..\library\server\wsf\wsf-safe.ecf"/>
|
|
||||||
<cluster name="src" location=".\"/>
|
<cluster name="src" location=".\"/>
|
||||||
</target>
|
</target>
|
||||||
</system>
|
</system>
|
||||||
|
|||||||
@@ -1,37 +1,38 @@
|
|||||||
<?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-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="hello" uuid="25B014D9-CC71-484D-93D9-5E93B51C6B36">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="hello" uuid="25B014D9-CC71-484D-93D9-5E93B51C6B36">
|
||||||
<target name="hello">
|
<target name="hello">
|
||||||
<root class="HELLO_APPLICATION" feature="make_and_launch"/>
|
<root class="HELLO_APPLICATION" feature="make_and_launch"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<setting name="concurrency" value="scoop"/>
|
|
||||||
<precompile name="precomp_wsf" location="..\..\..\..\precomp\wsf-scoop-safe.ecf"/>
|
<precompile name="precomp_wsf" location="..\..\..\..\precomp\wsf-scoop-safe.ecf"/>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="default_standalone" location="..\..\..\..\library\server\wsf\default\standalone-safe.ecf"/>
|
<library name="default_standalone" location="..\..\..\..\library\server\wsf\default\standalone.ecf"/>
|
||||||
<library name="wsf" location="..\..\..\..\library\server\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="..\..\..\..\library\server\wsf\wsf.ecf"/>
|
||||||
<cluster name="src" location=".\src\" recursive="true"/>
|
<cluster name="src" location=".\src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="hello_mt">
|
<target name="hello_mt">
|
||||||
<root class="HELLO_APPLICATION" feature="make_and_launch"/>
|
<root class="HELLO_APPLICATION" feature="make_and_launch"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<setting name="concurrency" value="thread"/>
|
<capability>
|
||||||
|
<concurrency use="thread"/>
|
||||||
|
</capability>
|
||||||
<precompile name="precomp_wsf" location="..\..\..\..\precomp\wsf-mt-safe.ecf"/>
|
<precompile name="precomp_wsf" location="..\..\..\..\precomp\wsf-mt-safe.ecf"/>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="default_standalone" location="..\..\..\..\library\server\wsf\default\standalone-safe.ecf"/>
|
<library name="default_standalone" location="..\..\..\..\library\server\wsf\default\standalone.ecf"/>
|
||||||
<library name="wsf" location="..\..\..\..\library\server\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="..\..\..\..\library\server\wsf\wsf.ecf"/>
|
||||||
<cluster name="src" location=".\src\" recursive="true"/>
|
<cluster name="src" location=".\src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="hello_custom" extends="hello">
|
<target name="hello_custom" extends="hello">
|
||||||
|
|||||||
@@ -1,20 +1,19 @@
|
|||||||
<?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-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="hello" uuid="088E8D53-3705-4362-B04D-8EDF0DBE50E5">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="hello" uuid="088E8D53-3705-4362-B04D-8EDF0DBE50E5">
|
||||||
<target name="hello">
|
<target name="hello">
|
||||||
<root class="HELLO_APPLICATION" feature="make_and_launch"/>
|
<root class="HELLO_APPLICATION" feature="make_and_launch"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<setting name="concurrency" value="scoop"/>
|
|
||||||
<precompile name="precomp_wsf-scoop" location="..\..\..\..\precomp\wsf-scoop-safe.ecf"/>
|
<precompile name="precomp_wsf-scoop" location="..\..\..\..\precomp\wsf-scoop-safe.ecf"/>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="default_standalone" location="..\..\..\..\library\server\wsf\default\standalone-safe.ecf"/>
|
<library name="default_standalone" location="..\..\..\..\library\server\wsf\default\standalone.ecf"/>
|
||||||
<library name="wsf" location="..\..\..\..\library\server\wsf\wsf-safe.ecf"/>
|
<library name="wsf" location="..\..\..\..\library\server\wsf\wsf.ecf"/>
|
||||||
<cluster name="src" location=".\src\" recursive="true"/>
|
<cluster name="src" location=".\src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
</system>
|
</system>
|
||||||
|
|||||||
@@ -1,21 +1,20 @@
|
|||||||
<?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-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="hello" uuid="5F5ED8A1-AD1C-41BD-878A-BE45A9B28739">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="hello" uuid="5F5ED8A1-AD1C-41BD-878A-BE45A9B28739">
|
||||||
<target name="hello">
|
<target name="hello">
|
||||||
<root class="HELLO_APPLICATION" feature="make_and_launch"/>
|
<root class="HELLO_APPLICATION" feature="make_and_launch"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</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-safe.ecf"/>
|
<library name="default_standalone" location="..\..\..\..\library\server\wsf\default\standalone.ecf"/>
|
||||||
<library name="default_standalone" location="..\..\..\..\library\server\wsf\default\standalone-safe.ecf"/>
|
<library name="encoder" location="..\..\..\..\library\text\encoder\encoder.ecf" readonly="false"/>
|
||||||
<library name="encoder" location="..\..\..\..\library\text\encoder\encoder-safe.ecf" readonly="false"/>
|
<library name="http" location="..\..\..\..\library\network\protocol\http\http.ecf" readonly="false"/>
|
||||||
<library name="http" location="..\..\..\..\library\network\protocol\http\http-safe.ecf" readonly="false"/>
|
<library name="wsf" location="..\..\..\..\library\server\wsf\wsf.ecf" readonly="false"/>
|
||||||
<library name="wsf" location="..\..\..\..\library\server\wsf\wsf-safe.ecf" readonly="false"/>
|
|
||||||
<cluster name="src" location=".\src\" recursive="true"/>
|
<cluster name="src" location=".\src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
</system>
|
</system>
|
||||||
|
|||||||
@@ -1,38 +1,37 @@
|
|||||||
<?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-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="upload_image" uuid="F2400BE8-D8EB-48EB-B4E4-5D4377062A7F">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="upload_image_standalone" uuid="F2400BE8-D8EB-48EB-B4E4-5D4377062A7F">
|
||||||
<target name="upload_image_common" abstract="true">
|
<target name="upload_image_common" abstract="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
<exclude>/\.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/\.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option debug="true" warning="true" void_safety="all">
|
<option debug="true" warning="true">
|
||||||
<debug name="standalone" enabled="true"/>
|
<debug name="standalone" enabled="true"/>
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" supplier_precondition="true"/>
|
||||||
</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-safe.ecf"/>
|
<library name="encoder" location="..\..\library\text\encoder\encoder.ecf" readonly="false"/>
|
||||||
<library name="encoder" location="..\..\library\text\encoder\encoder-safe.ecf" readonly="false"/>
|
<library name="http" location="..\..\library\network\protocol\http\http.ecf" readonly="false"/>
|
||||||
<library name="http" location="..\..\library\network\protocol\http\http-safe.ecf" readonly="false"/>
|
<library name="uri_template" location="..\..\library\text\parser\uri_template\uri_template.ecf" readonly="false"/>
|
||||||
<library name="uri_template" location="..\..\library\text\parser\uri_template\uri_template-safe.ecf" readonly="false"/>
|
<library name="wsf" location="..\..\library\server\wsf\wsf.ecf" readonly="false" use_application_options="true"/>
|
||||||
<library name="wsf" location="..\..\library\server\wsf\wsf-safe.ecf" readonly="false" use_application_options="true"/>
|
|
||||||
</target>
|
</target>
|
||||||
<target name="upload_image_standalone" extends="upload_image_common">
|
<target name="upload_image_standalone" extends="upload_image_common">
|
||||||
<root class="IMAGE_UPLOADER" feature="make"/>
|
<root class="IMAGE_UPLOADER" feature="make"/>
|
||||||
<setting name="concurrency" value="scoop"/>
|
<library name="default_standalone" location="..\..\library\server\wsf\default\standalone.ecf" readonly="false" use_application_options="true"/>
|
||||||
<library name="default_standalone" location="..\..\library\server\wsf\default\standalone-safe.ecf" readonly="false" use_application_options="true"/>
|
|
||||||
<cluster name="src" location="src\" recursive="true"/>
|
<cluster name="src" location="src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="upload_image_standalone_st" extends="upload_image_standalone">
|
<target name="upload_image_standalone_st" extends="upload_image_standalone">
|
||||||
<setting name="concurrency" value="none"/>
|
<capability>
|
||||||
|
<concurrency use="none"/>
|
||||||
|
</capability>
|
||||||
</target>
|
</target>
|
||||||
<target name="upload_image_libfcgi" extends="upload_image_common">
|
<target name="upload_image_libfcgi" extends="upload_image_common">
|
||||||
<root class="IMAGE_UPLOADER" feature="make"/>
|
<root class="IMAGE_UPLOADER" feature="make"/>
|
||||||
<setting name="concurrency" value="none"/>
|
<capability>
|
||||||
<library name="default_libfcgi" location="..\..\library\server\wsf\default\libfcgi-safe.ecf" readonly="false" use_application_options="true"/>
|
<concurrency use="none"/>
|
||||||
|
</capability>
|
||||||
|
<library name="default_libfcgi" location="..\..\library\server\wsf\default\libfcgi.ecf" readonly="false" use_application_options="true"/>
|
||||||
<cluster name="src" location="src\" recursive="true"/>
|
<cluster name="src" location="src\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="upload_image" extends="upload_image_standalone">
|
|
||||||
<setting name="concurrency" value="scoop"/>
|
|
||||||
</target>
|
|
||||||
</system>
|
</system>
|
||||||
|
|||||||
@@ -1,21 +1,20 @@
|
|||||||
<?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-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="websocket_app" uuid="75D17C20-10A8-4E4C-A059-33D72A2B6AEF">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="websocket_app" uuid="75D17C20-10A8-4E4C-A059-33D72A2B6AEF">
|
||||||
<target name="websocket_app">
|
<target name="websocket_app">
|
||||||
<root class="APPLICATION" feature="make_and_launch"/>
|
<root class="APPLICATION" feature="make_and_launch"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<setting name="console_application" value="true"/>
|
<setting name="console_application" value="true"/>
|
||||||
<setting name="concurrency" value="scoop"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="http" location="..\..\library\network\protocol\http\http.ecf"/>
|
||||||
<library name="http" location="..\..\library\network\protocol\http\http-safe.ecf"/>
|
<library name="standalone_websocket_connector" location="..\..\library\server\wsf\connector\standalone_websocket.ecf" readonly="false"/>
|
||||||
<library name="standalone_websocket_connector" location="..\..\library\server\wsf\connector\standalone_websocket-safe.ecf" readonly="false"/>
|
<library name="wsf" location="..\..\library\server\wsf\wsf.ecf"/>
|
||||||
<library name="wsf" location="..\..\library\server\wsf\wsf-safe.ecf"/>
|
|
||||||
<cluster name="app" location=".\" recursive="true"/>
|
<cluster name="app" location=".\" recursive="true"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="websocket_app_ssl" extends="websocket_app">
|
<target name="websocket_app_ssl" extends="websocket_app">
|
||||||
|
|||||||
@@ -10,6 +10,9 @@ It provides simple routine to perform http requests, and get response.
|
|||||||
- Eiffel Net library
|
- Eiffel Net library
|
||||||
- and optionally Eiffel NetSSL library to support `https://...`
|
- and optionally Eiffel NetSSL library to support `https://...`
|
||||||
|
|
||||||
|
* Note: set ciphers setting is supported only with libcurl implementation for now, net implementation
|
||||||
|
set all the ciphers as part of the OpenSSL initialization.
|
||||||
|
|
||||||
This means on Windows, do not forget to copy the libcurl.dll (and related) either in the same directory of the executable, or ensure the .dll are in the PATH environment.
|
This means on Windows, do not forget to copy the libcurl.dll (and related) either in the same directory of the executable, or ensure the .dll are in the PATH environment.
|
||||||
|
|
||||||
It is possible to exclude the libcurl implementation xor the Eiffel Net implementation:
|
It is possible to exclude the libcurl implementation xor the Eiffel Net implementation:
|
||||||
|
|||||||
@@ -1,79 +1,3 @@
|
|||||||
<?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-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="http_client" uuid="628F5A96-021B-4191-926B-B3BF49272866" library_target="http_client">
|
<redirection xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" uuid="628F5A96-021B-4191-926B-B3BF49272866" message="Obsolete: use http_client.ecf !" location="http_client.ecf">
|
||||||
<target name="http_client">
|
</redirection>
|
||||||
<root all_classes="true"/>
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/.git$</exclude>
|
|
||||||
<exclude>/.svn$</exclude>
|
|
||||||
<exclude>/EIFGENs$</exclude>
|
|
||||||
</file_rule>
|
|
||||||
<option debug="false" warning="true" void_safety="all">
|
|
||||||
</option>
|
|
||||||
<setting name="concurrency" value="scoop"/>
|
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
|
||||||
<library name="curl" location="$ISE_LIBRARY\library\cURL\cURL-safe.ecf">
|
|
||||||
<condition>
|
|
||||||
<custom name="libcurl_http_client_disabled" excluded_value="true"/>
|
|
||||||
</condition>
|
|
||||||
</library>
|
|
||||||
<library name="encoder" location="..\..\text\encoder\encoder-safe.ecf"/>
|
|
||||||
<library name="http" location="..\protocol\http\http-safe.ecf"/>
|
|
||||||
<library name="http_auth" location="..\..\server\authentication\http_authorization\http_authorization-safe.ecf"/>
|
|
||||||
<library name="http_network" location="..\http_network\http_network-safe.ecf"/>
|
|
||||||
<library name="net" location="$ISE_LIBRARY\library\net\net-safe.ecf"/>
|
|
||||||
<library name="net_ssl" location="$ISE_LIBRARY\unstable\library\network\socket\netssl\net_ssl-safe.ecf">
|
|
||||||
<condition>
|
|
||||||
<custom name="net_http_client_disabled" excluded_value="true"/>
|
|
||||||
<custom name="netssl_http_client_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
<condition>
|
|
||||||
<custom name="net_http_client_disabled" excluded_value="true"/>
|
|
||||||
<custom name="ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
</library>
|
|
||||||
<library name="uri" location="$ISE_LIBRARY\library\text\uri\uri-safe.ecf"/>
|
|
||||||
<cluster name="src" location=".\src\">
|
|
||||||
<cluster name="implementation" location="$|implementation" recursive="true" hidden="true"/>
|
|
||||||
<cluster name="spec_null" location="$|spec\null\" recursive="true"/>
|
|
||||||
<cluster name="spec_net" location="$|spec\net\">
|
|
||||||
<condition>
|
|
||||||
<custom name="net_http_client_disabled" excluded_value="true"/>
|
|
||||||
</condition>
|
|
||||||
<cluster name="net_implementation" location="$|implementation\" hidden="true">
|
|
||||||
<condition>
|
|
||||||
<custom name="net_http_client_disabled" excluded_value="true"/>
|
|
||||||
</condition>
|
|
||||||
</cluster>
|
|
||||||
</cluster>
|
|
||||||
<cluster name="spec_libcurl" location="$|spec\libcurl\" recursive="true">
|
|
||||||
<condition>
|
|
||||||
<custom name="libcurl_http_client_disabled" excluded_value="true"/>
|
|
||||||
</condition>
|
|
||||||
</cluster>
|
|
||||||
<cluster name="default_null" location="$|default\null\">
|
|
||||||
<condition>
|
|
||||||
<custom name="net_http_client_disabled" value="true"/>
|
|
||||||
<custom name="libcurl_http_client_disabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
</cluster>
|
|
||||||
<cluster name="default_net" location="$|default\net\">
|
|
||||||
<condition>
|
|
||||||
<custom name="net_http_client_disabled" excluded_value="true"/>
|
|
||||||
<custom name="libcurl_http_client_disabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
</cluster>
|
|
||||||
<cluster name="default_libcurl" location="$|default\libcurl\">
|
|
||||||
<condition>
|
|
||||||
<custom name="net_http_client_disabled" value="true"/>
|
|
||||||
<custom name="libcurl_http_client_disabled" excluded_value="true"/>
|
|
||||||
</condition>
|
|
||||||
</cluster>
|
|
||||||
<cluster name="default_libcurl_or_net" location="$|default\libcurl_or_net\">
|
|
||||||
<condition>
|
|
||||||
<custom name="net_http_client_disabled" excluded_value="true"/>
|
|
||||||
<custom name="libcurl_http_client_disabled" excluded_value="true"/>
|
|
||||||
</condition>
|
|
||||||
</cluster>
|
|
||||||
</cluster>
|
|
||||||
</target>
|
|
||||||
</system>
|
|
||||||
|
|||||||
@@ -1,15 +1,12 @@
|
|||||||
<?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-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="http_client" uuid="628F5A96-021B-4191-926B-B3BF49272866" library_target="http_client">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="http_client" uuid="628F5A96-021B-4191-926B-B3BF49272866" library_target="http_client">
|
||||||
<target name="http_client">
|
<target name="http_client">
|
||||||
<root all_classes="true"/>
|
<root all_classes="true"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="none">
|
|
||||||
</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="curl" location="$ISE_LIBRARY\library\cURL\cURL.ecf">
|
<library name="curl" location="$ISE_LIBRARY\library\cURL\cURL.ecf">
|
||||||
<condition>
|
<condition>
|
||||||
@@ -33,7 +30,8 @@
|
|||||||
</library>
|
</library>
|
||||||
<library name="uri" location="$ISE_LIBRARY\library\text\uri\uri.ecf"/>
|
<library name="uri" location="$ISE_LIBRARY\library\text\uri\uri.ecf"/>
|
||||||
<cluster name="src" location=".\src\">
|
<cluster name="src" location=".\src\">
|
||||||
<cluster name="implementation" location="$|implementation" recursive="true" hidden="true"/>
|
<cluster name="implementation" location="$|implementation\" recursive="true" hidden="true"/>
|
||||||
|
<cluster name="parameters" location="$|parameters\" recursive="true"/>
|
||||||
<cluster name="spec_null" location="$|spec\null\" recursive="true"/>
|
<cluster name="spec_null" location="$|spec\null\" recursive="true"/>
|
||||||
<cluster name="spec_net" location="$|spec\net\">
|
<cluster name="spec_net" location="$|spec\net\">
|
||||||
<condition>
|
<condition>
|
||||||
|
|||||||
@@ -1,24 +1,3 @@
|
|||||||
<?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-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="libcurl_http_client" uuid="FA686EE7-D01D-43A3-8E95-A00120658040" library_target="libcurl_http_client">
|
<redirection xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" uuid="FA686EE7-D01D-43A3-8E95-A00120658040" message="Obsolete: use libcurl_http_client.ecf !" location="libcurl_http_client.ecf">
|
||||||
<target name="libcurl_http_client">
|
</redirection>
|
||||||
<root all_classes="true"/>
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/.git$</exclude>
|
|
||||||
<exclude>/.svn$</exclude>
|
|
||||||
<exclude>/EIFGENs$</exclude>
|
|
||||||
</file_rule>
|
|
||||||
<option debug="false" warning="true" void_safety="all">
|
|
||||||
</option>
|
|
||||||
<setting name="concurrency" value="scoop"/>
|
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
|
||||||
<library name="curl" location="$ISE_LIBRARY\library\cURL\cURL-safe.ecf"/>
|
|
||||||
<library name="encoder" location="..\..\text\encoder\encoder-safe.ecf"/>
|
|
||||||
<library name="http" location="..\protocol\http\http-safe.ecf"/>
|
|
||||||
<library name="net" location="$ISE_LIBRARY\library\net\net-safe.ecf"/>
|
|
||||||
<library name="uri" location="$ISE_LIBRARY\library\text\uri\uri-safe.ecf"/>
|
|
||||||
<cluster name="src" location=".\src\">
|
|
||||||
<cluster name="spec_libcurl" location="$|spec\libcurl\" recursive="true"/>
|
|
||||||
<cluster name="default_libcurl" location="$|default\libcurl\"/>
|
|
||||||
</cluster>
|
|
||||||
</target>
|
|
||||||
</system>
|
|
||||||
|
|||||||
@@ -1,15 +1,12 @@
|
|||||||
<?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-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="libcurl_http_client" uuid="FA686EE7-D01D-43A3-8E95-A00120658040" library_target="libcurl_http_client">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="libcurl_http_client" uuid="FA686EE7-D01D-43A3-8E95-A00120658040" library_target="libcurl_http_client">
|
||||||
<target name="libcurl_http_client">
|
<target name="libcurl_http_client">
|
||||||
<root all_classes="true"/>
|
<root all_classes="true"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option debug="false" warning="true" void_safety="none">
|
|
||||||
</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="curl" location="$ISE_LIBRARY\library\cURL\cURL.ecf"/>
|
<library name="curl" location="$ISE_LIBRARY\library\cURL\cURL.ecf"/>
|
||||||
<library name="encoder" location="..\..\text\encoder\encoder.ecf"/>
|
<library name="encoder" location="..\..\text\encoder\encoder.ecf"/>
|
||||||
@@ -17,6 +14,8 @@
|
|||||||
<library name="net" location="$ISE_LIBRARY\library\net\net.ecf"/>
|
<library name="net" location="$ISE_LIBRARY\library\net\net.ecf"/>
|
||||||
<library name="uri" location="$ISE_LIBRARY\library\text\uri\uri.ecf"/>
|
<library name="uri" location="$ISE_LIBRARY\library\text\uri\uri.ecf"/>
|
||||||
<cluster name="src" location=".\src\">
|
<cluster name="src" location=".\src\">
|
||||||
|
<cluster name="implementation" location="$|implementation\" recursive="true" hidden="true"/>
|
||||||
|
<cluster name="parameters" location="$|parameters\" recursive="true"/>
|
||||||
<cluster name="spec_libcurl" location="$|spec\libcurl\" recursive="true"/>
|
<cluster name="spec_libcurl" location="$|spec\libcurl\" recursive="true"/>
|
||||||
<cluster name="default_libcurl" location="$|default\libcurl\"/>
|
<cluster name="default_libcurl" location="$|default\libcurl\"/>
|
||||||
</cluster>
|
</cluster>
|
||||||
|
|||||||
@@ -1,35 +1,3 @@
|
|||||||
<?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-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="http_client" uuid="7897B317-7AD3-44E4-A933-0544A169AB1B" library_target="net_http_client">
|
<redirection xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" uuid="7897B317-7AD3-44E4-A933-0544A169AB1B" message="Obsolete: use net_http_client.ecf !" location="net_http_client.ecf">
|
||||||
<target name="net_http_client">
|
</redirection>
|
||||||
<root all_classes="true"/>
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/.git$</exclude>
|
|
||||||
<exclude>/.svn$</exclude>
|
|
||||||
<exclude>/EIFGENs$</exclude>
|
|
||||||
</file_rule>
|
|
||||||
<option debug="false" warning="true" void_safety="all">
|
|
||||||
</option>
|
|
||||||
<setting name="concurrency" value="scoop"/>
|
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
|
||||||
<library name="encoder" location="..\..\text\encoder\encoder-safe.ecf"/>
|
|
||||||
<library name="http" location="..\protocol\http\http-safe.ecf"/>
|
|
||||||
<library name="http_auth" location="..\..\server\authentication\http_authorization\http_authorization-safe.ecf"/>
|
|
||||||
<library name="http_network" location="..\http_network\http_network-safe.ecf"/>
|
|
||||||
<library name="net" location="$ISE_LIBRARY\library\net\net-safe.ecf"/>
|
|
||||||
<library name="net_ssl" location="$ISE_LIBRARY\unstable\library\network\socket\netssl\net_ssl-safe.ecf">
|
|
||||||
<condition>
|
|
||||||
<custom name="ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
<condition>
|
|
||||||
<custom name="netssl_http_client_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
</library>
|
|
||||||
<library name="uri" location="$ISE_LIBRARY\library\text\uri\uri-safe.ecf"/>
|
|
||||||
<cluster name="src" location=".\src\">
|
|
||||||
<cluster name="spec_net" location="$|spec\net\">
|
|
||||||
<cluster name="net_implementation" location="$|implementation\" hidden="true"/>
|
|
||||||
</cluster>
|
|
||||||
<cluster name="default_net" location="$|default\net\"/>
|
|
||||||
</cluster>
|
|
||||||
</target>
|
|
||||||
</system>
|
|
||||||
|
|||||||
@@ -1,15 +1,12 @@
|
|||||||
<?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-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="http_client" uuid="7897B317-7AD3-44E4-A933-0544A169AB1B" library_target="net_http_client">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="http_client" uuid="7897B317-7AD3-44E4-A933-0544A169AB1B" library_target="net_http_client">
|
||||||
<target name="net_http_client">
|
<target name="net_http_client">
|
||||||
<root all_classes="true"/>
|
<root all_classes="true"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option debug="false" warning="true" void_safety="none">
|
|
||||||
</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="encoder" location="..\..\text\encoder\encoder.ecf"/>
|
<library name="encoder" location="..\..\text\encoder\encoder.ecf"/>
|
||||||
<library name="http" location="..\protocol\http\http.ecf"/>
|
<library name="http" location="..\protocol\http\http.ecf"/>
|
||||||
@@ -26,6 +23,8 @@
|
|||||||
</library>
|
</library>
|
||||||
<library name="uri" location="$ISE_LIBRARY\library\text\uri\uri.ecf"/>
|
<library name="uri" location="$ISE_LIBRARY\library\text\uri\uri.ecf"/>
|
||||||
<cluster name="src" location=".\src\">
|
<cluster name="src" location=".\src\">
|
||||||
|
<cluster name="implementation" location="$|implementation\" recursive="true" hidden="true"/>
|
||||||
|
<cluster name="parameters" location="$|parameters\" recursive="true"/>
|
||||||
<cluster name="spec_net" location="$|spec\net\">
|
<cluster name="spec_net" location="$|spec\net\">
|
||||||
<cluster name="net_implementation" location="$|implementation\" hidden="true"/>
|
<cluster name="net_implementation" location="$|implementation\" hidden="true"/>
|
||||||
</cluster>
|
</cluster>
|
||||||
|
|||||||
@@ -1,22 +1,20 @@
|
|||||||
package http_client
|
package http_client
|
||||||
|
|
||||||
project
|
project
|
||||||
http_client = "http_client-safe.ecf"
|
|
||||||
http_client = "http_client.ecf"
|
http_client = "http_client.ecf"
|
||||||
libcurl_http_client = "libcurl_http_client-safe.ecf"
|
|
||||||
libcurl_http_client = "libcurl_http_client.ecf"
|
libcurl_http_client = "libcurl_http_client.ecf"
|
||||||
net_http_client = "net_http_client-safe.ecf"
|
|
||||||
net_http_client = "net_http_client.ecf"
|
net_http_client = "net_http_client.ecf"
|
||||||
|
|
||||||
note
|
note
|
||||||
title: HTTP client
|
title: HTTP client
|
||||||
description: "[
|
description: "[
|
||||||
Provides simple routines to perform http requests, and get associated response.
|
Provides simple routines to perform http requests, and get associated response.
|
||||||
It has two implementations:
|
It has two implementations:
|
||||||
- using Eiffel cURL (i.e libcurl)
|
- using Eiffel cURL (i.e libcurl)
|
||||||
- using EiffelNET (and the EiffelNET SSL extension)
|
- using EiffelNET (and the EiffelNET SSL extension)
|
||||||
]"
|
]"
|
||||||
collection:EWF
|
|
||||||
|
collection: EWF
|
||||||
tags: http,client,network,request,web,curl,EWF
|
tags: http,client,network,request,web,curl,EWF
|
||||||
copyright: 1984-2016 Eiffel Software and others
|
copyright: 1984-2016 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)
|
||||||
|
|||||||
@@ -16,8 +16,19 @@ feature -- Access
|
|||||||
deferred
|
deferred
|
||||||
end
|
end
|
||||||
|
|
||||||
|
get (a_url: READABLE_STRING_8; ctx: detachable HTTP_CLIENT_REQUEST_CONTEXT): HTTP_CLIENT_RESPONSE
|
||||||
|
do
|
||||||
|
Result := new_session (a_url).get ("", ctx)
|
||||||
|
end
|
||||||
|
|
||||||
|
custom (a_method: READABLE_STRING_8; a_url: READABLE_STRING_8; ctx: detachable HTTP_CLIENT_REQUEST_CONTEXT): HTTP_CLIENT_RESPONSE
|
||||||
|
-- Response for `a_method' request based on `a_url' and optional `ctx'.
|
||||||
|
do
|
||||||
|
Result := new_session (a_url).custom (a_method, "", ctx)
|
||||||
|
end
|
||||||
|
|
||||||
note
|
note
|
||||||
copyright: "2011-2015, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
|
copyright: "2011-2017, Jocelyn Fiat, Javier Velilla, 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
|
||||||
|
|||||||
@@ -30,8 +30,19 @@ feature {NONE} -- Initialization
|
|||||||
-- Initialize Current with `a_url' and `ctx'.
|
-- Initialize Current with `a_url' and `ctx'.
|
||||||
-- This can be used to reset/reinitialize Current with new url
|
-- This can be used to reset/reinitialize Current with new url
|
||||||
-- in the case of redirection.
|
-- in the case of redirection.
|
||||||
|
local
|
||||||
|
i: INTEGER
|
||||||
do
|
do
|
||||||
|
i := a_url.substring_index ("://", 1)
|
||||||
|
if i > 0 then
|
||||||
|
check
|
||||||
|
a_url.substring (1, i).same_string ("http")
|
||||||
|
or a_url.substring (1, i).same_string ("https")
|
||||||
|
end
|
||||||
url := a_url
|
url := a_url
|
||||||
|
else
|
||||||
|
url := session.url (a_url, Void)
|
||||||
|
end
|
||||||
headers := session.headers.twin
|
headers := session.headers.twin
|
||||||
if ctx /= Void then
|
if ctx /= Void then
|
||||||
context := ctx
|
context := ctx
|
||||||
|
|||||||
@@ -58,11 +58,11 @@ feature -- Access
|
|||||||
-- Specific headers to use in addition to the one set in the related HTTP_CLIENT_SESSION
|
-- Specific headers to use in addition to the one set in the related HTTP_CLIENT_SESSION
|
||||||
--| note: the value from Current context override the one from the session in case of conflict
|
--| note: the value from Current context override the one from the session in case of conflict
|
||||||
|
|
||||||
query_parameters: HASH_TABLE [READABLE_STRING_32, READABLE_STRING_32]
|
query_parameters: HTTP_CLIENT_REQUEST_QUERY_PARAMETERS
|
||||||
-- Query parameters to be appended to the url
|
-- Query parameters to be appended to the url
|
||||||
--| note: if the url already contains a query_string, the `query_parameters' will be appended to the url
|
--| note: if the url already contains a query_string, the `query_parameters' will be appended to the url
|
||||||
|
|
||||||
form_parameters: HASH_TABLE [READABLE_STRING_32, READABLE_STRING_32]
|
form_parameters: HTTP_CLIENT_REQUEST_FORM_PARAMETERS
|
||||||
-- Form parameters
|
-- Form parameters
|
||||||
|
|
||||||
upload_data: detachable READABLE_STRING_8
|
upload_data: detachable READABLE_STRING_8
|
||||||
@@ -145,13 +145,25 @@ feature -- Element change
|
|||||||
add_query_parameter (k: READABLE_STRING_GENERAL; v: READABLE_STRING_GENERAL)
|
add_query_parameter (k: READABLE_STRING_GENERAL; v: READABLE_STRING_GENERAL)
|
||||||
-- Add a query parameter `k=v'.
|
-- Add a query parameter `k=v'.
|
||||||
do
|
do
|
||||||
query_parameters.force (v.to_string_32, k.to_string_32)
|
query_parameters.force (create {HTTP_CLIENT_REQUEST_STRING_PARAMETER}.make (k, v))
|
||||||
end
|
end
|
||||||
|
|
||||||
add_form_parameter (k: READABLE_STRING_GENERAL; v: READABLE_STRING_GENERAL)
|
add_form_parameter (k: READABLE_STRING_GENERAL; v: READABLE_STRING_GENERAL)
|
||||||
-- Add a form parameter `k'= `v'.
|
-- Add a form parameter `k'= `v'.
|
||||||
do
|
do
|
||||||
form_parameters.force (v.to_string_32, k.to_string_32)
|
form_parameters.force (create {HTTP_CLIENT_REQUEST_STRING_PARAMETER}.make (k, v))
|
||||||
|
end
|
||||||
|
|
||||||
|
add_file_form_parameter (k: READABLE_STRING_GENERAL; a_location: READABLE_STRING_GENERAL; a_content_type: detachable READABLE_STRING_8)
|
||||||
|
-- Add a form file parameter named `k`, located at `a_location`, with optional content type `a_content_type`.
|
||||||
|
require
|
||||||
|
has_no_upload_data_or_filename: not has_upload_data and not has_upload_filename
|
||||||
|
local
|
||||||
|
param: HTTP_CLIENT_REQUEST_FILE_PARAMETER
|
||||||
|
do
|
||||||
|
create param.make_with_path (k, create {PATH}.make_from_string (a_location))
|
||||||
|
param.set_content_type (a_content_type)
|
||||||
|
form_parameters.force (param)
|
||||||
end
|
end
|
||||||
|
|
||||||
set_credentials_required (b: BOOLEAN)
|
set_credentials_required (b: BOOLEAN)
|
||||||
@@ -164,7 +176,8 @@ feature -- Element change
|
|||||||
-- Set `upload_data' to `a_data'
|
-- Set `upload_data' to `a_data'
|
||||||
--| note: the Current context can have upload_data XOR upload_filename, but not both.
|
--| note: the Current context can have upload_data XOR upload_filename, but not both.
|
||||||
require
|
require
|
||||||
has_upload_filename: (a_data /= Void and then not a_data.is_empty) implies not has_upload_filename
|
has_no_upload_filename: (a_data /= Void and then not a_data.is_empty) implies not has_upload_filename
|
||||||
|
has_no_form_data: (a_data /= Void and then not a_data.is_empty) implies not has_form_data
|
||||||
do
|
do
|
||||||
if a_data = Void or else a_data.is_empty then
|
if a_data = Void or else a_data.is_empty then
|
||||||
upload_data := Void
|
upload_data := Void
|
||||||
@@ -180,6 +193,7 @@ feature -- Element change
|
|||||||
--| note: the Current context can have upload_data XOR upload_filename, but not both.
|
--| note: the Current context can have upload_data XOR upload_filename, but not both.
|
||||||
require
|
require
|
||||||
has_no_upload_data: (a_fn /= Void and then not a_fn.is_empty) implies not has_upload_data
|
has_no_upload_data: (a_fn /= Void and then not a_fn.is_empty) implies not has_upload_data
|
||||||
|
has_no_form_data: (a_fn /= Void and then not a_fn.is_empty) implies not has_form_data
|
||||||
do
|
do
|
||||||
if a_fn = Void or else a_fn.is_empty then
|
if a_fn = Void or else a_fn.is_empty then
|
||||||
upload_filename := Void
|
upload_filename := Void
|
||||||
@@ -266,9 +280,9 @@ feature -- URL helpers
|
|||||||
a_url.append_character ('&')
|
a_url.append_character ('&')
|
||||||
end
|
end
|
||||||
l_first_param := False
|
l_first_param := False
|
||||||
uri_percent_encoder.append_query_name_encoded_string_to (ic.key, a_url)
|
uri_percent_encoder.append_query_name_encoded_string_to (ic.item.name, a_url)
|
||||||
a_url.append_character ('=')
|
a_url.append_character ('=')
|
||||||
uri_percent_encoder.append_query_value_encoded_string_to (ic.item, a_url)
|
ic.item.append_query_value_encoded_to (a_url)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -315,38 +329,35 @@ feature {NONE} -- Implementation
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
parameters_to_uri_percent_encoded_string (ht: HASH_TABLE [READABLE_STRING_32, READABLE_STRING_32]): STRING_8
|
parameters_to_uri_percent_encoded_string (a_params: HTTP_CLIENT_REQUEST_PARAMETERS [HTTP_CLIENT_REQUEST_PARAMETER]): STRING_8
|
||||||
-- Build query urlencoded string using parameters from `ht'.
|
-- Build query urlencoded string using parameters from `a_params'.
|
||||||
do
|
do
|
||||||
create Result.make (64)
|
create Result.make (64)
|
||||||
across
|
across
|
||||||
ht as ic
|
a_params as ic
|
||||||
loop
|
loop
|
||||||
if not Result.is_empty then
|
if not Result.is_empty then
|
||||||
Result.append_character ('&')
|
Result.append_character ('&')
|
||||||
end
|
end
|
||||||
uri_percent_encoder.append_query_name_encoded_string_to (ic.key, Result)
|
uri_percent_encoder.append_query_name_encoded_string_to (ic.item.name, Result)
|
||||||
Result.append_character ('=')
|
Result.append_character ('=')
|
||||||
uri_percent_encoder.append_query_value_encoded_string_to (ic.item, Result)
|
ic.item.append_query_value_encoded_to (Result)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
parameters_to_x_www_form_urlencoded_string (ht: HASH_TABLE [READABLE_STRING_32, READABLE_STRING_32]): STRING_8
|
parameters_to_x_www_form_urlencoded_string (a_params: HTTP_CLIENT_REQUEST_PARAMETERS [HTTP_CLIENT_REQUEST_PARAMETER]): STRING_8
|
||||||
-- Build x-www-form-urlencoded string using parameters from `ht'.
|
-- Build x-www-form-urlencoded string using parameters from `a_params'.
|
||||||
do
|
do
|
||||||
create Result.make (64)
|
create Result.make (64)
|
||||||
from
|
across
|
||||||
ht.start
|
a_params as ic
|
||||||
until
|
|
||||||
ht.after
|
|
||||||
loop
|
loop
|
||||||
if not Result.is_empty then
|
if not Result.is_empty then
|
||||||
Result.append_character ('&')
|
Result.append_character ('&')
|
||||||
end
|
end
|
||||||
Result.append (x_www_form_url_encoder.encoded_string (ht.key_for_iteration))
|
x_www_form_url_encoder.append_percent_encoded_string_to (ic.item.name, Result)
|
||||||
Result.append_character ('=')
|
Result.append_character ('=')
|
||||||
Result.append (x_www_form_url_encoder.encoded_string (ht.item_for_iteration))
|
ic.item.append_form_url_encoded_to (Result)
|
||||||
ht.forth
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -272,6 +272,14 @@ feature -- Authentication
|
|||||||
-- Associated optional credentials value.
|
-- Associated optional credentials value.
|
||||||
-- Computed as `username':`password'.
|
-- Computed as `username':`password'.
|
||||||
|
|
||||||
|
ciphers_setting: detachable READABLE_STRING_8
|
||||||
|
-- SSL cipher preference lists
|
||||||
|
-- examples: DEFAULT, ALL, TLSv1
|
||||||
|
-- check https://www.openssl.org/docs/man1.1.0/apps/ciphers.html
|
||||||
|
-- Warning: At the moment only used for LIB_CURL_HTTP_CLIENT
|
||||||
|
-- Net implementation set all the ciphers using the OpenSSL at
|
||||||
|
-- initialization time.
|
||||||
|
|
||||||
feature -- Status setting
|
feature -- Status setting
|
||||||
|
|
||||||
set_is_debug (b: BOOLEAN)
|
set_is_debug (b: BOOLEAN)
|
||||||
@@ -401,6 +409,14 @@ feature -- Element change
|
|||||||
chunk_size := a_size
|
chunk_size := a_size
|
||||||
end
|
end
|
||||||
|
|
||||||
|
set_ciphers_setting (a_ciphers_setting: READABLE_STRING_8)
|
||||||
|
-- Set 'ciphers_setting' with 'a_ciphers_setting'.
|
||||||
|
do
|
||||||
|
create {STRING_8} ciphers_setting.make_from_string (a_ciphers_setting)
|
||||||
|
ensure
|
||||||
|
ciphers_setting_set: attached ciphers_setting as c_setting and then c_setting.same_string (a_ciphers_setting)
|
||||||
|
end
|
||||||
|
|
||||||
note
|
note
|
||||||
copyright: "2011-2017, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
|
copyright: "2011-2017, Jocelyn Fiat, Javier Velilla, 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)"
|
||||||
|
|||||||
@@ -0,0 +1,34 @@
|
|||||||
|
note
|
||||||
|
description: "Summary description for {HTTP_CLIENT_REQUEST_FORM_PARAMETERS}."
|
||||||
|
author: ""
|
||||||
|
date: "$Date$"
|
||||||
|
revision: "$Revision$"
|
||||||
|
|
||||||
|
class
|
||||||
|
HTTP_CLIENT_REQUEST_FORM_PARAMETERS
|
||||||
|
|
||||||
|
inherit
|
||||||
|
HTTP_CLIENT_REQUEST_PARAMETERS [HTTP_CLIENT_REQUEST_PARAMETER]
|
||||||
|
|
||||||
|
create
|
||||||
|
make
|
||||||
|
|
||||||
|
feature -- Status report
|
||||||
|
|
||||||
|
has_file_parameter: BOOLEAN
|
||||||
|
-- Has any file parameter?
|
||||||
|
do
|
||||||
|
Result := across items as ic some attached {HTTP_CLIENT_REQUEST_FILE_PARAMETER} ic.item end
|
||||||
|
end
|
||||||
|
|
||||||
|
note
|
||||||
|
copyright: "2011-2017, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
|
||||||
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||||
|
source: "[
|
||||||
|
Eiffel Software
|
||||||
|
5949 Hollister Ave., Goleta, CA 93117 USA
|
||||||
|
Telephone 805-685-1006, Fax 805-685-6869
|
||||||
|
Website http://www.eiffel.com
|
||||||
|
Customer support http://support.eiffel.com
|
||||||
|
]"
|
||||||
|
end
|
||||||
@@ -0,0 +1,71 @@
|
|||||||
|
note
|
||||||
|
description: "Summary description for {HTTP_CLIENT_REQUEST_PARAMETER}."
|
||||||
|
author: ""
|
||||||
|
date: "$Date$"
|
||||||
|
revision: "$Revision$"
|
||||||
|
|
||||||
|
deferred class
|
||||||
|
HTTP_CLIENT_REQUEST_PARAMETER
|
||||||
|
|
||||||
|
feature -- Access
|
||||||
|
|
||||||
|
name: READABLE_STRING_32
|
||||||
|
|
||||||
|
content_type: detachable READABLE_STRING_8
|
||||||
|
|
||||||
|
count: INTEGER
|
||||||
|
-- Integer representing the length of source value.
|
||||||
|
deferred
|
||||||
|
end
|
||||||
|
|
||||||
|
feature -- Conversion
|
||||||
|
|
||||||
|
append_form_url_encoded_to (a_output: STRING_8)
|
||||||
|
-- Append as form url encoded string to `a_output`.
|
||||||
|
deferred
|
||||||
|
end
|
||||||
|
|
||||||
|
append_query_value_encoded_to (a_output: STRING_8)
|
||||||
|
deferred
|
||||||
|
end
|
||||||
|
|
||||||
|
append_as_mime_encoded_to (a_output: STRING_8)
|
||||||
|
deferred
|
||||||
|
end
|
||||||
|
|
||||||
|
feature -- Element change
|
||||||
|
|
||||||
|
set_name (a_name: READABLE_STRING_GENERAL)
|
||||||
|
do
|
||||||
|
name := a_name.as_string_32
|
||||||
|
end
|
||||||
|
|
||||||
|
set_content_type (ct: detachable READABLE_STRING_8)
|
||||||
|
do
|
||||||
|
content_type := ct
|
||||||
|
end
|
||||||
|
|
||||||
|
feature {NONE} -- Implementation
|
||||||
|
|
||||||
|
x_www_form_url_encoder: X_WWW_FORM_URL_ENCODER
|
||||||
|
-- Shared x-www-form-urlencoded encoder.
|
||||||
|
once
|
||||||
|
create Result
|
||||||
|
end
|
||||||
|
|
||||||
|
uri_percent_encoder: URI_PERCENT_ENCODER
|
||||||
|
once
|
||||||
|
create Result
|
||||||
|
end
|
||||||
|
|
||||||
|
note
|
||||||
|
copyright: "2011-2017, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
|
||||||
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||||
|
source: "[
|
||||||
|
Eiffel Software
|
||||||
|
5949 Hollister Ave., Goleta, CA 93117 USA
|
||||||
|
Telephone 805-685-1006, Fax 805-685-6869
|
||||||
|
Website http://www.eiffel.com
|
||||||
|
Customer support http://support.eiffel.com
|
||||||
|
]"
|
||||||
|
end
|
||||||
@@ -0,0 +1,62 @@
|
|||||||
|
note
|
||||||
|
description: "Summary description for {HTTP_CLIENT_REQUEST_PARAMETERS}."
|
||||||
|
author: ""
|
||||||
|
date: "$Date$"
|
||||||
|
revision: "$Revision$"
|
||||||
|
|
||||||
|
deferred class
|
||||||
|
HTTP_CLIENT_REQUEST_PARAMETERS [G -> HTTP_CLIENT_REQUEST_PARAMETER]
|
||||||
|
|
||||||
|
inherit
|
||||||
|
ITERABLE [G]
|
||||||
|
|
||||||
|
feature {NONE} -- Initialization
|
||||||
|
|
||||||
|
make (nb: INTEGER)
|
||||||
|
do
|
||||||
|
create items.make (nb)
|
||||||
|
end
|
||||||
|
|
||||||
|
feature -- Access
|
||||||
|
|
||||||
|
is_empty: BOOLEAN
|
||||||
|
do
|
||||||
|
Result := items.is_empty
|
||||||
|
end
|
||||||
|
|
||||||
|
count: INTEGER
|
||||||
|
do
|
||||||
|
Result := items.count
|
||||||
|
end
|
||||||
|
|
||||||
|
feature -- Element change
|
||||||
|
|
||||||
|
extend, force (i: G)
|
||||||
|
do
|
||||||
|
items.force (i)
|
||||||
|
end
|
||||||
|
|
||||||
|
feature -- Iteration
|
||||||
|
|
||||||
|
new_cursor: ARRAYED_LIST_ITERATION_CURSOR [G]
|
||||||
|
-- <Precursor>
|
||||||
|
do
|
||||||
|
Result := items.new_cursor
|
||||||
|
end
|
||||||
|
|
||||||
|
feature {NONE} -- Implementation
|
||||||
|
|
||||||
|
items: ARRAYED_LIST [G]
|
||||||
|
|
||||||
|
invariant
|
||||||
|
note
|
||||||
|
copyright: "2011-2017, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
|
||||||
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||||
|
source: "[
|
||||||
|
Eiffel Software
|
||||||
|
5949 Hollister Ave., Goleta, CA 93117 USA
|
||||||
|
Telephone 805-685-1006, Fax 805-685-6869
|
||||||
|
Website http://www.eiffel.com
|
||||||
|
Customer support http://support.eiffel.com
|
||||||
|
]"
|
||||||
|
end
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
note
|
||||||
|
description: "Summary description for {HTTP_CLIENT_REQUEST_QUERY_PARAMETERS}."
|
||||||
|
author: ""
|
||||||
|
date: "$Date$"
|
||||||
|
revision: "$Revision$"
|
||||||
|
|
||||||
|
class
|
||||||
|
HTTP_CLIENT_REQUEST_QUERY_PARAMETERS
|
||||||
|
|
||||||
|
inherit
|
||||||
|
HTTP_CLIENT_REQUEST_PARAMETERS [HTTP_CLIENT_REQUEST_STRING_PARAMETER]
|
||||||
|
|
||||||
|
create
|
||||||
|
make
|
||||||
|
|
||||||
|
note
|
||||||
|
copyright: "2011-2017, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
|
||||||
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||||
|
source: "[
|
||||||
|
Eiffel Software
|
||||||
|
5949 Hollister Ave., Goleta, CA 93117 USA
|
||||||
|
Telephone 805-685-1006, Fax 805-685-6869
|
||||||
|
Website http://www.eiffel.com
|
||||||
|
Customer support http://support.eiffel.com
|
||||||
|
]"
|
||||||
|
end
|
||||||
@@ -0,0 +1,155 @@
|
|||||||
|
note
|
||||||
|
description: "Summary description for {HTTP_CLIENT_REQUEST_FILE_PARAMETER}."
|
||||||
|
author: ""
|
||||||
|
date: "$Date$"
|
||||||
|
revision: "$Revision$"
|
||||||
|
|
||||||
|
class
|
||||||
|
HTTP_CLIENT_REQUEST_FILE_PARAMETER
|
||||||
|
|
||||||
|
inherit
|
||||||
|
HTTP_CLIENT_REQUEST_PARAMETER
|
||||||
|
|
||||||
|
create
|
||||||
|
make_with_path
|
||||||
|
|
||||||
|
feature {NONE} -- Initialization
|
||||||
|
|
||||||
|
make_with_path (a_name: READABLE_STRING_GENERAL; a_path: PATH)
|
||||||
|
do
|
||||||
|
set_name (a_name)
|
||||||
|
location := a_path
|
||||||
|
if attached a_path.entry as e then
|
||||||
|
file_name := e.name
|
||||||
|
end
|
||||||
|
set_content_type ("application/octet-stream") -- Default
|
||||||
|
end
|
||||||
|
|
||||||
|
feature -- Access
|
||||||
|
|
||||||
|
count: INTEGER
|
||||||
|
local
|
||||||
|
f: RAW_FILE
|
||||||
|
do
|
||||||
|
create f.make_with_path (location)
|
||||||
|
if f.exists and then f.is_access_readable then
|
||||||
|
Result := f.count
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
location: PATH
|
||||||
|
|
||||||
|
file_name: detachable READABLE_STRING_32
|
||||||
|
|
||||||
|
feature -- Element change
|
||||||
|
|
||||||
|
set_file_name (fn: detachable READABLE_STRING_GENERAL)
|
||||||
|
do
|
||||||
|
if fn = Void then
|
||||||
|
file_name := Void
|
||||||
|
else
|
||||||
|
file_name := fn.to_string_32
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
feature -- Status report
|
||||||
|
|
||||||
|
exists: BOOLEAN
|
||||||
|
local
|
||||||
|
fut: FILE_UTILITIES
|
||||||
|
do
|
||||||
|
Result := fut.file_path_exists (location)
|
||||||
|
end
|
||||||
|
|
||||||
|
feature {NONE} -- Data
|
||||||
|
|
||||||
|
file_content: detachable STRING_8
|
||||||
|
require
|
||||||
|
exists: exists
|
||||||
|
local
|
||||||
|
f: RAW_FILE
|
||||||
|
do
|
||||||
|
create f.make_with_path (location)
|
||||||
|
if f.exists and then f.is_access_readable then
|
||||||
|
create Result.make (f.count)
|
||||||
|
f.open_read
|
||||||
|
from
|
||||||
|
until
|
||||||
|
f.exhausted or f.end_of_file
|
||||||
|
loop
|
||||||
|
f.read_stream_thread_aware (2_048)
|
||||||
|
Result.append (f.last_string)
|
||||||
|
end
|
||||||
|
f.close
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
feature -- Data
|
||||||
|
|
||||||
|
append_file_content_to (a_output: STRING)
|
||||||
|
-- Append content of file located at `location`to `a_output'.
|
||||||
|
require
|
||||||
|
exists: exists
|
||||||
|
local
|
||||||
|
f: RAW_FILE
|
||||||
|
l_buffer_size: INTEGER
|
||||||
|
do
|
||||||
|
create f.make_with_path (location)
|
||||||
|
if f.exists and then f.is_access_readable then
|
||||||
|
f.open_read
|
||||||
|
from
|
||||||
|
l_buffer_size := 2_048
|
||||||
|
until
|
||||||
|
f.exhausted or f.end_of_file
|
||||||
|
loop
|
||||||
|
f.read_stream_thread_aware (l_buffer_size)
|
||||||
|
a_output.append (f.last_string)
|
||||||
|
end
|
||||||
|
f.close
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
feature -- Conversion
|
||||||
|
|
||||||
|
append_form_url_encoded_to (a_output: STRING_8)
|
||||||
|
-- Append as form url encoded string to `a_output`.
|
||||||
|
do
|
||||||
|
if exists and then attached file_content as s then
|
||||||
|
x_www_form_url_encoder.append_percent_encoded_string_to (s, a_output)
|
||||||
|
else
|
||||||
|
check exists: False end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
append_query_value_encoded_to (a_output: STRING_8)
|
||||||
|
do
|
||||||
|
if exists and then attached file_content as s then
|
||||||
|
uri_percent_encoder.append_query_value_encoded_string_to (s, a_output)
|
||||||
|
else
|
||||||
|
check exists: False end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
append_as_mime_encoded_to (a_output: STRING_8)
|
||||||
|
-- Encoded unicode string for mime value.
|
||||||
|
-- For instance uploaded filename, or form data key or values.
|
||||||
|
do
|
||||||
|
-- FIXME: find the proper encoding!
|
||||||
|
if exists then
|
||||||
|
append_file_content_to (a_output)
|
||||||
|
else
|
||||||
|
check exists: False end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
note
|
||||||
|
copyright: "2011-2017, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
|
||||||
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||||
|
source: "[
|
||||||
|
Eiffel Software
|
||||||
|
5949 Hollister Ave., Goleta, CA 93117 USA
|
||||||
|
Telephone 805-685-1006, Fax 805-685-6869
|
||||||
|
Website http://www.eiffel.com
|
||||||
|
Customer support http://support.eiffel.com
|
||||||
|
]"
|
||||||
|
end
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
note
|
||||||
|
description: "Summary description for {HTTP_CLIENT_REQUEST_STRING_PARAMETER}."
|
||||||
|
author: ""
|
||||||
|
date: "$Date$"
|
||||||
|
revision: "$Revision$"
|
||||||
|
|
||||||
|
class
|
||||||
|
HTTP_CLIENT_REQUEST_STRING_PARAMETER
|
||||||
|
|
||||||
|
inherit
|
||||||
|
HTTP_CLIENT_REQUEST_PARAMETER
|
||||||
|
|
||||||
|
create
|
||||||
|
make
|
||||||
|
|
||||||
|
feature {NONE} -- Initialization
|
||||||
|
|
||||||
|
make (a_name, a_value: READABLE_STRING_GENERAL)
|
||||||
|
do
|
||||||
|
set_name (a_name)
|
||||||
|
value := a_value.as_string_32
|
||||||
|
end
|
||||||
|
|
||||||
|
feature -- Access
|
||||||
|
|
||||||
|
value: READABLE_STRING_32
|
||||||
|
|
||||||
|
count: INTEGER
|
||||||
|
do
|
||||||
|
Result := value.count
|
||||||
|
end
|
||||||
|
|
||||||
|
feature -- Conversion
|
||||||
|
|
||||||
|
append_form_url_encoded_to (a_output: STRING_8)
|
||||||
|
-- Append as form url encoded string to `a_output`.
|
||||||
|
do
|
||||||
|
x_www_form_url_encoder.append_percent_encoded_string_to (value, a_output)
|
||||||
|
end
|
||||||
|
|
||||||
|
append_query_value_encoded_to (a_output: STRING_8)
|
||||||
|
do
|
||||||
|
uri_percent_encoder.append_query_value_encoded_string_to (value, a_output)
|
||||||
|
end
|
||||||
|
|
||||||
|
append_as_mime_encoded_to (a_output: STRING_8)
|
||||||
|
-- Encoded unicode string for mime value.
|
||||||
|
-- For instance uploaded filename, or form data key or values.
|
||||||
|
local
|
||||||
|
utf: UTF_CONVERTER
|
||||||
|
do
|
||||||
|
-- FIXME: find the proper encoding!
|
||||||
|
utf.utf_32_string_into_utf_8_string_8 (value, a_output)
|
||||||
|
end
|
||||||
|
|
||||||
|
invariant
|
||||||
|
|
||||||
|
note
|
||||||
|
copyright: "2011-2017, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
|
||||||
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||||
|
source: "[
|
||||||
|
Eiffel Software
|
||||||
|
5949 Hollister Ave., Goleta, CA 93117 USA
|
||||||
|
Telephone 805-685-1006, Fax 805-685-6869
|
||||||
|
Website http://www.eiffel.com
|
||||||
|
Customer support http://support.eiffel.com
|
||||||
|
]"
|
||||||
|
end
|
||||||
@@ -58,7 +58,6 @@ feature -- Execution
|
|||||||
ctx: like context
|
ctx: like context
|
||||||
p_slist: POINTER
|
p_slist: POINTER
|
||||||
retried: BOOLEAN
|
retried: BOOLEAN
|
||||||
l_form_data: detachable HASH_TABLE [READABLE_STRING_32, READABLE_STRING_32]
|
|
||||||
l_upload_data: detachable READABLE_STRING_8
|
l_upload_data: detachable READABLE_STRING_8
|
||||||
l_upload_filename: detachable READABLE_STRING_GENERAL
|
l_upload_filename: detachable READABLE_STRING_GENERAL
|
||||||
l_headers: like headers
|
l_headers: like headers
|
||||||
@@ -151,70 +150,19 @@ feature -- Execution
|
|||||||
--| Credentials not provided ...
|
--| Credentials not provided ...
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if ctx.has_upload_data then
|
if ctx.has_upload_data then
|
||||||
l_upload_data := ctx.upload_data
|
l_upload_data := ctx.upload_data
|
||||||
end
|
end
|
||||||
if ctx.has_upload_filename then
|
if ctx.has_upload_filename then
|
||||||
l_upload_filename := ctx.upload_filename
|
l_upload_filename := ctx.upload_filename
|
||||||
end
|
end
|
||||||
if ctx.has_form_data then
|
|
||||||
l_form_data := ctx.form_parameters
|
|
||||||
check non_empty_form_data: not l_form_data.is_empty end
|
|
||||||
if l_upload_data = Void and l_upload_filename = Void then
|
|
||||||
-- Send as form-urlencoded
|
|
||||||
if
|
|
||||||
attached l_headers.item ("Content-Type") as l_ct
|
|
||||||
then
|
|
||||||
if l_ct.starts_with ("application/x-www-form-urlencoded") then
|
|
||||||
-- Content-Type is already application/x-www-form-urlencoded
|
|
||||||
l_upload_data := ctx.form_parameters_to_x_www_form_url_encoded_string
|
|
||||||
elseif l_ct.starts_with ("multipart/form-data") then
|
|
||||||
l_use_curl_form := True
|
|
||||||
else
|
|
||||||
-- Not supported, use libcurl form.
|
|
||||||
l_use_curl_form := True
|
|
||||||
end
|
|
||||||
else
|
|
||||||
l_upload_data := ctx.form_parameters_to_x_www_form_url_encoded_string
|
|
||||||
end
|
|
||||||
else
|
|
||||||
l_use_curl_form := True
|
|
||||||
end
|
|
||||||
if l_use_curl_form then
|
|
||||||
create l_form.make
|
|
||||||
create l_last.make
|
|
||||||
from
|
|
||||||
l_form_data.start
|
|
||||||
until
|
|
||||||
l_form_data.after
|
|
||||||
loop
|
|
||||||
curl.formadd_string_string (l_form, l_last,
|
|
||||||
{CURL_FORM_CONSTANTS}.curlform_copyname, l_form_data.key_for_iteration,
|
|
||||||
{CURL_FORM_CONSTANTS}.curlform_copycontents, l_form_data.item_for_iteration,
|
|
||||||
{CURL_FORM_CONSTANTS}.curlform_end
|
|
||||||
)
|
|
||||||
l_form_data.forth
|
|
||||||
end
|
|
||||||
if l_upload_filename /= Void then
|
|
||||||
curl.formadd_string_string (l_form, l_last,
|
|
||||||
{CURL_FORM_CONSTANTS}.curlform_copyname, "file",
|
|
||||||
{CURL_FORM_CONSTANTS}.curlform_file, l_upload_filename,
|
|
||||||
{CURL_FORM_CONSTANTS}.curlform_end
|
|
||||||
)
|
|
||||||
l_upload_filename := Void
|
|
||||||
end
|
|
||||||
l_last.release_item
|
|
||||||
curl_easy.setopt_form (curl_handle, {CURL_OPT_CONSTANTS}.curlopt_httppost, l_form)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
if l_upload_data /= Void then
|
if l_upload_data /= Void then
|
||||||
check
|
check
|
||||||
post_or_put_request_method: request_method.is_case_insensitive_equal ("POST")
|
post_or_put_request_method: request_method.is_case_insensitive_equal ("POST")
|
||||||
or request_method.is_case_insensitive_equal ("PUT")
|
or request_method.is_case_insensitive_equal ("PUT")
|
||||||
or request_method.is_case_insensitive_equal ("PATCH")
|
or request_method.is_case_insensitive_equal ("PATCH")
|
||||||
end
|
end
|
||||||
|
check no_form_data: not ctx.has_form_data end
|
||||||
|
|
||||||
curl_easy.setopt_string (curl_handle, {CURL_OPT_CONSTANTS}.curlopt_postfields, l_upload_data)
|
curl_easy.setopt_string (curl_handle, {CURL_OPT_CONSTANTS}.curlopt_postfields, l_upload_data)
|
||||||
curl_easy.setopt_integer (curl_handle, {CURL_OPT_CONSTANTS}.curlopt_postfieldsize, l_upload_data.count)
|
curl_easy.setopt_integer (curl_handle, {CURL_OPT_CONSTANTS}.curlopt_postfieldsize, l_upload_data.count)
|
||||||
@@ -224,6 +172,7 @@ feature -- Execution
|
|||||||
or request_method.is_case_insensitive_equal ("PUT")
|
or request_method.is_case_insensitive_equal ("PUT")
|
||||||
or request_method.is_case_insensitive_equal ("PATCH")
|
or request_method.is_case_insensitive_equal ("PATCH")
|
||||||
end
|
end
|
||||||
|
check no_form_data: not ctx.has_form_data end
|
||||||
|
|
||||||
create l_upload_file.make_with_name (l_upload_filename)
|
create l_upload_file.make_with_name (l_upload_filename)
|
||||||
if l_upload_file.exists and then l_upload_file.is_readable then
|
if l_upload_file.exists and then l_upload_file.is_readable then
|
||||||
@@ -238,8 +187,58 @@ feature -- Execution
|
|||||||
l_upload_file.open_read
|
l_upload_file.open_read
|
||||||
curl_easy.set_curl_function (l_custom_function)
|
curl_easy.set_curl_function (l_custom_function)
|
||||||
end
|
end
|
||||||
|
elseif
|
||||||
|
ctx.has_form_data and
|
||||||
|
attached ctx.form_parameters as l_form_data
|
||||||
|
then
|
||||||
|
check non_empty_form_data: not l_form_data.is_empty end
|
||||||
|
-- Send as form-urlencoded
|
||||||
|
if
|
||||||
|
attached l_headers.item ("Content-Type") as l_ct
|
||||||
|
then
|
||||||
|
if l_ct.starts_with ("application/x-www-form-urlencoded") then
|
||||||
|
-- Content-Type is already application/x-www-form-urlencoded
|
||||||
|
l_upload_data := ctx.form_parameters_to_x_www_form_url_encoded_string
|
||||||
|
elseif l_ct.starts_with ("multipart/form-data") or l_form_data.has_file_parameter then
|
||||||
|
l_use_curl_form := True
|
||||||
else
|
else
|
||||||
check no_upload_data: l_upload_data = Void and l_upload_filename = Void end
|
-- Not supported, use libcurl form.
|
||||||
|
l_use_curl_form := True
|
||||||
|
end
|
||||||
|
else
|
||||||
|
l_headers.force ("application/x-www-form-urlencoded", "Content-Type")
|
||||||
|
l_upload_data := ctx.form_parameters_to_x_www_form_url_encoded_string
|
||||||
|
curl_easy.setopt_string (curl_handle, {CURL_OPT_CONSTANTS}.curlopt_postfields, l_upload_data)
|
||||||
|
curl_easy.setopt_integer (curl_handle, {CURL_OPT_CONSTANTS}.curlopt_postfieldsize, l_upload_data.count)
|
||||||
|
end
|
||||||
|
if l_use_curl_form then
|
||||||
|
create l_form.make
|
||||||
|
create l_last.make
|
||||||
|
across
|
||||||
|
l_form_data as ic
|
||||||
|
loop
|
||||||
|
if attached {HTTP_CLIENT_REQUEST_STRING_PARAMETER} ic.item as strparam then
|
||||||
|
curl.formadd_string_string (l_form, l_last,
|
||||||
|
{CURL_FORM_CONSTANTS}.curlform_copyname, strparam.name,
|
||||||
|
{CURL_FORM_CONSTANTS}.curlform_copycontents, strparam.value,
|
||||||
|
{CURL_FORM_CONSTANTS}.curlform_end
|
||||||
|
)
|
||||||
|
elseif attached {HTTP_CLIENT_REQUEST_FILE_PARAMETER} ic.item as fileparam then
|
||||||
|
curl.formadd_string_string (l_form, l_last,
|
||||||
|
{CURL_FORM_CONSTANTS}.curlform_copyname, "file",
|
||||||
|
{CURL_FORM_CONSTANTS}.curlform_file, fileparam.location.name,
|
||||||
|
{CURL_FORM_CONSTANTS}.curlform_end
|
||||||
|
)
|
||||||
|
else
|
||||||
|
check supported_parameter_type: False end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
l_last.release_item
|
||||||
|
curl_easy.setopt_form (curl_handle, {CURL_OPT_CONSTANTS}.curlopt_httppost, l_form)
|
||||||
|
end
|
||||||
|
else
|
||||||
|
-- No form, or upload data to send!
|
||||||
|
check no_data: not (ctx.has_upload_data or ctx.has_upload_filename or ctx.has_form_data) end
|
||||||
end
|
end
|
||||||
end -- ctx /= Void
|
end -- ctx /= Void
|
||||||
|
|
||||||
@@ -376,6 +375,11 @@ feature -- Execution
|
|||||||
curl_easy.setopt_integer (curl_handle, {CURL_OPT_CONSTANTS}.curlopt_ssl_verifypeer, 0)
|
curl_easy.setopt_integer (curl_handle, {CURL_OPT_CONSTANTS}.curlopt_ssl_verifypeer, 0)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--| Cipher List
|
||||||
|
if attached session.ciphers_setting as c_list then
|
||||||
|
curl_easy.setopt_string (curl_handle, {CURL_OPT_CONSTANTS}.curlopt_ssl_cipher_list, c_list )
|
||||||
|
end
|
||||||
|
|
||||||
--| Request method
|
--| Request method
|
||||||
if request_method.is_case_insensitive_equal ("GET") then
|
if request_method.is_case_insensitive_equal ("GET") then
|
||||||
curl_easy.setopt_integer (curl_handle, {CURL_OPT_CONSTANTS}.curlopt_httpget, 1)
|
curl_easy.setopt_integer (curl_handle, {CURL_OPT_CONSTANTS}.curlopt_httpget, 1)
|
||||||
|
|||||||
@@ -91,8 +91,8 @@ feature -- Access
|
|||||||
l_authorization: HTTP_AUTHORIZATION
|
l_authorization: HTTP_AUTHORIZATION
|
||||||
l_platform: STRING
|
l_platform: STRING
|
||||||
l_upload_data: detachable READABLE_STRING_8
|
l_upload_data: detachable READABLE_STRING_8
|
||||||
l_form_data: detachable HASH_TABLE [READABLE_STRING_32, READABLE_STRING_32]
|
|
||||||
ctx: like context
|
ctx: like context
|
||||||
|
l_ct: detachable READABLE_STRING_8
|
||||||
l_upload_file: detachable RAW_FILE
|
l_upload_file: detachable RAW_FILE
|
||||||
l_upload_filename: detachable READABLE_STRING_GENERAL
|
l_upload_filename: detachable READABLE_STRING_GENERAL
|
||||||
l_form_string: STRING
|
l_form_string: STRING
|
||||||
@@ -113,6 +113,7 @@ feature -- Access
|
|||||||
-- Get URL data
|
-- Get URL data
|
||||||
l_is_https := url.starts_with_general ("https://")
|
l_is_https := url.starts_with_general ("https://")
|
||||||
create l_uri.make_from_string (url)
|
create l_uri.make_from_string (url)
|
||||||
|
check valid_url: l_uri.is_valid end
|
||||||
l_port := l_uri.port
|
l_port := l_uri.port
|
||||||
if l_port = 0 then
|
if l_port = 0 then
|
||||||
if l_is_https then
|
if l_is_https then
|
||||||
@@ -149,7 +150,7 @@ feature -- Access
|
|||||||
then
|
then
|
||||||
create l_authorization.make_basic_auth (u_name, u_pass)
|
create l_authorization.make_basic_auth (u_name, u_pass)
|
||||||
if attached l_authorization.http_authorization as auth then
|
if attached l_authorization.http_authorization as auth then
|
||||||
headers.extend (auth, "Authorization")
|
headers.force (auth, "Authorization")
|
||||||
end
|
end
|
||||||
check headers.has_key ("Authorization") end
|
check headers.has_key ("Authorization") end
|
||||||
end
|
end
|
||||||
@@ -176,7 +177,7 @@ feature -- Access
|
|||||||
else
|
else
|
||||||
l_platform := "Unknown"
|
l_platform := "Unknown"
|
||||||
end
|
end
|
||||||
headers.extend ("eiffelhttpclient/" + net_http_client_version + " (" + l_platform + ")", "User-Agent")
|
headers.force ("eiffelhttpclient/" + net_http_client_version + " (" + l_platform + ")", "User-Agent")
|
||||||
end
|
end
|
||||||
|
|
||||||
-- handle sending data
|
-- handle sending data
|
||||||
@@ -191,67 +192,52 @@ feature -- Access
|
|||||||
l_upload_data := ctx.upload_data
|
l_upload_data := ctx.upload_data
|
||||||
end
|
end
|
||||||
|
|
||||||
if ctx.has_form_data then
|
if l_upload_data /= Void then
|
||||||
l_form_data := ctx.form_parameters
|
|
||||||
if l_upload_data = Void and l_upload_filename = Void then
|
|
||||||
if
|
|
||||||
attached headers.item ("Content-Type") as l_ct
|
|
||||||
then
|
|
||||||
if l_ct.starts_with ("application/x-www-form-urlencoded") then
|
|
||||||
l_upload_data := ctx.form_parameters_to_x_www_form_url_encoded_string
|
|
||||||
elseif l_ct.starts_with ("multipart/form-data") then
|
|
||||||
-- create form using multipart/form-data encoding
|
|
||||||
l_boundary := new_mime_boundary (l_form_data)
|
|
||||||
headers.extend ("multipart/form-data; boundary=" + l_boundary, "Content-Type")
|
|
||||||
l_upload_data := form_date_and_uploaded_files_to_mime_string (l_form_data, l_upload_filename, l_boundary)
|
|
||||||
else
|
|
||||||
-- not supported !
|
|
||||||
-- Send as form-urlencoded
|
|
||||||
headers.extend ("application/x-www-form-urlencoded", "Content-Type")
|
|
||||||
l_upload_data := ctx.form_parameters_to_x_www_form_url_encoded_string
|
|
||||||
end
|
|
||||||
else
|
|
||||||
-- Send as form-urlencoded
|
|
||||||
headers.extend ("application/x-www-form-urlencoded", "Content-Type")
|
|
||||||
l_upload_data := ctx.form_parameters_to_x_www_form_url_encoded_string
|
|
||||||
end
|
|
||||||
headers.extend (l_upload_data.count.out, "Content-Length")
|
|
||||||
if l_is_chunked_transfer_encoding then
|
|
||||||
-- Discard chunked transfer encoding
|
|
||||||
headers.remove ("Transfer-Encoding")
|
|
||||||
l_is_chunked_transfer_encoding := False
|
|
||||||
end
|
|
||||||
elseif l_form_data /= Void then
|
|
||||||
check l_upload_data = Void end
|
|
||||||
|
|
||||||
-- create form using multipart/form-data encoding
|
|
||||||
l_boundary := new_mime_boundary (l_form_data)
|
|
||||||
headers.extend ("multipart/form-data; boundary=" + l_boundary, "Content-Type")
|
|
||||||
l_upload_data := form_date_and_uploaded_files_to_mime_string (l_form_data, l_upload_filename, l_boundary)
|
|
||||||
headers.extend (l_upload_data.count.out, "Content-Length")
|
|
||||||
if l_is_chunked_transfer_encoding then
|
|
||||||
-- Discard chunked transfer encoding
|
|
||||||
headers.remove ("Transfer-Encoding")
|
|
||||||
l_is_chunked_transfer_encoding := False
|
|
||||||
end
|
|
||||||
end
|
|
||||||
elseif l_upload_data /= Void then
|
|
||||||
check ctx.has_upload_data end
|
check ctx.has_upload_data end
|
||||||
|
check no_form_data: not ctx.has_form_data end
|
||||||
if not headers.has ("Content-Type") then
|
if not headers.has ("Content-Type") then
|
||||||
headers.extend ("application/x-www-form-urlencoded", "Content-Type")
|
headers.force ("application/x-www-form-urlencoded", "Content-Type")
|
||||||
end
|
end
|
||||||
if not l_is_chunked_transfer_encoding then
|
if not l_is_chunked_transfer_encoding then
|
||||||
headers.extend (l_upload_data.count.out, "Content-Length")
|
headers.force (l_upload_data.count.out, "Content-Length")
|
||||||
end
|
end
|
||||||
elseif l_upload_filename /= Void then
|
elseif l_upload_filename /= Void then
|
||||||
check ctx.has_upload_filename end
|
check ctx.has_upload_filename end
|
||||||
|
check no_form_data: not ctx.has_form_data end
|
||||||
create l_upload_file.make_with_name (l_upload_filename)
|
create l_upload_file.make_with_name (l_upload_filename)
|
||||||
if l_upload_file.exists and then l_upload_file.is_access_readable then
|
if l_upload_file.exists and then l_upload_file.is_access_readable then
|
||||||
if not l_is_chunked_transfer_encoding then
|
if not l_is_chunked_transfer_encoding then
|
||||||
headers.extend (l_upload_file.count.out, "Content-Length")
|
headers.force (l_upload_file.count.out, "Content-Length")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
check l_upload_file /= Void end
|
check l_upload_file /= Void end
|
||||||
|
elseif
|
||||||
|
ctx.has_form_data and
|
||||||
|
attached ctx.form_parameters as l_form_data
|
||||||
|
then
|
||||||
|
l_ct := headers.item ("Content-Type")
|
||||||
|
if l_ct /= Void and then l_ct.starts_with ("application/x-www-form-urlencoded") then
|
||||||
|
l_upload_data := ctx.form_parameters_to_x_www_form_url_encoded_string
|
||||||
|
elseif
|
||||||
|
(l_ct /= Void and then l_ct.starts_with ("multipart/form-data"))
|
||||||
|
or l_form_data.has_file_parameter
|
||||||
|
then
|
||||||
|
-- create form using multipart/form-data encoding
|
||||||
|
l_boundary := new_mime_boundary (l_form_data)
|
||||||
|
headers.force ("multipart/form-data; boundary=" + l_boundary, "Content-Type")
|
||||||
|
l_upload_data := form_date_and_uploaded_files_to_mime_string (l_form_data, l_boundary)
|
||||||
|
else
|
||||||
|
-- not supported !
|
||||||
|
-- Send as form-urlencoded
|
||||||
|
headers.force ("application/x-www-form-urlencoded", "Content-Type")
|
||||||
|
l_upload_data := ctx.form_parameters_to_x_www_form_url_encoded_string
|
||||||
|
end
|
||||||
|
headers.force (l_upload_data.count.out, "Content-Length")
|
||||||
|
if l_is_chunked_transfer_encoding then
|
||||||
|
-- Discard chunked transfer encoding
|
||||||
|
headers.remove ("Transfer-Encoding")
|
||||||
|
l_is_chunked_transfer_encoding := False
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -482,14 +468,9 @@ feature {NONE} -- Helpers
|
|||||||
Result := a_status >= 300 and a_status < 400
|
Result := a_status >= 300 and a_status < 400
|
||||||
end
|
end
|
||||||
|
|
||||||
form_date_and_uploaded_files_to_mime_string (a_form_parameters: HASH_TABLE [READABLE_STRING_32, READABLE_STRING_32]; a_upload_filename: detachable READABLE_STRING_GENERAL; a_mime_boundary: READABLE_STRING_8): STRING
|
form_date_and_uploaded_files_to_mime_string (a_form_parameters: ITERABLE [HTTP_CLIENT_REQUEST_PARAMETER]; a_mime_boundary: READABLE_STRING_8): STRING
|
||||||
-- Form data and uploaded files converted to mime string.
|
-- Form data and uploaded files converted to mime string.
|
||||||
-- TODO: design a proper MIME... component.
|
-- TODO: design a proper MIME... component.
|
||||||
local
|
|
||||||
l_path: PATH
|
|
||||||
l_mime_type: READABLE_STRING_8
|
|
||||||
l_upload_file: detachable RAW_FILE
|
|
||||||
l_mime_type_mapping: HTTP_FILE_EXTENSION_MIME_MAPPING
|
|
||||||
do
|
do
|
||||||
create Result.make (100)
|
create Result.make (100)
|
||||||
across
|
across
|
||||||
@@ -500,48 +481,26 @@ feature {NONE} -- Helpers
|
|||||||
Result.append (http_end_of_header_line)
|
Result.append (http_end_of_header_line)
|
||||||
Result.append ("Content-Disposition: form-data; name=")
|
Result.append ("Content-Disposition: form-data; name=")
|
||||||
Result.append_character ('%"')
|
Result.append_character ('%"')
|
||||||
Result.append (string_to_mime_encoded_string (ic.key))
|
Result.append (string_to_mime_encoded_string (ic.item.name))
|
||||||
Result.append_character ('%"')
|
Result.append_character ('%"')
|
||||||
Result.append (http_end_of_header_line)
|
|
||||||
Result.append (http_end_of_header_line)
|
|
||||||
Result.append (string_to_mime_encoded_string (ic.item))
|
|
||||||
Result.append (http_end_of_header_line)
|
|
||||||
end
|
|
||||||
|
|
||||||
if a_upload_filename /= Void then
|
|
||||||
-- get file extension, otherwise set default
|
|
||||||
create l_mime_type_mapping.make_default
|
|
||||||
create l_path.make_from_string (a_upload_filename)
|
|
||||||
if
|
if
|
||||||
attached l_path.extension as ext and then
|
attached {HTTP_CLIENT_REQUEST_FILE_PARAMETER} ic.item as fileparam and then
|
||||||
attached l_mime_type_mapping.mime_type (ext) as l_mt
|
attached fileparam.file_name as fn
|
||||||
then
|
then
|
||||||
l_mime_type := l_mt
|
Result.append ("; filename=")
|
||||||
else
|
Result.append_character ('%"')
|
||||||
l_mime_type := "application/octet-stream"
|
Result.append (string_to_mime_encoded_string (fn))
|
||||||
|
Result.append_character ('%"')
|
||||||
end
|
end
|
||||||
Result.append ("--")
|
if attached ic.item.content_type as ct then
|
||||||
Result.append (a_mime_boundary)
|
|
||||||
Result.append (http_end_of_header_line)
|
|
||||||
Result.append ("Content-Disposition: form-data; name=%"")
|
|
||||||
Result.append (string_to_mime_encoded_string (a_upload_filename))
|
|
||||||
Result.append_character ('%"')
|
|
||||||
Result.append ("; filename=%"")
|
|
||||||
Result.append (string_to_mime_encoded_string (a_upload_filename))
|
|
||||||
Result.append_character ('%"')
|
|
||||||
Result.append (http_end_of_header_line)
|
Result.append (http_end_of_header_line)
|
||||||
Result.append ("Content-Type: ")
|
Result.append ("Content-Type: ")
|
||||||
Result.append (l_mime_type)
|
Result.append (ct)
|
||||||
Result.append (http_end_of_header_line)
|
|
||||||
Result.append (http_end_of_header_line)
|
|
||||||
|
|
||||||
create l_upload_file.make_with_path (l_path)
|
|
||||||
if l_upload_file.exists and then l_upload_file.is_access_readable then
|
|
||||||
append_file_content_to (l_upload_file, l_upload_file.count, Result)
|
|
||||||
-- Reset l_upload_file to Void, since the related content is already processed.
|
|
||||||
l_upload_file := Void
|
|
||||||
end
|
end
|
||||||
Result.append (http_end_of_header_line)
|
Result.append (http_end_of_header_line)
|
||||||
|
Result.append (http_end_of_header_line)
|
||||||
|
ic.item.append_as_mime_encoded_to (Result)
|
||||||
|
Result.append (http_end_of_header_line)
|
||||||
end
|
end
|
||||||
Result.append ("--")
|
Result.append ("--")
|
||||||
Result.append (a_mime_boundary)
|
Result.append (a_mime_boundary)
|
||||||
@@ -893,7 +852,7 @@ feature {NONE} -- Helpers
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
new_mime_boundary (a_data: HASH_TABLE [READABLE_STRING_32, READABLE_STRING_32]): STRING
|
new_mime_boundary (a_data: ITERABLE [HTTP_CLIENT_REQUEST_PARAMETER]): STRING
|
||||||
-- New MIME boundary.
|
-- New MIME boundary.
|
||||||
local
|
local
|
||||||
s: STRING
|
s: STRING
|
||||||
@@ -904,7 +863,7 @@ feature {NONE} -- Helpers
|
|||||||
across
|
across
|
||||||
a_data as ic
|
a_data as ic
|
||||||
loop
|
loop
|
||||||
i := i + ic.item.count + ic.key.count
|
i := i + ic.item.count + ic.item.name.count
|
||||||
end
|
end
|
||||||
create ran.set_seed (i) -- FIXME: use a real random seed.
|
create ran.set_seed (i) -- FIXME: use a real random seed.
|
||||||
ran.start
|
ran.start
|
||||||
|
|||||||
+12
-8
@@ -1,25 +1,29 @@
|
|||||||
<?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-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="test_http_client" uuid="920E5C50-41E1-4DAC-8D48-D9C860E49228">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="test_http_client" uuid="920E5C50-41E1-4DAC-8D48-D9C860E49228">
|
||||||
<target name="test_http_client">
|
<target name="test_http_client">
|
||||||
<root class="TEST" feature="make"/>
|
<root class="TEST" feature="make"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="all">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
<variable name="netssl_http_client_enabled" value="false"/>
|
<capability>
|
||||||
|
<concurrency support="thread"/>
|
||||||
|
</capability>
|
||||||
|
<variable name="ssl_enabled" value="true"/>
|
||||||
|
<variable name="netssl_http_client_enabled" value="true"/>
|
||||||
<variable name="net_http_client_disabled" value="false"/>
|
<variable name="net_http_client_disabled" value="false"/>
|
||||||
<variable name="libcurl_http_client_disabled" value="false"/>
|
<variable name="libcurl_http_client_disabled" value="false"/>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="http_client" location="..\http_client-safe.ecf" readonly="false" use_application_options="true">
|
<library name="http_client" location="..\http_client.ecf" readonly="false" use_application_options="true">
|
||||||
<option>
|
<option>
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
</library>
|
</library>
|
||||||
<library name="testing" location="$ISE_LIBRARY\library\testing\testing-safe.ecf"/>
|
<library name="testing" location="$ISE_LIBRARY\library\testing\testing.ecf"/>
|
||||||
<tests name="tests" location=".\">
|
<tests name="tests" location=".\">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>.*libcurl_.*.e$</exclude>
|
<exclude>.*libcurl_.*.e$</exclude>
|
||||||
@@ -59,6 +59,11 @@ feature -- Tests
|
|||||||
test_post_with_file_and_form_data
|
test_post_with_file_and_form_data
|
||||||
end
|
end
|
||||||
|
|
||||||
|
libcurl_test_post_with_multiple_file_and_form_data
|
||||||
|
do
|
||||||
|
test_post_with_multiple_file_and_form_data
|
||||||
|
end
|
||||||
|
|
||||||
libcurl_test_get_with_redirection
|
libcurl_test_get_with_redirection
|
||||||
do
|
do
|
||||||
test_get_with_redirection
|
test_get_with_redirection
|
||||||
|
|||||||
@@ -59,6 +59,11 @@ feature -- Tests
|
|||||||
test_post_with_file_and_form_data
|
test_post_with_file_and_form_data
|
||||||
end
|
end
|
||||||
|
|
||||||
|
net_test_post_with_multiple_file_and_form_data
|
||||||
|
do
|
||||||
|
test_post_with_multiple_file_and_form_data
|
||||||
|
end
|
||||||
|
|
||||||
net_test_get_with_redirection
|
net_test_get_with_redirection
|
||||||
do
|
do
|
||||||
test_get_with_redirection
|
test_get_with_redirection
|
||||||
|
|||||||
@@ -21,8 +21,7 @@ feature -- Initialization
|
|||||||
on_prepare
|
on_prepare
|
||||||
do
|
do
|
||||||
Precursor
|
Precursor
|
||||||
global_requestbin_path := "/s0jkhhs0"
|
if is_using_requestbin and global_requestbin_path = Void then
|
||||||
if global_requestbin_path = Void then
|
|
||||||
global_requestbin_path := new_requestbin_path
|
global_requestbin_path := new_requestbin_path
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -35,6 +34,12 @@ feature -- Factory
|
|||||||
|
|
||||||
feature -- Requestbin
|
feature -- Requestbin
|
||||||
|
|
||||||
|
is_using_requestbin: BOOLEAN = False
|
||||||
|
is_using_mockbincom: BOOLEAN
|
||||||
|
do
|
||||||
|
Result := not is_using_requestbin
|
||||||
|
end
|
||||||
|
|
||||||
global_requestbin_path: detachable READABLE_STRING_8
|
global_requestbin_path: detachable READABLE_STRING_8
|
||||||
|
|
||||||
new_requestbin_path: detachable STRING
|
new_requestbin_path: detachable STRING
|
||||||
@@ -42,7 +47,7 @@ feature -- Requestbin
|
|||||||
i,j: INTEGER
|
i,j: INTEGER
|
||||||
do
|
do
|
||||||
if
|
if
|
||||||
attached new_session ("http://requestb.in") as sess and then
|
attached new_session ("https://requestb.in") as sess and then
|
||||||
attached sess.post ("/api/v1/bins", Void, Void) as resp
|
attached sess.post ("/api/v1/bins", Void, Void) as resp
|
||||||
then
|
then
|
||||||
if resp.error_occurred then
|
if resp.error_occurred then
|
||||||
@@ -67,13 +72,30 @@ feature -- Requestbin
|
|||||||
if not Result.starts_with ("/") then
|
if not Result.starts_with ("/") then
|
||||||
Result.prepend_character ('/')
|
Result.prepend_character ('/')
|
||||||
end
|
end
|
||||||
print ("new_requestbin_path => http://requestb.in" + Result + "?inspect%N")
|
print ("new_requestbin_path => " + sess.base_url + Result + "?inspect%N")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
new_web_session: like new_session
|
||||||
|
do
|
||||||
|
if is_using_mockbincom then
|
||||||
|
Result := new_session ("http://mockbin.com/request")
|
||||||
|
end
|
||||||
|
if Result = Void and is_using_requestbin then
|
||||||
|
if attached global_requestbin_path as l_path then
|
||||||
|
Result := new_session ("https://requestb.in" + l_path)
|
||||||
|
else
|
||||||
|
assert ("Has requestbin path", False)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
if Result = Void then
|
||||||
|
Result := new_session ("http://mockbin.com/request") -- Default
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
feature -- Factory
|
feature -- Factory
|
||||||
|
|
||||||
test_post_url_encoded
|
test_post_url_encoded
|
||||||
@@ -81,72 +103,46 @@ feature -- Factory
|
|||||||
sess: HTTP_CLIENT_SESSION
|
sess: HTTP_CLIENT_SESSION
|
||||||
h: STRING_8
|
h: STRING_8
|
||||||
do
|
do
|
||||||
if attached global_requestbin_path as requestbin_path then
|
|
||||||
-- URL ENCODED POST REQUEST
|
-- URL ENCODED POST REQUEST
|
||||||
-- check requestbin to ensure the "Hello World" has been received in the raw body
|
-- check requestbin to ensure the "Hello World" has been received in the raw body
|
||||||
-- also check that User-Agent was sent
|
-- also check that User-Agent was sent
|
||||||
create h.make_empty
|
create h.make_empty
|
||||||
sess := new_session ("http://requestb.in")
|
sess := new_web_session
|
||||||
if
|
if
|
||||||
attached sess.post (requestbin_path, Void, "Hello World") as res and then
|
attached sess.post ("", Void, "Hello World") as res
|
||||||
attached res.headers as hds
|
|
||||||
then
|
then
|
||||||
across
|
check_response (res)
|
||||||
hds as c
|
|
||||||
loop
|
|
||||||
h.append (c.item.name + ": " + c.item.value + "%R%N")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
print (h)
|
|
||||||
else
|
|
||||||
assert ("Has requestbin path", False)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
test_post_with_form_data
|
test_post_with_form_data
|
||||||
local
|
local
|
||||||
sess: HTTP_CLIENT_SESSION
|
sess: HTTP_CLIENT_SESSION
|
||||||
h: STRING_8
|
|
||||||
l_ctx: HTTP_CLIENT_REQUEST_CONTEXT
|
l_ctx: HTTP_CLIENT_REQUEST_CONTEXT
|
||||||
do
|
do
|
||||||
if attached global_requestbin_path as requestbin_path then
|
|
||||||
|
|
||||||
-- POST REQUEST WITH FORM DATA
|
-- POST REQUEST WITH FORM DATA
|
||||||
-- check requestbin to ensure the form parameters are correctly received
|
-- check requestbin to ensure the form parameters are correctly received
|
||||||
sess := new_session ("http://requestb.in")
|
sess := new_web_session
|
||||||
create l_ctx.make
|
create l_ctx.make
|
||||||
l_ctx.add_form_parameter ("First Key", "First Value")
|
l_ctx.add_form_parameter ("First Key", "First Value")
|
||||||
l_ctx.add_form_parameter ("Second Key", "Second Value")
|
l_ctx.add_form_parameter ("Second Key", "Second Value")
|
||||||
l_ctx.add_form_parameter ("unicode", {STRING_32} "Hello / 你好 !")
|
l_ctx.add_form_parameter ("unicode", {STRING_32} "Hello / 你好 !")
|
||||||
l_ctx.add_form_parameter ({STRING_32} "Field 你好 !", "How are you?")
|
l_ctx.add_form_parameter ({STRING_32} "Field 你好 !", "How are you?")
|
||||||
create h.make_empty
|
|
||||||
if
|
if
|
||||||
attached sess.post (requestbin_path, l_ctx, "") as res and then
|
attached sess.post ("", l_ctx, "") as res
|
||||||
attached res.headers as hds
|
|
||||||
then
|
then
|
||||||
across
|
check_response (res)
|
||||||
hds as c
|
|
||||||
loop
|
|
||||||
h.append (c.item.name + ": " + c.item.value + "%R%N")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
print (h)
|
|
||||||
else
|
|
||||||
assert ("Has requestbin path", False)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
test_post_with_uncommon_form_data
|
test_post_with_uncommon_form_data
|
||||||
local
|
local
|
||||||
sess: HTTP_CLIENT_SESSION
|
sess: HTTP_CLIENT_SESSION
|
||||||
h: STRING_8
|
|
||||||
l_ctx: HTTP_CLIENT_REQUEST_CONTEXT
|
l_ctx: HTTP_CLIENT_REQUEST_CONTEXT
|
||||||
do
|
do
|
||||||
if attached global_requestbin_path as requestbin_path then
|
|
||||||
|
|
||||||
-- POST REQUEST WITH FORM DATA
|
-- POST REQUEST WITH FORM DATA
|
||||||
-- check requestbin to ensure the form parameters are correctly received
|
-- check requestbin to ensure the form parameters are correctly received
|
||||||
sess := new_session ("http://requestb.in")
|
sess := new_web_session
|
||||||
create l_ctx.make
|
create l_ctx.make
|
||||||
|
|
||||||
l_ctx.add_form_parameter ("title", "Eiffel World!") -- space and !
|
l_ctx.add_form_parameter ("title", "Eiffel World!") -- space and !
|
||||||
@@ -164,205 +160,143 @@ feature -- Factory
|
|||||||
|
|
||||||
assert ("form data well generated", l_ctx.form_parameters_to_x_www_form_url_encoded_string.same_string ("title=Eiffel+World!&path=foo%%2Fbar&unreserved=%%3A!%%40%%5B%%5D%%7B%%7D()*&reserved=%%2B%%3D%%3F%%26_%%23_&a%%3Db=a%%3Db&test=!%%24%%26'()*&lst%%5Ba%%5D%%5Bb%%5D=%%5B123%%5D%%5B456%%5D&pos%%7B1%%2C2%%7D=loc%%7Ba%%2Cb%%7D&%%3Ffoo=%%3Fbar&%%3F=%%3F&%%26bar=%%26bar&%%26=%%26"))
|
assert ("form data well generated", l_ctx.form_parameters_to_x_www_form_url_encoded_string.same_string ("title=Eiffel+World!&path=foo%%2Fbar&unreserved=%%3A!%%40%%5B%%5D%%7B%%7D()*&reserved=%%2B%%3D%%3F%%26_%%23_&a%%3Db=a%%3Db&test=!%%24%%26'()*&lst%%5Ba%%5D%%5Bb%%5D=%%5B123%%5D%%5B456%%5D&pos%%7B1%%2C2%%7D=loc%%7Ba%%2Cb%%7D&%%3Ffoo=%%3Fbar&%%3F=%%3F&%%26bar=%%26bar&%%26=%%26"))
|
||||||
|
|
||||||
create h.make_empty
|
|
||||||
if
|
if
|
||||||
attached sess.post (requestbin_path, l_ctx, "") as res and then
|
attached sess.post ("", l_ctx, "") as res
|
||||||
attached res.headers as hds
|
|
||||||
then
|
then
|
||||||
across
|
check_response (res)
|
||||||
hds as c
|
|
||||||
loop
|
|
||||||
h.append (c.item.name + ": " + c.item.value + "%R%N")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
print (h)
|
|
||||||
else
|
|
||||||
assert ("Has requestbin path", False)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
test_post_with_file
|
test_post_with_file
|
||||||
local
|
local
|
||||||
sess: HTTP_CLIENT_SESSION
|
sess: HTTP_CLIENT_SESSION
|
||||||
h: STRING_8
|
|
||||||
l_ctx: HTTP_CLIENT_REQUEST_CONTEXT
|
l_ctx: HTTP_CLIENT_REQUEST_CONTEXT
|
||||||
do
|
do
|
||||||
if attached global_requestbin_path as requestbin_path then
|
|
||||||
|
|
||||||
-- POST REQUEST WITH A FILE
|
-- POST REQUEST WITH A FILE
|
||||||
-- check requestbin to ensure the form parameters are correctly received
|
-- check requestbin to ensure the form parameters are correctly received
|
||||||
-- set filename to a local file
|
-- set filename to a local file
|
||||||
sess := new_session ("http://requestb.in")
|
sess := new_web_session
|
||||||
create l_ctx.make
|
create l_ctx.make
|
||||||
l_ctx.set_upload_filename ("test.txt")
|
l_ctx.set_upload_filename ("test.txt")
|
||||||
create h.make_empty
|
|
||||||
if
|
if
|
||||||
attached sess.post (requestbin_path, l_ctx, Void) as res and then
|
attached sess.post ("", l_ctx, Void) as res
|
||||||
attached res.headers as hds
|
|
||||||
then
|
then
|
||||||
across
|
check_response (res)
|
||||||
hds as c
|
|
||||||
loop
|
|
||||||
h.append (c.item.name + ": " + c.item.value + "%R%N")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
print (h)
|
|
||||||
else
|
|
||||||
assert ("Has requestbin path", False)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
test_put_with_file
|
test_put_with_file
|
||||||
local
|
local
|
||||||
sess: HTTP_CLIENT_SESSION
|
sess: HTTP_CLIENT_SESSION
|
||||||
h: STRING_8
|
|
||||||
l_ctx: HTTP_CLIENT_REQUEST_CONTEXT
|
l_ctx: HTTP_CLIENT_REQUEST_CONTEXT
|
||||||
do
|
do
|
||||||
if attached global_requestbin_path as requestbin_path then
|
|
||||||
|
|
||||||
-- PUT REQUEST WITH A FILE
|
-- PUT REQUEST WITH A FILE
|
||||||
-- check requestbin to ensure the file is correctly received
|
-- check requestbin to ensure the file is correctly received
|
||||||
-- set filename to a local file
|
-- set filename to a local file
|
||||||
sess := new_session ("http://requestb.in")
|
sess := new_web_session
|
||||||
create l_ctx.make
|
create l_ctx.make
|
||||||
l_ctx.set_upload_filename ("test.txt")
|
l_ctx.set_upload_filename ("test.txt")
|
||||||
create h.make_empty
|
|
||||||
if
|
if
|
||||||
attached sess.put (requestbin_path, l_ctx, Void) as res and then
|
attached sess.put ("", l_ctx, Void) as res
|
||||||
attached res.headers as hds
|
|
||||||
then
|
then
|
||||||
across
|
check_response (res)
|
||||||
hds as c
|
|
||||||
loop
|
|
||||||
h.append (c.item.name + ": " + c.item.value + "%R%N")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
print (h)
|
|
||||||
else
|
|
||||||
assert ("Has requestbin path", False)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
test_put_with_data
|
test_put_with_data
|
||||||
local
|
local
|
||||||
sess: HTTP_CLIENT_SESSION
|
sess: HTTP_CLIENT_SESSION
|
||||||
h: STRING_8
|
|
||||||
l_ctx: HTTP_CLIENT_REQUEST_CONTEXT
|
l_ctx: HTTP_CLIENT_REQUEST_CONTEXT
|
||||||
do
|
do
|
||||||
if attached global_requestbin_path as requestbin_path then
|
|
||||||
|
|
||||||
-- PUT REQUEST WITH A FILE
|
-- PUT REQUEST WITH A FILE
|
||||||
-- check requestbin to ensure the file is correctly received
|
-- check requestbin to ensure the file is correctly received
|
||||||
-- set filename to a local file
|
-- set filename to a local file
|
||||||
sess := new_session ("http://requestb.in")
|
sess := new_web_session
|
||||||
create l_ctx.make
|
create l_ctx.make
|
||||||
l_ctx.set_upload_data ("name=This is a test for http client.%N")
|
l_ctx.set_upload_data ("name=This is a test for http client.%N")
|
||||||
create h.make_empty
|
|
||||||
if
|
if
|
||||||
attached sess.put (requestbin_path, l_ctx, Void) as res and then
|
attached sess.put ("", l_ctx, Void) as res
|
||||||
attached res.headers as hds
|
|
||||||
then
|
then
|
||||||
across
|
check_response (res)
|
||||||
hds as c
|
|
||||||
loop
|
|
||||||
h.append (c.item.name + ": " + c.item.value + "%R%N")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
print (h)
|
|
||||||
else
|
|
||||||
assert ("Has requestbin path", False)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
test_post_with_file_and_form_data
|
test_post_with_file_and_form_data
|
||||||
local
|
local
|
||||||
sess: HTTP_CLIENT_SESSION
|
sess: HTTP_CLIENT_SESSION
|
||||||
h: STRING_8
|
|
||||||
l_ctx: HTTP_CLIENT_REQUEST_CONTEXT
|
l_ctx: HTTP_CLIENT_REQUEST_CONTEXT
|
||||||
do
|
do
|
||||||
if attached global_requestbin_path as requestbin_path then
|
|
||||||
|
|
||||||
-- POST REQUEST WITH A FILE AND FORM DATA
|
-- POST REQUEST WITH A FILE AND FORM DATA
|
||||||
-- check requestbin to ensure the file and form parameters are correctly received
|
-- check requestbin to ensure the file and form parameters are correctly received
|
||||||
-- set filename to a local file
|
-- set filename to a local file
|
||||||
sess := new_session ("http://requestb.in")
|
sess := new_web_session
|
||||||
-- sess := new_session ("http://localhost:9090")
|
|
||||||
create l_ctx.make
|
create l_ctx.make
|
||||||
-- l_ctx.set_upload_filename ("logo.jpg")
|
-- l_ctx.add_file_form_parameter ("image", "test.txt", "image/jpeg")
|
||||||
l_ctx.set_upload_filename ("test.txt")
|
l_ctx.add_file_form_parameter ("text", "test.txt", "plain/text")
|
||||||
l_ctx.add_form_parameter ("First", "Value")
|
l_ctx.add_form_parameter ("First", "Value")
|
||||||
l_ctx.add_form_parameter ("Second", "and last value")
|
l_ctx.add_form_parameter ("Second", "and last value")
|
||||||
create h.make_empty
|
|
||||||
if
|
if
|
||||||
attached sess.post (requestbin_path, l_ctx, Void) as res and then
|
attached sess.post ("", l_ctx, Void) as res
|
||||||
attached res.headers as hds
|
|
||||||
then
|
then
|
||||||
across
|
check_response (res)
|
||||||
hds as c
|
|
||||||
loop
|
|
||||||
h.append (c.item.name + ": " + c.item.value + "%R%N")
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
print (h)
|
|
||||||
else
|
test_post_with_multiple_file_and_form_data
|
||||||
assert ("Has requestbin path", False)
|
local
|
||||||
|
sess: HTTP_CLIENT_SESSION
|
||||||
|
l_ctx: HTTP_CLIENT_REQUEST_CONTEXT
|
||||||
|
do
|
||||||
|
-- POST REQUEST WITH A FILE AND FORM DATA
|
||||||
|
-- check requestbin to ensure the file and form parameters are correctly received
|
||||||
|
-- set filename to a local file
|
||||||
|
sess := new_web_session
|
||||||
|
create l_ctx.make
|
||||||
|
l_ctx.add_header ("Content-Type", "multipart/form-data")
|
||||||
|
|
||||||
|
l_ctx.add_file_form_parameter ("first_file", "test.txt", "plain/text")
|
||||||
|
l_ctx.add_file_form_parameter ("image", "logo.jpg", "image/jpeg")
|
||||||
|
l_ctx.add_form_parameter ("First", "Value")
|
||||||
|
l_ctx.add_form_parameter ("Second", "and last value")
|
||||||
|
l_ctx.add_file_form_parameter ("last_file", "test.txt", Void)
|
||||||
|
|
||||||
|
if
|
||||||
|
attached sess.post ("", l_ctx, Void) as res
|
||||||
|
then
|
||||||
|
check_response (res)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
test_post_with_file_using_chunked_transfer_encoding
|
test_post_with_file_using_chunked_transfer_encoding
|
||||||
local
|
local
|
||||||
sess: HTTP_CLIENT_SESSION
|
sess: HTTP_CLIENT_SESSION
|
||||||
h: STRING_8
|
|
||||||
l_ctx: HTTP_CLIENT_REQUEST_CONTEXT
|
l_ctx: HTTP_CLIENT_REQUEST_CONTEXT
|
||||||
do
|
do
|
||||||
if attached global_requestbin_path as requestbin_path then
|
|
||||||
|
|
||||||
-- POST REQUEST WITH A FILE AND FORM DATA
|
-- POST REQUEST WITH A FILE AND FORM DATA
|
||||||
-- check requestbin to ensure the file and form parameters are correctly received
|
-- check requestbin to ensure the file and form parameters are correctly received
|
||||||
-- set filename to a local file
|
-- set filename to a local file
|
||||||
sess := new_session ("http://requestb.in")
|
sess := new_web_session
|
||||||
create l_ctx.make
|
create l_ctx.make
|
||||||
l_ctx.add_header ("Transfer-Encoding", "chunked")
|
l_ctx.add_header ("Transfer-Encoding", "chunked")
|
||||||
l_ctx.set_upload_filename ("logo.jpg")
|
l_ctx.set_upload_filename ("logo.jpg")
|
||||||
create h.make_empty
|
|
||||||
if
|
if
|
||||||
attached sess.post (requestbin_path, l_ctx, Void) as res and then
|
attached sess.post ("", l_ctx, Void) as res
|
||||||
attached res.headers as hds
|
|
||||||
then
|
then
|
||||||
across
|
check_response (res)
|
||||||
hds as c
|
|
||||||
loop
|
|
||||||
h.append (c.item.name + ": " + c.item.value + "%R%N")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
print (h)
|
|
||||||
else
|
|
||||||
assert ("Has requestbin path", False)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
test_get_with_redirection
|
test_get_with_redirection
|
||||||
local
|
local
|
||||||
sess: HTTP_CLIENT_SESSION
|
sess: HTTP_CLIENT_SESSION
|
||||||
h: STRING_8
|
|
||||||
do
|
do
|
||||||
if attached global_requestbin_path as requestbin_path then
|
|
||||||
|
|
||||||
-- GET REQUEST, Forwarding (google's first answer is a forward)
|
-- GET REQUEST, Forwarding (google's first answer is a forward)
|
||||||
-- check headers received (printed in console)
|
-- check headers received (printed in console)
|
||||||
sess := new_session ("http://google.com")
|
sess := new_session ("http://google.com")
|
||||||
create h.make_empty
|
if attached sess.get ("/", Void) as res then
|
||||||
if attached sess.get ("/", Void) as res and then attached res.headers as hds then
|
check_response (res)
|
||||||
assert("was redirected", res.redirections_count > 0)
|
assert("was redirected", res.redirections_count > 0)
|
||||||
across
|
|
||||||
hds as c
|
|
||||||
loop
|
|
||||||
h.append (c.item.name + ": " + c.item.value + "%R%N")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
print (h)
|
|
||||||
else
|
|
||||||
assert ("Has requestbin path", False)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -377,6 +311,7 @@ feature -- Factory
|
|||||||
sess.set_credentials ("test", "test")
|
sess.set_credentials ("test", "test")
|
||||||
create ctx.make_with_credentials_required
|
create ctx.make_with_credentials_required
|
||||||
if attached sess.get ("/password-ok.php", ctx) as res then
|
if attached sess.get ("/password-ok.php", ctx) as res then
|
||||||
|
check_response (res)
|
||||||
if attached {READABLE_STRING_8} res.body as l_body then
|
if attached {READABLE_STRING_8} res.body as l_body then
|
||||||
assert ("Fetch all body, including closing html tag", l_body.has_substring ("</html>"))
|
assert ("Fetch all body, including closing html tag", l_body.has_substring ("</html>"))
|
||||||
else
|
else
|
||||||
@@ -388,16 +323,13 @@ feature -- Factory
|
|||||||
test_get_with_query_parameters
|
test_get_with_query_parameters
|
||||||
local
|
local
|
||||||
sess: HTTP_CLIENT_SESSION
|
sess: HTTP_CLIENT_SESSION
|
||||||
h: STRING_8
|
|
||||||
l_ctx: HTTP_CLIENT_REQUEST_CONTEXT
|
l_ctx: HTTP_CLIENT_REQUEST_CONTEXT
|
||||||
q: STRING
|
q: STRING
|
||||||
do
|
do
|
||||||
if attached global_requestbin_path as requestbin_path then
|
|
||||||
|
|
||||||
-- GET REQUEST WITH A FILE AND FORM DATA
|
-- GET REQUEST WITH A FILE AND FORM DATA
|
||||||
-- check requestbin to ensure the file and form parameters are correctly received
|
-- check requestbin to ensure the file and form parameters are correctly received
|
||||||
-- set filename to a local file
|
-- set filename to a local file
|
||||||
sess := new_session ("http://requestb.in")
|
sess := new_web_session
|
||||||
create l_ctx.make
|
create l_ctx.make
|
||||||
l_ctx.add_query_parameter ("?", "?first&arg")
|
l_ctx.add_query_parameter ("?", "?first&arg")
|
||||||
l_ctx.add_query_parameter ("title", "Eiffel World!")
|
l_ctx.add_query_parameter ("title", "Eiffel World!")
|
||||||
@@ -414,9 +346,22 @@ feature -- Factory
|
|||||||
assert("query", q.same_string ("??=?first%%26arg&title=Eiffel+World!&path=foo/bar&reserved=%%2B=%%26?&unreserved=:!@'()*&unsafe=%%22%%5B%%5D%%7B%%7D&test=!$%%26'()*&a%%26b=a%%26b&lst%%5Ba%%5D%%5Bb%%5D=%%5Babc%%5D%%5B123%%5D&foo(a,b)=bar(1,2)*pi"))
|
assert("query", q.same_string ("??=?first%%26arg&title=Eiffel+World!&path=foo/bar&reserved=%%2B=%%26?&unreserved=:!@'()*&unsafe=%%22%%5B%%5D%%7B%%7D&test=!$%%26'()*&a%%26b=a%%26b&lst%%5Ba%%5D%%5Bb%%5D=%%5Babc%%5D%%5B123%%5D&foo(a,b)=bar(1,2)*pi"))
|
||||||
|
|
||||||
|
|
||||||
|
if
|
||||||
|
attached sess.get ("", l_ctx) as res
|
||||||
|
then
|
||||||
|
check_response (res)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
feature {NONE} -- Implementation
|
||||||
|
|
||||||
|
check_response (res: HTTP_CLIENT_RESPONSE)
|
||||||
|
local
|
||||||
|
h: STRING
|
||||||
|
do
|
||||||
|
assert ("ok", not res.error_occurred)
|
||||||
create h.make_empty
|
create h.make_empty
|
||||||
if
|
if
|
||||||
attached sess.get (requestbin_path, l_ctx) as res and then
|
|
||||||
attached res.headers as hds
|
attached res.headers as hds
|
||||||
then
|
then
|
||||||
across
|
across
|
||||||
@@ -426,13 +371,11 @@ feature -- Factory
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
print (h)
|
print (h)
|
||||||
else
|
if attached res.body as b then
|
||||||
assert ("Has requestbin path", False)
|
print (b)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,126 +1,3 @@
|
|||||||
<?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-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="http_network" uuid="7C7AD84D-B7BD-4709-B4B2-9365B86582AE" library_target="http_network">
|
<redirection xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" uuid="7C7AD84D-B7BD-4709-B4B2-9365B86582AE" message="Obsolete: use http_network.ecf !" location="http_network.ecf">
|
||||||
<target name="http_network">
|
</redirection>
|
||||||
<root all_classes="true"/>
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/.git$</exclude>
|
|
||||||
<exclude>/.svn$</exclude>
|
|
||||||
<exclude>/EIFGENs$</exclude>
|
|
||||||
</file_rule>
|
|
||||||
<option warning="true" void_safety="all">
|
|
||||||
</option>
|
|
||||||
<setting name="concurrency" value="scoop"/>
|
|
||||||
<external_include location="$ECF_CONFIG_PATH/spec/include">
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" min="16.9.9.9124"/>
|
|
||||||
</condition>
|
|
||||||
</external_include>
|
|
||||||
<external_include location="$ECF_CONFIG_PATH/spec/include_until_16_05">
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
</condition>
|
|
||||||
</external_include>
|
|
||||||
<external_include location="$(ISE_LIBRARY)/unstable/library/network/socket/netssl/spec/include">
|
|
||||||
<condition>
|
|
||||||
<platform excluded_value="windows"/>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
<custom name="ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
</external_include>
|
|
||||||
<external_include location="$(ISE_LIBRARY)\unstable\library\network\socket\netssl\spec\include">
|
|
||||||
<condition>
|
|
||||||
<platform value="windows"/>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
<custom name="ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
</external_include>
|
|
||||||
<external_cflag value="-D_WINSOCKAPI_">
|
|
||||||
<condition>
|
|
||||||
<platform value="windows"/>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
<custom name="ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
</external_cflag>
|
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
|
||||||
<library name="net" location="$ISE_LIBRARY\library\net\net-safe.ecf"/>
|
|
||||||
<library name="net_ssl" location="$ISE_LIBRARY\unstable\library\network\socket\netssl\net_ssl-safe.ecf">
|
|
||||||
<condition>
|
|
||||||
<custom name="ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
<condition>
|
|
||||||
<custom name="net_ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
<condition>
|
|
||||||
<custom name="httpd_ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
</library>
|
|
||||||
<cluster name="network" location=".\src\">
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/http_stream_socket_ext.e$</exclude>
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="17.02"/>
|
|
||||||
</condition>
|
|
||||||
</file_rule>
|
|
||||||
<cluster name="disabled_ssl_network" location="$|no_ssl\" recursive="true">
|
|
||||||
<condition>
|
|
||||||
<custom name="ssl_enabled" excluded_value="true"/>
|
|
||||||
<custom name="net_ssl_enabled" excluded_value="true"/>
|
|
||||||
<custom name="httpd_ssl_enabled" excluded_value="true"/>
|
|
||||||
</condition>
|
|
||||||
</cluster>
|
|
||||||
<cluster name="ssl_network" location="$|ssl\" recursive="true">
|
|
||||||
<condition>
|
|
||||||
<custom name="ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
<condition>
|
|
||||||
<custom name="net_ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
<condition>
|
|
||||||
<custom name="httpd_ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/http_stream_secure_socket_ext.e$</exclude>
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
<custom name="ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
<custom name="net_ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
<custom name="httpd_ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
</file_rule>
|
|
||||||
</cluster>
|
|
||||||
</cluster>
|
|
||||||
<cluster name="network_until_16_05" location=".\src\until_16_05\">
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
</condition>
|
|
||||||
<cluster name="ssl_network_until_16_05" location="$|ssl\" recursive="true">
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
<custom name="ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
<custom name="net_ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
<custom name="httpd_ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
</cluster>
|
|
||||||
</cluster>
|
|
||||||
<cluster name="network_until_17_01" location=".\src\until_17_01\">
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" min="16.9.9.9124" max="17.02"/>
|
|
||||||
</condition>
|
|
||||||
</cluster>
|
|
||||||
</target>
|
|
||||||
<target name="http_network_ssl" extends="http_network">
|
|
||||||
<variable name="ssl_enabled" value="true"/>
|
|
||||||
</target>
|
|
||||||
</system>
|
|
||||||
|
|||||||
@@ -1,124 +1,38 @@
|
|||||||
<?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-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="http_network" uuid="7C7AD84D-B7BD-4709-B4B2-9365B86582AE" library_target="http_network">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="http_network" uuid="7C7AD84D-B7BD-4709-B4B2-9365B86582AE" library_target="http_network">
|
||||||
<target name="http_network">
|
<target name="http_network">
|
||||||
<root all_classes="true"/>
|
<root all_classes="true"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="none">
|
<external_include location="$ECF_CONFIG_PATH/spec/include"/>
|
||||||
</option>
|
|
||||||
<setting name="concurrency" value="scoop"/>
|
|
||||||
<external_include location="$ECF_CONFIG_PATH/spec/include">
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" min="16.9.9.9124"/>
|
|
||||||
</condition>
|
|
||||||
</external_include>
|
|
||||||
<external_include location="$ECF_CONFIG_PATH/spec/include_until_16_05">
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
</condition>
|
|
||||||
</external_include>
|
|
||||||
<external_include location="$(ISE_LIBRARY)/unstable/library/network/socket/netssl/spec/include">
|
|
||||||
<condition>
|
|
||||||
<platform excluded_value="windows"/>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
<custom name="ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
</external_include>
|
|
||||||
<external_include location="$(ISE_LIBRARY)\unstable\library\network\socket\netssl\spec\include">
|
|
||||||
<condition>
|
|
||||||
<platform value="windows"/>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
<custom name="ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
</external_include>
|
|
||||||
<external_cflag value="-D_WINSOCKAPI_">
|
|
||||||
<condition>
|
|
||||||
<platform value="windows"/>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
<custom name="ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
</external_cflag>
|
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="net" location="$ISE_LIBRARY\library\net\net.ecf"/>
|
<library name="net" location="$ISE_LIBRARY\library\net\net.ecf"/>
|
||||||
<library name="net_ssl" location="$ISE_LIBRARY\unstable\library\network\socket\netssl\net_ssl.ecf">
|
<library name="net_ssl" location="$ISE_LIBRARY\unstable\library\network\socket\netssl\net_ssl.ecf">
|
||||||
<condition>
|
<condition>
|
||||||
<custom name="ssl_enabled" value="true"/>
|
<custom name="ssl_enabled" value="true"/>
|
||||||
</condition>
|
</condition>
|
||||||
|
</library>
|
||||||
|
<library name="openssl" location="$ISE_LIBRARY\unstable\library\network\openssl\openssl.ecf">
|
||||||
<condition>
|
<condition>
|
||||||
<custom name="net_ssl_enabled" value="true"/>
|
<version type="compiler" min="17.10.0.0"/>
|
||||||
</condition>
|
<custom name="ssl_enabled" value="true"/>
|
||||||
<condition>
|
|
||||||
<custom name="httpd_ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
</condition>
|
||||||
</library>
|
</library>
|
||||||
<cluster name="network" location=".\src\">
|
<cluster name="network" location=".\src\">
|
||||||
<file_rule>
|
|
||||||
<exclude>/http_stream_socket_ext.e$</exclude>
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="17.02"/>
|
|
||||||
</condition>
|
|
||||||
</file_rule>
|
|
||||||
<cluster name="disabled_ssl_network" location="$|no_ssl\" recursive="true">
|
<cluster name="disabled_ssl_network" location="$|no_ssl\" recursive="true">
|
||||||
<condition>
|
<condition>
|
||||||
<custom name="ssl_enabled" excluded_value="true"/>
|
<custom name="ssl_enabled" excluded_value="true"/>
|
||||||
<custom name="net_ssl_enabled" excluded_value="true"/>
|
|
||||||
<custom name="httpd_ssl_enabled" excluded_value="true"/>
|
|
||||||
</condition>
|
</condition>
|
||||||
</cluster>
|
</cluster>
|
||||||
<cluster name="ssl_network" location="$|ssl\" recursive="true">
|
<cluster name="ssl_network" location="$|ssl\" recursive="true">
|
||||||
<condition>
|
<condition>
|
||||||
<custom name="ssl_enabled" value="true"/>
|
<custom name="ssl_enabled" value="true"/>
|
||||||
</condition>
|
</condition>
|
||||||
<condition>
|
|
||||||
<custom name="net_ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
<condition>
|
|
||||||
<custom name="httpd_ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/http_stream_secure_socket_ext.e$</exclude>
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
<custom name="ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
<custom name="net_ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
<custom name="httpd_ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
</file_rule>
|
|
||||||
</cluster>
|
</cluster>
|
||||||
</cluster>
|
</cluster>
|
||||||
<cluster name="network_until_16_05" location=".\src\until_16_05\">
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
</condition>
|
|
||||||
<cluster name="ssl_network_until_16_05" location="$|ssl\" recursive="true">
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
<custom name="ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
<custom name="net_ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" max="16.9.9.9124"/>
|
|
||||||
<custom name="httpd_ssl_enabled" value="true"/>
|
|
||||||
</condition>
|
|
||||||
</cluster>
|
|
||||||
</cluster>
|
|
||||||
<cluster name="network_until_17_01" location=".\src\until_17_01\">
|
|
||||||
<condition>
|
|
||||||
<version type="compiler" min="16.9.9.9124" max="17.02"/>
|
|
||||||
</condition>
|
|
||||||
</cluster>
|
|
||||||
</target>
|
</target>
|
||||||
<target name="http_network_ssl" extends="http_network">
|
<target name="http_network_ssl" extends="http_network">
|
||||||
<variable name="ssl_enabled" value="true"/>
|
<variable name="ssl_enabled" value="true"/>
|
||||||
|
|||||||
@@ -1,52 +0,0 @@
|
|||||||
/*
|
|
||||||
indexing
|
|
||||||
description: "Functions used by the EiffelWeb http networking classes. "
|
|
||||||
copyright: "Copyright (c) 2011-2016, Jocelyn Fiat, Eiffel Software and others"
|
|
||||||
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
|
||||||
source: "[
|
|
||||||
Eiffel Software
|
|
||||||
5949 Hollister Ave., Goleta, CA 93117 USA
|
|
||||||
Telephone 805-685-1006, Fax 805-685-6869
|
|
||||||
Website http://www.eiffel.com
|
|
||||||
Customer support http://support.eiffel.com
|
|
||||||
]"
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _ew_network_h_
|
|
||||||
#define _ew_network_h_
|
|
||||||
|
|
||||||
#include "eif_config.h"
|
|
||||||
|
|
||||||
#ifdef EIF_WINDOWS
|
|
||||||
# ifndef _WINSOCKAPI_
|
|
||||||
# define FD_SETSIZE 256
|
|
||||||
# include <winsock2.h>
|
|
||||||
# include <Ws2tcpip.h>
|
|
||||||
# include <stdio.h>
|
|
||||||
# endif
|
|
||||||
#else /* unix-specific */
|
|
||||||
# include <sys/socket.h>
|
|
||||||
# include <unistd.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* extern declarations ... */
|
|
||||||
#ifdef EIF_WINDOWS
|
|
||||||
extern int setsockopt(int, int, int, char*, int);
|
|
||||||
extern int recv(int, char *, int, int);
|
|
||||||
extern int send(int, char *, int, int);
|
|
||||||
#else
|
|
||||||
extern int setsockopt(int, int, int, const void*, socklen_t);
|
|
||||||
extern ssize_t recv(int, void *, size_t, int);
|
|
||||||
extern ssize_t send(int, const void *, size_t, int);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
@@ -9,8 +9,6 @@ class
|
|||||||
inherit
|
inherit
|
||||||
NETWORK_STREAM_SOCKET
|
NETWORK_STREAM_SOCKET
|
||||||
|
|
||||||
HTTP_STREAM_SOCKET_EXT
|
|
||||||
|
|
||||||
create
|
create
|
||||||
make, make_empty,
|
make, make_empty,
|
||||||
make_client_by_port, make_client_by_address_and_port,
|
make_client_by_port, make_client_by_address_and_port,
|
||||||
|
|||||||
@@ -1,21 +0,0 @@
|
|||||||
note
|
|
||||||
description: "[
|
|
||||||
Extension to HTTPD_STREAM_SOCKET to support backward compatibility.
|
|
||||||
|
|
||||||
TO BE REMOVED IN THE FUTURE, When there is no need to support older compilers.
|
|
||||||
]"
|
|
||||||
|
|
||||||
deferred class
|
|
||||||
HTTP_STREAM_SOCKET_EXT
|
|
||||||
|
|
||||||
note
|
|
||||||
copyright: "2011-2017, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Colin Adams, Eiffel Software and others"
|
|
||||||
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
|
||||||
source: "[
|
|
||||||
Eiffel Software
|
|
||||||
5949 Hollister Ave., Goleta, CA 93117 USA
|
|
||||||
Telephone 805-685-1006, Fax 805-685-6869
|
|
||||||
Website http://www.eiffel.com
|
|
||||||
Customer support http://support.eiffel.com
|
|
||||||
]"
|
|
||||||
end
|
|
||||||
@@ -56,8 +56,15 @@ feature -- Secure connection Helpers
|
|||||||
|
|
||||||
set_secure_protocol_to_ssl_2_or_3
|
set_secure_protocol_to_ssl_2_or_3
|
||||||
-- Set `ssl_protocol' with `Ssl_23'.
|
-- Set `ssl_protocol' with `Ssl_23'.
|
||||||
|
-- Protocol not supported anymore.
|
||||||
|
obsolete
|
||||||
|
"Use set_secure_protocol_to_tls_1_2 [2017-06-23]."
|
||||||
|
local
|
||||||
|
err: DEVELOPER_EXCEPTION
|
||||||
do
|
do
|
||||||
set_secure_protocol ({SSL_PROTOCOL}.Ssl_23)
|
create err
|
||||||
|
err.set_description ("SSL_2 or SSL_3 are not supported anymore, upgrate to TLS set_secure_protocol_to_tls_1_2")
|
||||||
|
err.raise
|
||||||
end
|
end
|
||||||
|
|
||||||
set_secure_protocol_to_tls_1_0
|
set_secure_protocol_to_tls_1_0
|
||||||
@@ -176,7 +183,14 @@ feature -- Output
|
|||||||
end
|
end
|
||||||
|
|
||||||
note
|
note
|
||||||
copyright: "2011-2013, Javier Velilla, Jocelyn Fiat and others"
|
copyright: "2011-2017, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Colin Adams, 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: "[
|
||||||
|
Eiffel Software
|
||||||
|
5949 Hollister Ave., Goleta, CA 93117 USA
|
||||||
|
Telephone 805-685-1006, Fax 805-685-6869
|
||||||
|
Website http://www.eiffel.com
|
||||||
|
Customer support http://support.eiffel.com
|
||||||
|
]"
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,174 +0,0 @@
|
|||||||
note
|
|
||||||
description: "[
|
|
||||||
Until 16.05, the EiffelNet socket interface DOES NOT have
|
|
||||||
- make_server_by_address_and_port
|
|
||||||
- recv_timeout
|
|
||||||
- send_timeout.
|
|
||||||
|
|
||||||
TO BE REMOVED IN THE FUTURE, WHEN 16.05 IS OLD.
|
|
||||||
]"
|
|
||||||
|
|
||||||
deferred class
|
|
||||||
HTTP_STREAM_SOCKET_EXT
|
|
||||||
|
|
||||||
inherit
|
|
||||||
PLATFORM
|
|
||||||
|
|
||||||
feature -- Initialization
|
|
||||||
|
|
||||||
make
|
|
||||||
deferred
|
|
||||||
end
|
|
||||||
|
|
||||||
make_server_by_address_and_port (a_address: INET_ADDRESS; a_port: INTEGER)
|
|
||||||
-- Create server socket on `a_address' and `a_port'.
|
|
||||||
require
|
|
||||||
valid_port: a_port >= 0
|
|
||||||
do
|
|
||||||
make
|
|
||||||
set_address (create {like address_type}.make_from_address_and_port (a_address, a_port))
|
|
||||||
bind
|
|
||||||
end
|
|
||||||
|
|
||||||
feature -- Basic operation
|
|
||||||
|
|
||||||
bind
|
|
||||||
deferred
|
|
||||||
end
|
|
||||||
|
|
||||||
feature -- Access
|
|
||||||
|
|
||||||
set_address (addr: detachable like address_type)
|
|
||||||
deferred
|
|
||||||
end
|
|
||||||
|
|
||||||
address_type: NETWORK_SOCKET_ADDRESS
|
|
||||||
deferred
|
|
||||||
end
|
|
||||||
|
|
||||||
descriptor: INTEGER
|
|
||||||
-- Socket descriptor of current socket
|
|
||||||
deferred
|
|
||||||
end
|
|
||||||
|
|
||||||
socket_buffer: MANAGED_POINTER
|
|
||||||
deferred
|
|
||||||
end
|
|
||||||
|
|
||||||
read_socket_buffer: MANAGED_POINTER
|
|
||||||
do
|
|
||||||
Result := socket_buffer
|
|
||||||
end
|
|
||||||
|
|
||||||
put_socket_buffer: MANAGED_POINTER
|
|
||||||
do
|
|
||||||
Result := socket_buffer
|
|
||||||
end
|
|
||||||
|
|
||||||
feature -- Socket Recv and Send timeout.
|
|
||||||
|
|
||||||
set_recv_timeout (a_timeout_seconds: INTEGER)
|
|
||||||
-- Set the receive timeout in seconds on Current socket.
|
|
||||||
-- if `0' the related operations will never timeout.
|
|
||||||
require
|
|
||||||
positive_timeout: a_timeout_seconds >= 0
|
|
||||||
do
|
|
||||||
c_set_sock_recv_timeout (descriptor, level_sol_socket, a_timeout_seconds)
|
|
||||||
end
|
|
||||||
|
|
||||||
set_send_timeout (a_timeout_seconds: INTEGER)
|
|
||||||
-- Set the send timeout in milliseconds on Current socket.
|
|
||||||
-- if `0' the related operations will never timeout.
|
|
||||||
require
|
|
||||||
positive_timeout: a_timeout_seconds >= 0
|
|
||||||
do
|
|
||||||
c_set_sock_send_timeout (descriptor, level_sol_socket, a_timeout_seconds)
|
|
||||||
end
|
|
||||||
|
|
||||||
feature {NONE} -- Externals
|
|
||||||
|
|
||||||
level_sol_socket: INTEGER
|
|
||||||
-- SOL_SOCKET level of options
|
|
||||||
deferred
|
|
||||||
end
|
|
||||||
|
|
||||||
c_set_sock_recv_timeout (a_fd, a_level: INTEGER; a_timeout_seconds: INTEGER)
|
|
||||||
-- C routine to set socket option `SO_RCVTIMEO' with `a_timeout_seconds' seconds.
|
|
||||||
external
|
|
||||||
"C inline use %"ew_network.h%""
|
|
||||||
alias
|
|
||||||
"[
|
|
||||||
#ifdef SO_RCVTIMEO
|
|
||||||
int flag = SO_RCVTIMEO;
|
|
||||||
#else
|
|
||||||
int flag = 0x1006;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef EIF_WINDOWS
|
|
||||||
int arg = (int) 1000 * $a_timeout_seconds; /* Timeout in milliseconds */
|
|
||||||
setsockopt((int) $a_fd, (int) $a_level, flag, (char *) &arg, sizeof(arg));
|
|
||||||
#else
|
|
||||||
struct timeval tv;
|
|
||||||
tv.tv_sec = $a_timeout_seconds; /* Timeout in seconds */
|
|
||||||
tv.tv_usec = 0;
|
|
||||||
setsockopt((int) $a_fd, (int) $a_level, flag, (struct timeval *)&tv, sizeof(struct timeval));
|
|
||||||
#endif
|
|
||||||
]"
|
|
||||||
end
|
|
||||||
|
|
||||||
c_set_sock_send_timeout (a_fd, a_level: INTEGER; a_timeout_seconds: INTEGER)
|
|
||||||
-- C routine to set socket option `SO_SNDTIMEO' with `a_timeout_seconds' seconds.
|
|
||||||
external
|
|
||||||
"C inline use %"ew_network.h%""
|
|
||||||
alias
|
|
||||||
"[
|
|
||||||
#ifdef SO_RCVTIMEO
|
|
||||||
int flag = SO_SNDTIMEO;
|
|
||||||
#else
|
|
||||||
int flag = 0x1005;
|
|
||||||
#endif
|
|
||||||
#ifdef EIF_WINDOWS
|
|
||||||
int arg = (int) 1000 * $a_timeout_seconds; /* Timeout in milliseconds */
|
|
||||||
setsockopt((int) $a_fd, (int) $a_level, flag, (char *) &arg, sizeof(arg));
|
|
||||||
#else
|
|
||||||
struct timeval tv;
|
|
||||||
tv.tv_sec = $a_timeout_seconds; /* Timeout in seconds */
|
|
||||||
tv.tv_usec = 0;
|
|
||||||
setsockopt((int) $a_fd, (int) $a_level, flag, (struct timeval *)&tv, sizeof(struct timeval));
|
|
||||||
#endif
|
|
||||||
]"
|
|
||||||
end
|
|
||||||
|
|
||||||
feature {NONE} -- No-Exception network operation
|
|
||||||
|
|
||||||
c_recv_noexception (a_fd: INTEGER; buf: POINTER; len: INTEGER; flags: INTEGER): INTEGER
|
|
||||||
-- External routine to read a `len' number of characters
|
|
||||||
-- into buffer `buf' from socket `a_fd' with options `flags'.
|
|
||||||
external
|
|
||||||
"C inline use %"ew_network.h%""
|
|
||||||
alias
|
|
||||||
"[
|
|
||||||
recv((int) $a_fd, (char *) $buf, (int) $len, (int) $flags)
|
|
||||||
]"
|
|
||||||
end
|
|
||||||
|
|
||||||
c_read_stream_noexception (a_fd: INTEGER; len: INTEGER; buf: POINTER): INTEGER
|
|
||||||
-- External routine to read a `len' number of characters
|
|
||||||
-- into buffer `buf' from socket `a_fd'.
|
|
||||||
do
|
|
||||||
Result := c_recv_noexception (a_fd, buf, len, 0)
|
|
||||||
end
|
|
||||||
|
|
||||||
c_put_stream_noexception (a_fd: INTEGER; buf: POINTER; len: INTEGER): INTEGER
|
|
||||||
-- External routine to write stream pointed by `s' of
|
|
||||||
-- length `length' to socket `fd'.
|
|
||||||
-- Note: does not raise exception on error, but return error value as Result.
|
|
||||||
external
|
|
||||||
"C inline use %"ew_network.h%""
|
|
||||||
alias
|
|
||||||
"[
|
|
||||||
send((int) $a_fd, (char *) $buf, (int) $len, (int) 0)
|
|
||||||
]"
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
note
|
|
||||||
description: "[
|
|
||||||
Extension to HTTP_STREAM_SOCKET to support backward compatibility.
|
|
||||||
|
|
||||||
TO BE REMOVED IN THE FUTURE, WHEN 16.05 IS OLD.
|
|
||||||
]"
|
|
||||||
|
|
||||||
deferred class
|
|
||||||
HTTP_STREAM_SECURE_SOCKET_EXT
|
|
||||||
|
|
||||||
feature {NONE} -- SSL bridge
|
|
||||||
|
|
||||||
ssl_write (a_ssl: SSL; a_pointer: POINTER; a_byte_count: INTEGER): INTEGER
|
|
||||||
do
|
|
||||||
-- In delivery until 16.05
|
|
||||||
-- SSL.write does not return any value!
|
|
||||||
-- So let's use `c_ssl_write' from Current class
|
|
||||||
-- instead of:
|
|
||||||
-- a_ssl.write (a_pointer, a_byte_count)
|
|
||||||
|
|
||||||
Result := c_ssl_write (a_ssl.ptr, a_pointer, a_byte_count)
|
|
||||||
if a_ssl.was_error then
|
|
||||||
-- Until 16.05, there is no error check for `SSL.write'
|
|
||||||
-- so nothing can be done here.
|
|
||||||
|
|
||||||
if Result >= 0 then
|
|
||||||
Result := -1
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
c_ssl_write (an_ssl_ptr: POINTER; buffer: POINTER; nb_bytes: INTEGER_32): INTEGER_32
|
|
||||||
-- External call to SSL_write
|
|
||||||
-- (export status {NONE})
|
|
||||||
external
|
|
||||||
"C use %"eif_openssl.h%""
|
|
||||||
alias
|
|
||||||
"SSL_write"
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
note
|
|
||||||
description: "[
|
|
||||||
Extension to HTTPD_STREAM_SOCKET to support backward compatibility.
|
|
||||||
|
|
||||||
TO BE REMOVED IN THE FUTURE, WHEN 17.01 IS OLD.
|
|
||||||
]"
|
|
||||||
|
|
||||||
deferred class
|
|
||||||
HTTP_STREAM_SOCKET_EXT
|
|
||||||
|
|
||||||
feature -- Access
|
|
||||||
|
|
||||||
socket_buffer: MANAGED_POINTER
|
|
||||||
deferred
|
|
||||||
end
|
|
||||||
|
|
||||||
read_socket_buffer: MANAGED_POINTER
|
|
||||||
do
|
|
||||||
Result := socket_buffer
|
|
||||||
end
|
|
||||||
|
|
||||||
put_socket_buffer: MANAGED_POINTER
|
|
||||||
do
|
|
||||||
Result := socket_buffer
|
|
||||||
end
|
|
||||||
|
|
||||||
feature {NONE} -- No-Exception network operation
|
|
||||||
|
|
||||||
end
|
|
||||||
@@ -1,23 +1,3 @@
|
|||||||
<?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-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="conneg" uuid="D15DC4C4-D74F-4E4B-B4B1-2B03A35A284D" library_target="conneg">
|
<redirection xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" uuid="D15DC4C4-D74F-4E4B-B4B1-2B03A35A284D" message="Obsolete: use conneg.ecf !" location="conneg.ecf">
|
||||||
<target name="conneg">
|
</redirection>
|
||||||
<root all_classes="true"/>
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/.git$</exclude>
|
|
||||||
<exclude>/.svn$</exclude>
|
|
||||||
<exclude>/CVS$</exclude>
|
|
||||||
<exclude>/EIFGENs$</exclude>
|
|
||||||
</file_rule>
|
|
||||||
<option warning="true" void_safety="all">
|
|
||||||
</option>
|
|
||||||
<setting name="concurrency" value="scoop"/>
|
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
|
||||||
<library name="http" location="..\http\http-safe.ecf" readonly="false"/>
|
|
||||||
<cluster name="conneg" location=".\src\" recursive="true">
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/implementation</exclude>
|
|
||||||
</file_rule>
|
|
||||||
</cluster>
|
|
||||||
<cluster name="conneg_imp" location=".\src\implementation\" recursive="true" hidden="true"/>
|
|
||||||
</target>
|
|
||||||
</system>
|
|
||||||
|
|||||||
@@ -1,18 +1,17 @@
|
|||||||
<?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-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="conneg" uuid="D15DC4C4-D74F-4E4B-B4B1-2B03A35A284D" library_target="conneg">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="conneg" uuid="D15DC4C4-D74F-4E4B-B4B1-2B03A35A284D" library_target="conneg">
|
||||||
<target name="conneg">
|
<target name="conneg">
|
||||||
<root all_classes="true"/>
|
<root all_classes="true"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="none">
|
<option warning="true">
|
||||||
</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="..\http\http.ecf"/>
|
<library name="http" location="..\http\http.ecf" readonly="false"/>
|
||||||
<cluster name="conneg" location=".\src\" recursive="true">
|
<cluster name="conneg" location=".\src\" recursive="true">
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/implementation</exclude>
|
<exclude>/implementation</exclude>
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
package content_negotiation
|
package content_negotiation
|
||||||
|
|
||||||
project
|
project
|
||||||
conneg = "conneg-safe.ecf"
|
|
||||||
conneg = "conneg.ecf"
|
conneg = "conneg.ecf"
|
||||||
|
|
||||||
note
|
note
|
||||||
title: CONneg Content Negotiation
|
title: CONneg Content Negotiation
|
||||||
description: "[
|
description: "[
|
||||||
CONneg is a library that provides utilities to select the best repesentation of a resource for a client where there are multiple representations available.
|
CONneg is a library that provides utilities to select the best repesentation of a resource for a client where there are multiple representations available.
|
||||||
]"
|
]"
|
||||||
|
|
||||||
collection: EWF
|
collection: EWF
|
||||||
tags: content,accept,conneg,negotiation,EWF,web,request
|
tags: content,accept,conneg,negotiation,EWF,web,request
|
||||||
copyright: 2011-2016, Javier Velilla, Jocelyn Fiat, Eiffel Software and others
|
copyright: 2011-2016, Javier Velilla, Jocelyn Fiat, Eiffel Software and others
|
||||||
|
|||||||
@@ -1,24 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
||||||
<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="test" uuid="7860561C-779A-4E45-A7B9-06A1E0E984E8">
|
|
||||||
<target name="test">
|
|
||||||
<root class="APPLICATION" feature="make"/>
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/.git$</exclude>
|
|
||||||
<exclude>/.svn$</exclude>
|
|
||||||
<exclude>/CVS$</exclude>
|
|
||||||
<exclude>/EIFGENs$</exclude>
|
|
||||||
</file_rule>
|
|
||||||
<option warning="true" void_safety="all">
|
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
|
||||||
</option>
|
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
|
||||||
<library name="conneg" location="..\conneg-safe.ecf" readonly="false">
|
|
||||||
<option>
|
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" supplier_precondition="true"/>
|
|
||||||
</option>
|
|
||||||
</library>
|
|
||||||
<library name="http" location="..\..\http\http-safe.ecf" readonly="false"/>
|
|
||||||
<library name="testing" location="$ISE_LIBRARY\library\testing\testing-safe.ecf"/>
|
|
||||||
<cluster name="test" location=".\" recursive="true"/>
|
|
||||||
</target>
|
|
||||||
</system>
|
|
||||||
@@ -1,18 +1,25 @@
|
|||||||
<?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-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="test" uuid="7860561C-779A-4E45-A7B9-06A1E0E984E8">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="test_conneg" uuid="7860561C-779A-4E45-A7B9-06A1E0E984E8">
|
||||||
<target name="test">
|
<target name="test_conneg">
|
||||||
<root class="APPLICATION" feature="make"/>
|
<root class="APPLICATION" feature="make"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/CVS$</exclude>
|
<exclude>/CVS$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="none">
|
<option warning="true">
|
||||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||||
</option>
|
</option>
|
||||||
|
<capability>
|
||||||
|
<concurrency support="none"/>
|
||||||
|
</capability>
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
||||||
<library name="conneg" location="..\conneg.ecf"/>
|
<library name="conneg" location="..\conneg.ecf" readonly="false">
|
||||||
|
<option>
|
||||||
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" supplier_precondition="true"/>
|
||||||
|
</option>
|
||||||
|
</library>
|
||||||
<library name="http" location="..\..\http\http.ecf" readonly="false"/>
|
<library name="http" location="..\..\http\http.ecf" readonly="false"/>
|
||||||
<library name="testing" location="$ISE_LIBRARY\library\testing\testing.ecf"/>
|
<library name="testing" location="$ISE_LIBRARY\library\testing\testing.ecf"/>
|
||||||
<cluster name="test" location=".\" recursive="true"/>
|
<cluster name="test" location=".\" recursive="true"/>
|
||||||
|
|||||||
@@ -1,21 +1,3 @@
|
|||||||
<?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-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="http" uuid="F8BE3C55-88E8-4103-A936-B1E5CB1D330E" library_target="http">
|
<redirection xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" uuid="F8BE3C55-88E8-4103-A936-B1E5CB1D330E" message="Obsolete: use http.ecf !" location="http.ecf">
|
||||||
<target name="http">
|
</redirection>
|
||||||
<root all_classes="true"/>
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/.git$</exclude>
|
|
||||||
<exclude>/.svn$</exclude>
|
|
||||||
<exclude>/EIFGENs$</exclude>
|
|
||||||
</file_rule>
|
|
||||||
<option warning="true" void_safety="all">
|
|
||||||
</option>
|
|
||||||
<setting name="concurrency" value="scoop"/>
|
|
||||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
|
||||||
<library name="time" location="$ISE_LIBRARY\library\time\time-safe.ecf"/>
|
|
||||||
<cluster name="src" location=".\" recursive="true">
|
|
||||||
<file_rule>
|
|
||||||
<exclude>/tests$</exclude>
|
|
||||||
</file_rule>
|
|
||||||
</cluster>
|
|
||||||
</target>
|
|
||||||
</system>
|
|
||||||
|
|||||||
@@ -1,15 +1,14 @@
|
|||||||
<?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-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="http" uuid="F8BE3C55-88E8-4103-A936-B1E5CB1D330E" library_target="http">
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="http" uuid="F8BE3C55-88E8-4103-A936-B1E5CB1D330E" library_target="http">
|
||||||
<target name="http">
|
<target name="http">
|
||||||
<root all_classes="true"/>
|
<root all_classes="true"/>
|
||||||
<file_rule>
|
<file_rule>
|
||||||
<exclude>/.git$</exclude>
|
<exclude>/\.git$</exclude>
|
||||||
<exclude>/.svn$</exclude>
|
<exclude>/\.svn$</exclude>
|
||||||
<exclude>/EIFGENs$</exclude>
|
<exclude>/EIFGENs$</exclude>
|
||||||
</file_rule>
|
</file_rule>
|
||||||
<option warning="true" void_safety="none">
|
<option warning="true">
|
||||||
</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="time" location="$ISE_LIBRARY\library\time\time.ecf"/>
|
<library name="time" location="$ISE_LIBRARY\library\time\time.ecf"/>
|
||||||
<cluster name="src" location=".\" recursive="true">
|
<cluster name="src" location=".\" recursive="true">
|
||||||
|
|||||||
@@ -1,13 +1,12 @@
|
|||||||
package http
|
package http
|
||||||
|
|
||||||
project
|
project
|
||||||
http = "http-safe.ecf"
|
|
||||||
http = "http.ecf"
|
http = "http.ecf"
|
||||||
|
|
||||||
note
|
note
|
||||||
title: HTTP protocol
|
title: HTTP protocol
|
||||||
description: "[
|
description: "[
|
||||||
Collection of interfaces related to HTTP protocol:
|
Collection of interfaces related to HTTP protocol:
|
||||||
- header
|
- header
|
||||||
- status codes, request methods
|
- status codes, request methods
|
||||||
- content type, media type, mime type.
|
- content type, media type, mime type.
|
||||||
@@ -15,6 +14,7 @@ note
|
|||||||
- date used in web protocol
|
- date used in web protocol
|
||||||
- file extension mime mapping
|
- file extension mime mapping
|
||||||
]"
|
]"
|
||||||
|
|
||||||
collection: EWF
|
collection: EWF
|
||||||
tags: http,web,header,status,method,type,mime,cookie
|
tags: http,web,header,status,method,type,mime,cookie
|
||||||
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)
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user