Révision 96454bcd
Ajouté par Sylvain Sauvage il y a plus de 11 ans
setversion.rb | ||
---|---|---|
# Write file Version
|
||
IOTA_VERSION = ARGV[0]
|
||
STDOUT.puts("Setting version to #{IOTA_VERSION} ...")
|
||
File.write('Version', IOTA_VERSION + "\n")
|
||
if RUBY_VERSION < '1.9'
|
||
File.open('Version', 'w') do |f|
|
||
f.puts(IOTA_VERSION)
|
||
end
|
||
else
|
||
File.write('Version', IOTA_VERSION + "\n")
|
||
end
|
||
|
||
# Modify all Maven project files
|
||
IOTA_MODS = %w[ alfa-pi libxacml-ds libxacml-epcis discovery-client omicron eta-client ]
|
||
|
||
%w[
|
||
ALfA/ALfA-PI
|
||
ALfA/ALfA
|
||
ALfA/ALfA-RMI
|
||
BETa
|
||
CaPPa/DS-Xi-Client
|
||
CaPPa/EPCIS-Xi-Client
|
||
DELTa
|
||
DSeTa/DSeTa-Client
|
||
DSeTa/DSeTa
|
||
DSeTa/DiscoveryPHI
|
||
DSeTa/LibXACML-DS
|
||
ETa/ETa-Callback/ETa-Callback-Filter
|
||
... | ... | |
ETa/ETa
|
||
ETa/EpcisPHI
|
||
ETa/LibXACML-EPCIS
|
||
ETa/User
|
||
ETa/User-Client
|
||
EpcILoN
|
||
IoTa-DiscoveryWS/IoTa-DiscoveryWS-Client
|
||
IoTa-DiscoveryWS/IoTa-DiscoveryWS
|
||
Mu
|
||
MuPHI
|
||
Nu/Nu
|
||
Nu/Nu-PI
|
||
OMeGa/OMeGa
|
||
OMeGa/OmICron
|
||
PSi
|
||
SigMa/SigMa
|
||
SigMa/SigMa-Client
|
||
SigMa/SigMa-Commons
|
||
SigMa/SigMa-Test
|
||
TAu
|
||
].each do |project|
|
||
project.strip!
|
||
STDOUT.print("Changing version of #{project} ...")
|
||
... | ... | |
(doc/'project/version').each do |version|
|
||
version.content = IOTA_VERSION
|
||
end
|
||
(doc/'project/dependencies/dependency').each do |dep|
|
||
aid = dep.search('artifactId').first
|
||
if IOTA_MODS.member?(aid.text.strip)
|
||
version = aid.parent.search('version').first
|
||
version.content = IOTA_VERSION
|
||
end
|
||
end
|
||
File.open(pomname, 'w') do |file|
|
||
doc.write_to(file, :encoding => 'utf-8', :indent => 4)
|
||
end
|
Formats disponibles : Unified diff
Version 1.9-mock
This is version 1.9-mock. 1.9 because the API still have changes pending
(principally relative to the Discovery Services). “mock” because TLS
configuration is not yet available and the signatures (SigMa) are not fully
implemented.
- code cleaned and refactored
- lots of bugs fixed
- dependencies checked and trimmed
- documentation added
- Identity handling added
- code refactored
- new, better APIs
- Identity handling added
- use EPCglobal and DS events (no proxy types anymore)
- ETa-Callback modules are now available as web applications
- filtering rules: if a part of an event is not allowed, now the whole
event is deleted from the result (before only the rejectd part was)
- new temporary User web service
- new Xi module: XACML Interrogation web service (was two modules: TCP and
servlet)
- ETa and its Callback modules
- ActiveMQ
- SigMa
- certificate/signing key
- new simplified figures (sans IoTa and simplified IoTa)
- new figure for ETa modules
- show 3rd party clients
- data flows specified
- TLS and link security added
- IDs and trusted IDs added
- color adjusted for printing
- GREYC logo added