From b8e6340679fae40bccdb88385658bea938e31353 Mon Sep 17 00:00:00 2001 From: Jan Bliznicenko Date: Thu, 2 Nov 2023 16:01:24 +0100 Subject: [PATCH] Removed direct XMLParser and XMLWriter dependencies --- .../BaselineOfOPXMI/BaselineOfOPXMI.class.st | 36 ++++++++----------- 1 file changed, 14 insertions(+), 22 deletions(-) diff --git a/repository/BaselineOfOPXMI/BaselineOfOPXMI.class.st b/repository/BaselineOfOPXMI/BaselineOfOPXMI.class.st index 40cf249..fb6b889 100644 --- a/repository/BaselineOfOPXMI/BaselineOfOPXMI.class.st +++ b/repository/BaselineOfOPXMI/BaselineOfOPXMI.class.st @@ -9,27 +9,19 @@ Class { { #category : #baselines } BaselineOfOPXMI >> baseline: spec [ + - spec - for: #common - do: [ spec - baseline: 'XMLParser' - with: [ spec - repository: 'github://pharo-contributions/XML-XMLParser:3.5.x/src'; - loads: #(Core) ]. - spec - baseline: 'XMLWriter' - with: [ spec - repository: 'github://pharo-contributions/XML-XMLWriter:2.9.x/src'; - loads: #(Core) ]. - spec - baseline: 'XMLDOMVisitor' - with: [ spec repository: 'github://OpenPonk/xml-dom-visitor/repository' ]. - spec - package: 'OP-XMI' - with: [ spec requires: #('XMLParser' 'XMLWriter' 'XMLDOMVisitor') ]. - spec - package: 'OP-XMI-GTExtensions' - with: [ spec requires: #('OP-XMI') ]. - spec group: 'default' with: #('OP-XMI' 'OP-XMI-GTExtensions') ] + spec for: #common do: [ + spec + baseline: 'XMLDOMVisitor' + with: [ + spec repository: 'github://OpenPonk/xml-dom-visitor/repository' ]. + spec + package: 'OP-XMI' + with: [ + spec requires: #( 'XMLParser' 'XMLWriter' 'XMLDOMVisitor' ) ]. + spec + package: 'OP-XMI-GTExtensions' + with: [ spec requires: #( 'OP-XMI' ) ]. + spec group: 'default' with: #( 'OP-XMI' 'OP-XMI-GTExtensions' ) ] ]