Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature gradle #1943

Merged
merged 5 commits into from
Oct 18, 2017
Merged

Feature gradle #1943

merged 5 commits into from
Oct 18, 2017

Conversation

zosrothko
Copy link
Member

@zosrothko zosrothko commented Oct 18, 2017

To build Poco on Windows

Download Oracle JDK 1.8
Download & install [WiX:](http://wixtoolset.org/releases/)
Download & install [NuGet:](https://www.nuget.org/downloads)
Update gradle.properties to match your environement
Build Poco & run unittests: `build\gradle\bin\gradle check -Dtest="-all"`
Build Poco documentation: `build\gradle\bin\gradle pocoDoc`
Package Poco Nuget and MSI: `build\gradle\bin\gradle pocoDoc distrib`

The build as well as the pocoDoc and distrib are quite long since the matrix dimensions are

  1. shared/static
  2. win32/win64
  3. release/debug

edson-a-soares and others added 5 commits October 17, 2017 12:31
* Fix ".. has no member named ... compile error" by renaming apache conn_rec
attributes

 - conn_rec attributes remote_ip and remote_addr were replaced by client_ip
 and client_addr once they have been renamed in Apache 2.4
 - a server_rec pointer must be passed to ap_log_error() since apache 2.4,
 therefore, a change was necessary at the ap_log_error log function.
 A null pointer has been passed for avoiding deeper changes at the function.
 - the smart pointer auto_ptr was replaced by unique_ptr once it was made
 deprecated in C++11 standard, it has been replaced by unique_ptr.

* Add the properly #ifdef directives for backward compatibility purposes

 - Adding proper #ifdef preprocessor directives to keeping backward
 compatibility with older apache versions.

* Update ApacheConnector.cpp
Signed-off-by: zosrothko <zosrothko@orange.fr>
Signed-off-by: zosrothko <zosrothko@orange.fr>
Signed-off-by: zosrothko <zosrothko@orange.fr>
Signed-off-by: zosrothko <zosrothko@orange.fr>
@aleks-f aleks-f merged commit 696c8e2 into pocoproject:feature-gradle Oct 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants