-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
5056 lines (4206 loc) · 214 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
This file contains a detailed explanation of the changes between individual
versions of XINS.
$Id: CHANGES,v 1.2453 2010/01/18 20:22:56 agoubard Exp $
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.3 ALPHA 3:
* XINS/Java Server Framework:
- Use Log4J NDC instead of ThreadLocal to store session in xins FF.
- Reversed use of Log4J NDC in xins FF.
- Creation of the API using the constructor of APIImpl.
* Unit tests:
- Fixed empty lines in XSLT tests.
* Generation of server-side Java code:
- Removed static SINGLETON field in APIImpl.
- Functions are now created in the constructor of the API.
* Generated build file:
- Added create-project.
- Call of xins version is done in the make-build.xml.
* Build- and release-process:
- The releases now need to be uploaded via the browser.
- Fixed unresolved classes for Netbeans.
- Added Netbeans 6.7 project files.
* Librairies:
- Removed JSP and DTD files from servlet.jar as not needed.
* Documentation:
- Fixed some broken links in the calling convention primer.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.3 ALPHA 2:
* XINS/Java Common Library:
- Fixed bug #2855100: HTTPServiceCaller creates too many open sockets.
* XINS/Java Server Framework:
- Improved detection of sub-domain for cookies in the xinsff convention.
- Fixed bug #2884559: Adding domain to cookie only when valid in xinsff.
- Removed exact number check for Servlet version, 2.2 or higher is supported.
* Librairies:
- Upgraded Commons Codec from 1.3 to 1.4.
- Upgraded Commons Logging from 1.1 to 1.1.1.
- Upgraded Commons Net from 1.4.1 to 2.0.
* Build- and release-process:
- Used the unless="no-ftp" instead of no-upload for targets without sshexec.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.3 ALPHA 1:
* XINS/Java Common Library:
- Catch possible missing InetAddress class in IPAddressUtils to make API's
compatible with Google App Engine.
- Inner classes of ChainedMap should also be Serializable.
- If no description is set the spec package will return "" instead of null.
* XINS/Java Server Framework:
- Use IPAddressUtils to get the IP address for the APIManager.
* Generation of specdocs:
- Fixed bug #1847893: Regex pattern get padded with superflous characters.
* Generation of the WSDL:
- Fixed incorrect binding for resultcodes.
- Fixed Incorrect indentation for input bindings.
- Fixed Bug #2797857: Incorrect location of the SOAP binding operation.
* Tools:
- Added appengine target to deploy in Google App Engine.
* Build- and release-process:
- Stable version is 2.2 for maven.
- Used ${www.url} property for xins URL for Maven mail.
* Documentation:
- Changed install primer to with "or later" after version numbers.
- Added small precisions to the user guide.
- Point Souceforge.net logo to project page as requested by Sourceforge.
- Added section about output section possible in error codes.
* Other:
- Added XINS indentation preferences for NetBeans in nbproject/project.xml.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.2:
* Build- and release-process:
- Added clean target for the documentation.
- Improved release-process.txt document.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.2 RC 1:
* XINS/Java Common Library:
- Declared _xml in the spec package.
* Generation of server-side Java code:
- _xml should translate to the XML class and not Xml.
* Unit tests:
- Added unit tests for the XML element.
* Build- and release-process:
- Clean done once before the tests when creating a release.
- Improved documentation on creating a release.
- Installer target also uploads the file.
- Fixed upload-homepage target.
* Documentation:
- Added new features in the XINS user guide.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.2 BETA 2:
* XINS/Java Common Library:
- Fixed bug #1861811: Added possibility to specify an authority in a URL
for the TargetDescriptor.
* Generation of client-side Java code:
- Fixed bug #2320665: "result" can not be used as input parameter name with
capis.
* Documentation:
- Fixed incorrect documentation of the callxins task.
- Removed invalid links in web site.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.2 BETA 1:
* XINS/Java Common Library:
- Fixed BeanUtils#populate to also populate from the data elements.
* Unit tests:
- Disabled test with http://xins.sourceforge.net/patterntest.php as the
PHP no longer work.
- Changed W3C URLs to Apache URLs as W3C doesn't accept HTTPClient
requests anymore.
* Build- and release-process:
- Upload of the release is done using sftp instead of the deprecated ftp
system.
- Upload to the web site is done on a new server.
- Added new required property sf.upload.dir for
$HOME/.sourceforge.properties.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.2 ALPHA 2:
* XINS/Java Common Library:
- The fromString should throw the same TypeValueException as fromStringImpl.
- The check of the value is done in fromStringImpl.
- Added possibility for the HTTPServiceCaller to follow redirections.
- Improved documentation of HTTPServiceCaller.
- Added _xml simple type.
- RFE 1863102: Make HTTPServiceCaller use controlTimeOut.
* XINS/Java Server Framework:
- Changed the way CompositeDataSupport is created for Properties in order
to still compile with Java 6.
- Fixed the way the percentage used statistics is computed.
- RFE 2009573: Improve log message 3583.
- RFE 2013460: Generate diagnostic context identifier if an invalid one is
sent.
* XINS/Java Client Framework:
- Added possibility for the XINSServiceCaller to follow redirections.
* Generation of server-side Java code:
- Forward the details of the TypeValueException in the generated
RuntimeProperties.
* Generation of the WSDL:
- Added name attribute to input and output elements for better .Net
interoperability.
- Added <soapbind:operation soapAction="" /> for better .Net
interoperability.
* Generated build file:
- Fixed incorrect comment in help target, tools target -> help-tools target.
* Logdoc:
- Added to logs that are at FATAL level the class name and the message of the
exception thrown if any.
* DTD:
- Added missing em in impl.dtd.
* Other:
- New copyright owner Online Breedband B.V.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.2 ALPHA 1:
* XINS/Java Common Library:
- Applied patch #1820583: Try to use the context ClassLoader to load a
class using Class.forName().
- Added new method in Utils to try to get the context ClassLoader as
Class.getContextClassLoader() is Java SE 5 dependent.
- Implemented RFE #1809379: ElementParser.parse(File).
- Implemented RFE #1812214: Element.getUniqueChildElement().
- HTTPServiceCaller is no longer final to allow alternative implementation
like mocking.
* XINS/Java Server Framework:
- Changed the way the XML requests are cached as it caused errors with
Tomcat 5.5.
- Fixed incorrect unit logged for file watching interval.
- Added APIServletSingleThreaded class that can be used in case you want
the API to handle one request per thread at a time.
- Fixed bug #1836531: Incorrect mapping for the SOAPMapCallingConvention.
- Applied patch #1820583: Try to use the context ClassLoader to load a
class using Class.forName().
- Statistics also return the percentage of memory used.
* XINS/Java Client Framework:
- XINSServiceCaller is no longer final to allow alternative implementation
like mocking.
* Generated build file:
- Added a new attribute in impl.xml to dependency named 'deploy' to indicate
whether the dependency should be deployed or not. By default the
dependency is deployed.
- PMD 3.9 is downloaded per default instead of PMD 3.7.
* Generation of web.xml:
- The APIServletSingleThreaded is used if one of the calling conventions
declared in impl.xml is the Front-end CC.
- Changed '/*' instead of '/' for the URL pattern in the generated web.xml
as Tomcat 5 and 6 will return null for the getPathInfo otherwise.
- Added new element web-app in impl.xml which allow to specify extra
XML elements that you want to add in the generated web.xml file.
* Documentation:
- Added option for NetBeans 6 in case of unrecognized Request and Result
objects.
- Added partial documentation of the features added in XINS 2.2-alpha1.
- Downgraded Docbook XSL to version 1.72.0 in order to have the table of
content in the HTML generated pages.
* DTD:
- Added 2.2 DTD files.
* Liraries:
- Upgraded j2h.jar to version 1.5.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.1 RC 1:
* XINS/Java Common Library:
- Fixed the parameters were not propagated in the test form GUI if a check
box or a combo box was used.
- Changed e-mail from [email protected] to
- Null values are not allowed in PropertyReader. Setting a value to null
should be consider the same as removing a value.
* XINS/Java Server Framework:
- Changed e-mail from [email protected] to
- Fixed possible NullPointerException when errorCode != null as the function
specification should be used only for successful results.
- Fixed bug #1787022: API.getAPISpecification() returns null during bootstrap.
* XINS/Java Client Framework:
- Changed e-mail from [email protected] to
* Generation of the WSDL:
- The default value for a date or a timestamp has a different format in
XML Schema.
* Generation of the unit tests:
- Fixed the environment file was not detected for the test forms.
* Generated build file:
- Fixed: changing XINS version didn't regenerate a new build.xml.
- xins_home property should be passed to the call to build.xml.
* Build- and release-process:
- Updated xins maven version to 2.1.
* Tools:
- Updated the download of Glean to version 1.2.1.
- Updated maven tools to point to xins 2.1.
* Installer:
- Changed the script installer to make it more independant of the project
location and the OS.
* Documentation:
- Moved articles to the articles directory.
- Added new article about the performance of XINS compare to other Web
Services frameworks.
- Added presentation of the features added in release 2.1.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.1 BETA 3:
* XINS/Java Common Library:
- Cleaned code with PMD such as removed unused imports.
- Fixed possible NullPointerException in PropertyReaderUtils.
- Renamed getWARFile() method to getWarFile().
- Cleaned code with CheckStyle such as fixed Javadoc.
- Added @since XINS 2.1 for new methods and new classes.
- Implemented RFE#1787031: New constructor for BootstrapException.
- Added new method PropertyReaderUtils#getWithDefault to get a property
value or the specified default value.
- Added logs to the HTTPFileWatcher in case of I/O error.
* XINS/Java Server Framework:
- Cleaned code with PMD such as removed unused imports.
- Cleaned code with CheckStyle such as fixed Javadoc.
- Added @since XINS 2.1 for new methods and new classes.
* XINS/Java Client Framework:
- Cleaned code with PMD such as removed unused imports.
* Generation of the unit tests:
- Fixed missing import for the Log4J properties.
* Build- and release-process:
- Automatic update of the xins-docs/build.xml with the new version number
when creating the release.
* Documentation:
- Adapted README.html for this 2.1 release.
- Removed the lists.html as the forms on this page did work. This page has
been replaced with the mailman page.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.1 BETA 2:
* XINS/Java Server Framework:
- The input parameters are cloned using another method than calling the
clone method as the Map could be something else than ChainedMap.
- If the CallingConvention#convertRequest throws an InvalidRequestException,
the stack trace of the cause is printed.
* XINS/Java Common Library:
- Added more help text for the command java -jar <api name>.war -help.
- Temporary files created by the internal Servlet container should be deleted
when stopped.
* Generation of server-side Java code:
- Fixed add methods was generated for input data section element instead of
list methods.
* Generation of specdocs:
- Added xins-project description to the main specdocs index.html.
* Generated build file:
- The clean target regenerates a fresh build.xml. This allows to append
commands such as 'xins clean war-myapi'.
- The clean-<api name> also removes the main build.xml and regenerates a
fresh one.
* Tools:
- Added Glean in the download-tools target.
* Build- and release-process:
- Download JMX is needed to rebuild xins binaries.
* Libraries:
- Upgraded Log4J to 1.2.15.
- Upgraded docbook XSLT to 1.73.2.
- Upgraded xins-docs/lib to FOP 0.94.
* Examples:
- Fixed the org.xins.server.config property should be passed to the test
target in the nbbuild.xml file.
* Documentation:
- Added XINS 2.1 features to the user guide.
- Added chapter about integration with other frameworks to the user guide.
* DTD:
- Added possibility to have a description in the xins-project.xml.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.1 BETA 1:
* XINS/Java Server Framework:
- Replaced the name of the cookie set in the front-end CC from SessionId
to SessionID.
- Applied patch of RFE #1634856: Make public methods in FunctionResult throw
IllegalArgException.
- Applied patch of RFE #1634899: Refactor server so transactions are logged
in one place.
- Fixed include of other runtime properties files.
- Fixed loading remote runtime properties on Windows.
* XINS/Java Common Library:
- Improved specification GUI and test form.
- Added getDefault() method to ParameterSpec to get the specified default
value of the parameter or attribute if any.
- Added a regular expression log filter to the Console GUI.
- Added new method getDescription() to Type and to the standard types.
- Improved XML Viewer to print doctype declaration.
- Specification GUI: no indentation if the meta function called is _WSDL.
- Specification GUI: Name of the API displayed as header.
- Specification GUI: Fixed meta function _CheckLinks instead of
_CheckSettings.
- TestFormPanel: Improved layout, default value displayed, background color
if the value is invalid, and much more.
- Added tool to test regular expression with the SpecGUI.
- Do not output namespace for attributes in XML Element if already done.
* Generation of client-side Java code:
- Fixed if the input data element contained another data element the 'add'
method was not generated.
* Generation of the Java types:
- Implemented getDescription() method for all defined types.
* Generation of web.xml:
- Added a comment on where to apply Servlet filters. Servlet filters can be
used for example for compression, authentication, encryption or auditing.
* Generated unit tests:
- Added default Log4J configuration.
* Generated WebStart file:
- Added more comments.
- Added XSLT used to generate the WebStart file to the release.
* Generated build file:
- Fixed error when generating WAR file for an API with categories.
- Fixed incorrect directory specified for the javadoc-test-<api name> target.
- Fixed the logdoc properties should be passed as parameters to <antcall>.
* Tools:
- Added new tool "glean" that generates the Glean report for an API.
More information about Glean at http://jbrugge.com/glean/index.html.
* Tests:
- Added test for the include of other runtime properties files.
- Added test for the _xins-soap-map calling convention.
- Added test for the ACL based on calling convention.
* Librairies:
- Upgraded Commons HttpClient from 3.0.1 to 3.1.
* Examples:
- Fixed the rest API did not compile.
* Documentation:
- New front-end page for the web site.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.1 ALPHA 3:
* XINS/Java Common Library:
- Implemented SF.net RFE #1771569: Implement equals/hashCode on
ServletConfigPropertyReader.
- Added unit test for the FunctionResult class.
- SimpleDateFormat is not thread-safe so any use of it should be
synchronized.
- Changed ChainedMap to be cloneable and serializable.
- The Element object uses ChainedMap for the attribute list instead of
HashMap in order to have the attribute in the same order as the way they
were set.
- Implement equals and hashCode for Element.
- Added support for the namespace prefix in Element.
- Possibility to change the namespace prefix and URI for an Element.
- Added possibility for the FileWatcher to monitor several files at once.
- Added HTTPFileWatcher that monitors several URLs at once.
- Added support in BeanUtils for method using 'is' or 'has' to return a
boolean instead of 'get'.
- Improved parsing of the arguments for java -jar <war file>.
- Added graphical user interface to the Servlet container.
- Changed the default logged pattern by moving NDC to after the log level.
- Added graphical user interface for the specifications.
- Added an XML syntax highlighting Swing component.
- Added test form user interface.
* XINS/Java Server Framework:
- SimpleDateFormat is not thread-safe so any use of it should be
synchronized.
- Added _xins-soap-map calling convention that transforms the SOAP request
as the wsdl-to-api command does. The output parameters and data section are
also mapped to generated a SOAP XML tree.
- Fixed incorrect transformation of output data element attributes in the
SOAP calling convention.
- ChainedMap is used instead of HashMap for the session properties and the
input parameters in order to have them in the same order as the way they
were set.
- Added new runtime property org.xins.server.config.include which offer the
possibility to include runtime properties files.
- Added possibility to specified a URL for the runtime properties file.
- Changed the default logged pattern by moving NDC to after the log level.
- Fixed bug #1778917: Missing struct before member for output data element
in the XML-RPC calling convention.
* XINS/Java Client Framework:
- Overridden hashCode and equals in AbstractCAPICallRequest so that two
similar requests are equals.
* Generated build file:
- Passed the DTD reference to the antcall sub-targets.
- -load-properties should be called before wsdl-to-api and xsd-to-api.
- Fixed property conflict problem when targets of different APIs were called.
- Fail if the runtime-properties or bootstrap-properties are missing while
runtime properties or bootstrap properties are defined.
- If impl.xml is changed the index.html of the specdocs need to be
regenerated.
- Fixed chainedmapper is not supported as direct mapper for the Ant <copy>
task with Ant 1.6.2.
- Fixed missing api name for the client command.
* Generation of specification documentation:
- Fixed error when a shared error code was defined in the examples.
- inclusive-or and exclusive-or param combos should use 'or' to parameters.
- Check that the name defined in the function file is the same as the name
of the function.
- The pattern type could be tested directly in the page using Javascript.
* Generation of the OpenDocument Format:
- inclusive-or and exclusive-or param combos should use 'or' to parameters.
* Generation of the API from the WSDL:
- Fixed invalid variable to create the error code file.
- Fixed invalid call to a non-existing template.
- The name of the element should be used for the element name and not the
type name.
* Tools:
- Added new tool "webstart" that generates the Web Start file (also named
JNLP file) for an API.
* DTD:
- Removed the patterntest element in the xins-projects.dtd as no longer used.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.1 ALPHA 2:
* XINS/Java Common Library:
- Fixed null values were put in the Map when using the
BeanUtils#getParameters method.
- The ServletClassLoader can detect the xins-common.jar using the XINS_HOME
environment variable if needed.
- Added automatic detection of the WAR file in the HTTPServletStarter when
not passed as parameter.
- Added possibility to pass the ClassLoader mode to the HTTPServletStarter.
- Added new Ant task similar to the <xslt /> task with the option to never
overwrite the destination files.
- Added possibility to handle several request at the same time in the
internal Servlet container (multi-threaded).
* XINS/Java Server Framework:
- Fixed the way the xins.properties was loaded when no org.xins.server.config
is set was incorrect.
- Implement RFE #1624142: ACLs for calling conventions.
/!\ The allow methods have a new argument (that can be null).
- Added getName and setName methods in the calling convention classes.
* Generation of the opendoc:
- Added colors to the examples.
- Enlarged the example tables.
- Added colors to the table headers.
- Added the categories after the API description.
- Use Courier New font for element names.
- Added light gray borders to the tables.
- Reduce the use of bold fonts.
- Fixed missing uppercase for input and output section.
- Fixed the description of the function, parameters and error was just the
first sentence.
- Fixed support for <em> element in descriptions.
- Fixed the "4" appearing before closing an element example.
* Generated build file:
- Added javadoc-test-<api name> to get the Javadoc of the unit tests.
- Added possibility to execute the API using 'java -jar <api name>.war'
- Replaced create-project.xslt and tools.xslt with build-create.xml and
build-tools.xml as most of the code doesn't need to be dynamically
generated.
- Added build-apis.xml which contains static content of the old generated
build.xml. This result in the reduction of the size of the generated
build.xml.
- Several bug fixes and optimalization during the refactoring.
- The dependency libraries have been added to the classpath for the run and
test targets.
* Generation of specification documentation:
- Fixed multiple textarea when there are multiple input data elements.
* Documentation:
- Changed <style /> in <xslt /> in the xins-docs/build.xml.
* Build- and release-process:
- Fixed incorrect location of the icon for the Windows installer.
* Other:
- Fixed the package list for XINS and log4j.
- Added the package-list for JUnit.
- Added more debug sources for the nbbuild.xml of the petstore.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.1 ALPHA 1:
* XINS/Java Common Library:
- Implemented RFE #1654262: Implement equals(Object) on PropertyReader
classes. Contribution from Ernst de Haan.
- Added a BufferedReader to read from the socket input stream.
* XINS/Java Server Framework:
- Implemented RFE #1631516: Log entry 3408 should specify value of fallback
default.
- Implemented RFE #1633455: Get all properties from the RuntimeProperties
object.
- Implemented RFE #1636219: Added file name to the logs when the thread
stops. Contribution from Ernst de Haan.
- Implemented RFE #1636219: Invalid XML-RPC request if namespace set.
- Fixed bug #1371632: XML-RPC: 400 returned instead of XML-RPC fault.
* XINS/Java Client Framework:
- If no data section, the _data parameter is not sent.
- If no context is available, the _context parameter is not sent.
* Generation of server-side Java code:
- Removed creation of _errorResult when the function has no input parameters
and no input data section.
- Removed creation of the parameter when the type is _text and is optional
in checkOutputParameters() as not used.
- Changed Request.equals() and Request.hashCode() to use in some cases
equals() instead of ==.
* Generation of client-side Java code:
- Fixed bug #1703483: CAPI javadoc doesn't mention Error Result Code
exceptions.
* Generated build file:
- The build directory is deleted if the version of XINS has changed between
two build.
- Added new target javadoc-apis to generate the Javadoc for all APIs.
- Clean target should also delete the generated WSDL file.
* Generation of specification documentation:
- If no environment is specified for an API, the test form page is still
generated and a text field is proposed to the user to fill the location
of the API. The value is stored in a cookie.
- Fixed incorrect CSS for specdocs.
- Fixed some invalid XHTML.
- Added a favicon.ico in the specdocs directories.
- Fixed Bug #1576547: No warnings when resultcode is not referenced from
api.xml.
- Added meta description for the generated HTML pages.
- Added link to the favicon in the generated HTML pages.
* Tools:
- Upgraded Maven pom to the new stable 2.0 release.
- Added new target emma to execute the unit test coverage of an API using
EMMA (http://emma.sourceforge.net).
* Examples:
- Fixed incorrect runtime property used to define the logdoc locale.
* Documentation:
- Added primer.html to redirect to primers/primer.html.
* Build- and release-process:
- Added NetBeans project files to CVS.
- Added missing src/tools/dojo directory to the release.
- Implemented RFE #1741660: building xins doesn't include Spring packages.
* DTD:
- Added 2.1 DTDs.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.0:
* XINS/Java Common Library:
- Fixed ElementSerializer as xmlenc attribute method does not accept null
values.
* XINS/Java Server Framework:
- Improved error messages in the _xins-xslt cc in case it doesn't find the
XSLT files.
* Generation of client-side Java code:
- If a runtime property has a default value, the method generated should
return the same object if the property was requited.
* Generation of the API from the WSDL:
- Added more comments.
- Generation of other files than api.xml now works with Java 5 and Java 6.
* Generated build file:
- Fixed the help target with the new tools and help-tools target.
- Fixed the resultcodes.xml should be also generated in case all error
codes are shared error codes.
- Improved handling of file regeneration when function specification change.
- Updated the create-impl-<api name> target to point to the 2.0 DTD.
- Updated the create-impl-<api name> target by adding a comment with the
possible elements in impl.xml.
* Generation of specification documentation:
- Selection -- blank -- should not reset the environment field.
* Documentation:
- Added links to the user guide from the features page.
- Changed the documentation page from a bullet list to tables.
* Other:
- Fixed, shared error code should also be used in the examples.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.0 BETA 3:
* XINS/Java Common Library:
- Removed unused code detected by PMD.
- Fixed Javadoc and other small problems detected by Checkstyle.
- Fixed incorrect class cast in BeanUtils.
- Fixed NPE in XinsCapiFactoryBean.
- Several small changes pointed by FindBugs tool.
- Added @since XINS 2.0 for new classes and new public methods.
- Fixed bug in TextUtils.removeCharacter() method.
- Improved performance of the internal Servlet container by checking for
index.html only for HTTP GET.
- Parameters are only serialized when logged for the first time.
- Removed caching of the HttpClient object in the HTTPServiceCaller as it
seems to slow down the system.
- Removed the MultiThreadedConnectionManager as it seems to slow down the
system.
- Downgraded log message 1101 to DEBUG level as it contains the same
information as log 1107 or other logs printed in case of failure.
* Logdoc:
- ExceptionUtils.getRootCause() accepts null argument.
* XINS/Java Server Framework:
- Removed unused code detected by PMD.
- Fixed Javadoc and other small problems detected by Checkstyle.
- Use notifyAll() to wake up the runtime property file watcher.
- If the conditional redirection in XINS FF fails try the standard
redirection mapping.
- Several small changes pointed by FindBugs tool.
- Added @since XINS 2.0 for new classes and new public methods.
- Improve detection of the XINS FF CC.
- The full URL is returned in the _SMD meta function.
- In XINS FF, first check that the identical input parameter does not
exist before doing a mapping of parameters.
- Improved log in case that the XINS Server fails to start.
* XINS/Java Client Framework:
- Removed unused code detected by PMD.
- Several small changes pointed by FindBugs tool.
- Added @since XINS 2.0 for new classes and new public methods.
- Detection of functional error code is done using CAPI.isFunctionalError()
method. This improves the performance of the CAPI.
- Parameters and data section are only serialized when logged for the first
time.
* Generation of logdoc code:
- Do not log the message with the exception at debug level if the exception
is null.
* Generation of client-side Java code:
- Added implementation of CAPI.isFunctionalError().
* Tools:
- Added 2007 as allowed year in the java.header checkstyle file.
- Default directory for installing FindBugs and JMeter is XINS_HOME/.. .
- Updated to download FindBugs 1.2.0.
* Libraries:
- Updated commons-logging.jar to version 1.1.
- Updated commons-net to version 1.4.1.
- Updated jsch.jar to version 0.1.33.
* Build- and release-process:
- If force=true, the cvs diff is not checked.
- Added new profile-perftests target.
- Rollback installer to InnoSetup 5.1.8 as higher versions ask for
administrator right for Windows 2000 install.
* Tests:
- Tested with Tomcat 5.5 (unpack, no unpack), Jetty 5.1, Jetty 6.1,
Glassfish v1 and Glassfish v2 beta2.
* Documentation:
- Updated README.html with XINS 2.0 information.
- Updated the user guide with XINS 2.0 features.
- Updated the front-end framework manual with XINS 2.0 features.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.0 BETA 2:
* Logdoc:
- The following classes have been removed as no longer used:
AbstractLogdocSerializable, LogdocHexConverter, LogdocSerializable,
LogdocStringBuffer, UnsupportedLocaleError, MandatoryArgumentChecker.
* XINS/Java Common Library:
- Removed methods using the LogdocSerializable class.
- Deprecated the org.xins.common.threads.QueueTimeOutException class as not
used.
- Fixed getPathInfo and getPathTranslated in the XINSServletRequest.
- Removed the package org.xins.common.threads as it is not used.
- Fixed possible NullPointerException in the Element.QualifiedName class.
- BeanUtils.convert can also convert to a List or Abstract collection.
- BeanUtils.getParametersAsObject should not convert values to String.
- Improved detected source class and source method when logging an ignored
exception or a programming error.
- Removed unneeded parameters to the call to Utils.logIgnoredException.
- Improved handling of primitive types for converting objects.
- Removed IOReader.readFullyAsBytes as it doesn't work correctly.
- Fixed incorrect possible error message in UppercaseTask.
- Added comment that the container package should not be used as it may
be removed.
- Added support for TargetDescriptor for BeanUtils.getParametersAsObject().
- Added a log when the convertion fails in BeanUtils.
- Removed some TODO statements no longer relevant.
* XINS/Java Server Framework:
- Removed deprecated class FormattedDate.
- Various bug fixes in the JSONCallingConvention.
- Various bug fixes in the JSONRPCCallingConvention.
- Fixed incorrect serviceURL for the _SMD meta function.
- Removed unneeded parameters to the call to Utils.logIgnoredException.
- Conditional redirection will not happen if the function returns an error.
- Removed deprecated method
APIServlet.service(ServletRequest, ServletResponse).
- Null JSON objects should be specified with JSONObject.NULL and not null.
- Added logging when the requested path cannot be found in the WAR file.
- Removed some TODO statements no longer relevant.
* XINS/Java Client Framework:
- Removed methods using the LogdocSerializable class.
- Removed the DataElement class replaced by org.xins.common.xml.Element.
- Removed some TODO statements no longer relevant.
* Generated build file:
- Use <property file="..."/> instead of <loadproperties/> task as
loadproperties fails if the file does not exist.
- Fixed incorrect location of the build.properties file.
* Generation of specification documentation:
- The _autofill parameter of the test form should not be sent.
* Tools:
- Fixed missing variable in api_to_smd.xslt.
- Fixed incorrect calling convention used in api_to_smd.xslt.
- Fixed the location variable was not used in api_to_smd.xslt.
- Avoid double / in the service URL in api_to_smd.xslt.
* Examples:
- Added new Ajax example using the DOJO toolkit.
- Upgraded Sarissa.js to version 0.9.7.8.
- Changed Sarissa.js license to Apache 2.0.
* Tests:
- Splitted the CallingCallingTests class in several classes according to
the calling convention tested.
- Added tests for JSON and JSON-RPC calling conventions.
- Added call to the smd target.
- Added tests for the new meta functions _WSDL, _SMD, _DisableAPI and
_EnableAPI.
- Added tests for the Element class.
- Added more tests for the BeanUtils class.
- Fixed tests for the frontend framework.
- Added tests for HungarianMapper and UppercaseTask.
- Added tests for UniqueProperties.
* Build- and release-process:
- Added new clean-release target.
- Upgraded installer to Inno Setup version 5.1.12.
- Added xmlenc license to the release.
- Added Sarissa license to the release.
- Added myproject.smd to the release.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.0 BETA 1:
* XINS/Java Common Library:
- Fixed missing _list, _set and _hex in the list of the possible pre-defined
types in the spec package.
- Added convertion in BeanUtils from ItemList to a Collection and vice-versa.
- Added convertion in BeanUtils from Java Date to a XINS Date or Timestamp
and vice-versa.
- Added a new method in BeanUtils to get the parameters of the Request (on
the server side) or of the Result (on the client side) as standard Java
objects.
- Added a new method in BeanUtils to be able to provide a mapping of
element names and/or attribute name for the xmlToObject method.
- Removed old deprecated methods of the Servlet container package.
- Fixed incorrect links in the Javadoc.
- Added new public method BeanUtils.convert() for objects convertion.
- Added the possibility to change the local name of an XML element.
- Fixed possible NullPointerException in BeanUtils.xmlToObject().
- Added new method in IOReader to read the bytes of an InputStream.
- Added new package org.xins.common.spring to ease integration with the
Spring framework.
* XINS/Java Server Framework:
- Removed unused variables in API.java.
- Removed some methods and constructors in ResultCode.java.
- Removed unneeded log messages about the calling convention.
- Replaced the templates.callingconvention.source property of the _xins-xslt
CC to templates.<api name>.xins-xslt.source.
- Removed the templates.callingconvention.parameter runtime property for the
xins-xslt CC.
- Added the templates.parameter.prefix for the xins-xslt CC that defines the
prefix of the _template parameter. If not set or empty, the _template
parameter is not allowed.
- Fixed incorrect links in the Javadoc.
- Added JSON as library for the Javadoc.
- The FunctionResult.checkOutputParameters() method is now public in order
to enable external validation.
- If a runtime property is set more than once in the runtime property file
the API will log it as an error and fail to start.
- Fixed _ReloadProperties meta function which was doing nothing when the
watch interval was different of 0.
- Clone the input parameters in the SessionManager to avoid
ConcurentAccessException.
- The public constants defined in APIServlet have been moved to the more
appropriate class.
- Reduced the visility of the constants from public to private, friendly or
protected.
- The statistics are now detailed per default.
- Fixed possible NullPointerException in the xins-xslt cc.
- Added logging of the location of the XSLT when loading and compiling a page.
- Fixed transformation error when shared error code is used.
- Added _SMD meta function for better integration with DOJO toolkit.
- Used the put method to fill in the JSON object instead of append.
- Removed unneeded creation of error code in APIImpl.java.
- Fixed errors with shared error code.
- Generated error code are now public.
- Methods in the SOAP calling convention are protected in order to ease
custom parsing and creation of SOAP messages.
- Renamed templates.parameter.prefix runtime property to
templates.<api name>.xins-xslt.parameter.prefix.
* Generation of the API from the WSDL:
- Added more comments in the code.
- When recursively going into complex types, add a prefix to the element
name.
- Added declaration of the lists in the api.xml.
* Generation of the unit tests:
- Added Javadoc to the tests.
* Generation of the web.xml:
- Added the build java version used to compile the API.
* Generated build file:
- Added json.jar as a dependency in the WAR file.
- Added the build java version used to compile the API.
- Removed unneeded comment printed to the console.
- The NoBannerLogger is now used when executing the build.xml.
- If a category changes, the index.html of the specdocs should also be
regenerated.
- The WSDL should be regenerated when the specifications change.
- Generated files depending on the content of types and error code should
also be regenerated when a shared type or shared error code changes.
* XSLT:
- Moved the class fields before the constructor.
- Changed the default indentation in editable generated Java files to 4
spaces as specified in the Java coding convention.
If you use another indentation, use the 'Reformat code' feature of your
favorite IDE.
- Avoid unnecesasry if condition in checkParameters().
* Tools:
- Added new 'smd' target that generates the SMD (Simple Method Description)
file for an API.
The location of the API can be specified with the smd.endpoint build
property.
- Upgraded maven to 1.5.2.
- Improved use of nbbrowse task in NetBeans to open a local file correctly.
- Added debug fix (apply patch) in the project pop-up menu in NetBeans.
* Build- and release-process:
- Changed the package-maven target to the maven target.
- The maven target now also upload the created jar file to sourceforge and
print the issue to create in Maven.
- Added Javadoc to the Maven modules.
______________________________________________________________________________
CHANGES INTRODUCED IN XINS 2.0 ALPHA 6:
* XINS/Java Common Library:
- Fixed the incorrect cause was set for the CallException (it was the cause
of the cause).
- Clarified the message showed when a CallException is thrown.
- Simplified the output when describing the HTTPCallRequest.
- Simplified description of the call configurations.
- The CallConfig classes are no longer Thread safe.
- Removed unneeded comments.
- Moved createPattern method from TextUtils to PatternUtils. The
HungarianMapperTask won't then fail because of missing oro library.
- Moved the class fields before the constructor.
- Moved the static methods after the constructor.