Enhancement #522
Improve default build configuration on windows
Status: | Resolved | Start date: | 08/26/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | J. Wienke | % Done: | 100% | |
Category: | Java | |||
Target version: | 0.5 |
Description
Suggestions for build.xml
by John McCrae
You could perhaps slightly improve the script by adding some conditions for
Windowse.g.,
> <condition property="pbuf.protoc" value="C:/protoc.exe"> > <and> > <not><isset property="pbuf.protoc"/></not> > <os family="windows"/> > </and> > </condition> >
(protoc.exe is not really installed anywhere)And add some error messages with fail
> <fail> > <condition> > <not><available file="${pbuf.protoc}" message="Google Protocol Buffers not found"/></not> > </condition> > </fail> >
Associated revisions
add availability checks for external dependencies
refs #522
History
#1 Updated by J. Wienke over 12 years ago
- Status changed from New to In Progress
#2 Updated by J. Wienke over 12 years ago
- Assignee changed from S. Wrede to J. Wienke
#3 Updated by J. Wienke over 12 years ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
I dont see a reason to add the condition for windows if there is no default location to assume. Nevertheless, the fail messages are added. Is this sufficient to resolve this ticket?
#4 Updated by J. Wienke over 12 years ago
- Status changed from Feedback to Resolved
I will close this now. Feel free to reopen.
#5 Updated by J. Moringen over 12 years ago
- Target version changed from rsb-0.10 to 0.5