[Dev] Check-in problems

Frank Cohen fcohen at pushtotest.com
Tue Mar 20 11:07:21 PST 2007


Good point. Have you noticed that CVS has two testscenario.xsd files  
checked-in?

src/com/pushtotest/testmaker/XSTest/xml/testscenario.xsd
src/com/pushtotest/testmaker/XSTest/xml/TestScenario/testscenario.xsd

The former one seems to be an unused duplicate.

What I would propose is that the *.xsd files be kept in

src/com/pushtotest/testmaker/XSTest/xml/xsd

and the build.xml be changed to build the JAXB-generated source to:

src/com/pushtotest/testmaker/XSTest/xml/TestScenario
src/com/pushtotest/testmaker/XSTest/xml/XSTestProps

What do you think?

-Frank



On Mar 19, 2007, at 11:32 PM, William Martinez Pomares wrote:

> That is a very odd problem I also suffer from time to time!
> It seems the XJC checks the XSD and determines it is up to date, and
> thus it doesn't compile it into JAXB classes. Since those are not
> uploaded becasue they are created using the compiler, they then are
> missed.
> What I do is simply modify the XSD (
> pushtotest/testmaker/XSTest/xml/TestScenario/testscenario.xsd in this
> case) to update the date, and the ant will then work!.
>
> William.
>
> -----Original Message-----
> From: dev-bounces at lists.pushtotest.com
> [mailto:dev-bounces at lists.pushtotest.com]On Behalf Of Frank Cohen
> Sent: Tuesday, March 20, 2007 12:07 AM
> To: TestMaker Developers List
> Subject: [Dev] Check-in problems
>
>
> Thanks for the tm5 check-in. Unfortunately, I'm seeing the following
> exceptions when I try to run it:
>
> ========================================================
>
>                        TESTMAKER
>
> Brought to you by PushToTest. Please read license.html
> to understand your rights to build and distribute this
> software. Additional information at www.pushtotest.com
> ========================================================
>
> initJAXB:
> init:
> deps-jar:
> build_jaxb_sources:
> files are up to date
> Compiling file:/Users/frankcohen/dev/cvs/tm5b/tm5/TestMaker/src/com/
> pushtotest/testmaker/XSTest/xml/TestScenario/testscenario.xsd
> Writing output to /Users/frankcohen/dev/cvs/tm5b/tm5/TestMaker/src
> Warning: com/images/welcome/pushtotest.png modified in the future.
> Compiling 170 source files to /Users/frankcohen/dev/cvs/tm5b/tm5/
> TestMaker/build/classes
> /Users/frankcohen/dev/cvs/tm5b/tm5/TestMaker/src/com/pushtotest/
> testmaker/XSTest/gui/Preferences.java:15: package
> com.pushtotest.testmaker.XSTest.xml.XSTestType does not exist
> import com.pushtotest.testmaker.XSTest.xml.XSTestType.*;
> /Users/frankcohen/dev/cvs/tm5b/tm5/TestMaker/src/com/pushtotest/
> testmaker/XSTest/gui/Preferences.java:16: package
> com.pushtotest.testmaker.XSTest.xml.XSTestType.UseCasesType does not
> exist
> import
> com.pushtotest.testmaker.XSTest.xml.XSTestType.UseCasesType.UsecaseTyp 
> e;
> /Users/frankcohen/dev/cvs/tm5b/tm5/TestMaker/src/com/pushtotest/
> testmaker/XSTest/gui/Preferences.java:17: package
> com.pushtotest.testmaker.XSTest.xml.XSTestType.TargetsType does not
> exist
> import
> com.pushtotest.testmaker.XSTest.xml.XSTestType.TargetsType.TargetType;
> /Users/frankcohen/dev/cvs/tm5b/tm5/TestMaker/src/com/pushtotest/
> testmaker/XSTest/gui/Preferences.java:18: package
> com.pushtotest.testmaker.XSTest.xml.XSTestType.RunSetType does not  
> exist
> import
> com.pushtotest.testmaker.XSTest.xml.XSTestType.RunSetType.TimingType;
> /Users/frankcohen/dev/cvs/tm5b/tm5/TestMaker/src/com/pushtotest/
> testmaker/XSTest/gui/Preferences.java:19: package
> com.pushtotest.testmaker.XSTest.xml.XSTestType.ChartSetType does not
> exist
> import com.pushtotest.testmaker.XSTest.xml.XSTestType.ChartSetType.*;
> /Users/frankcohen/dev/cvs/tm5b/tm5/TestMaker/src/com/pushtotest/
> testmaker/XSTest/gui/Preferences.java:20: cannot find symbol
> symbol  : class Summtype
> location: package com.pushtotest.testmaker.XSTest.xml
> import com.pushtotest.testmaker.XSTest.xml.Summtype;
> /Users/frankcohen/dev/cvs/tm5b/tm5/TestMaker/src/com/pushtotest/
> testmaker/XSTest/gui/Preferences.java:40: cannot find symbol
> symbol  : class ObjectFactory
> location: class com.pushtotest.testmaker.XSTest.gui.Preferences
>      private ObjectFactory m_OF;
> /Users/frankcohen/dev/cvs/tm5b/tm5/TestMaker/src/com/pushtotest/
> testmaker/XSTest/gui/Preferences.java:245: cannot find symbol
> symbol  : class Dicttype
> location: class com.pushtotest.testmaker.XSTest.gui.Preferences
>      private Dicttype JList2Dicttype(javax.swing.JList jlTheList){
> /Users/frankcohen/dev/cvs/tm5b/tm5/TestMaker/src/com/pushtotest/
> testmaker/XSTest/gui/Preferences.java:267: cannot find symbol
> symbol  : class Dicttype
> location: class com.pushtotest.testmaker.XSTest.gui.Preferences
>      private void Dicttype2JList(javax.swing.JList jlTheList,
> Dicttype dt){
> /Users/frankcohen/dev/cvs/tm5b/tm5/TestMaker/src/com/pushtotest/
> testmaker/XSTest/gui/Preferences.java:284: cannot find symbol
> symbol  : class Itemlist
> location: class com.pushtotest.testmaker.XSTest.gui.Preferences
>
> ... and lots more of these ...
>
>
>
> --
> Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426
> TestMaker: The open-source SOA test automation tool
>
>
>
> _______________________________________________
> Dev mailing list
> Dev at lists.pushtotest.com
> http://lists.pushtotest.com/mailman/listinfo/dev
> _______________________________________________
> Dev mailing list
> Dev at lists.pushtotest.com
> http://lists.pushtotest.com/mailman/listinfo/dev
>



--
Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426
TestMaker: The open-source SOA test automation tool





More information about the Dev mailing list