Demo does not compile if regional setting is french

Hi there,
Did you know that some demos (TimeOffRequest demo at least) does not compile if my regional settings are in french (French Canada)
I'm running BPEL PM 10.1.2.0.2
on windows xp pro
just in case it can help someone
i found this out when changing my settings to post the logs in english instead of french, and the compile worked :)

I switched my regional settings to French (Canada) and here is what i get from the developper prompt running obant on the "TimeOffRequestDemo" :
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\OraBPELPM_1\integration\orabpel\samples>cd demos
C:\OraBPELPM_1\integration\orabpel\samples\demos>cd TimeOffRequestDemo
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo>obant
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo>SETLOCAL
Buildfile: build.xml
HRService:
main:
[bpelc] file:/C:/OraBPELPM_1/integration/orabpel/samples/utils/HRService/HRService.wsdl
[bpelc] file:/C:/OraBPELPM_1/integration/orabpel/samples/utils/HRService/HRService.wsdl
[bpelc] validation de "C:\OraBPELPM_1\integration\orabpel\samples\utils\HRService\HRService.bpel
[bpelc] file:/C:/DOCUME~1/Pascal/LOCALS~1/Temp/$stage_14631bpel_HRService_1.0.jar_1154976955328/
HRService.wsdl
[bpelc] file:/C:/DOCUME~1/Pascal/LOCALS~1/Temp/$stage_14631bpel_HRService_1.0.jar_1154976955328/
HRService.wsdl
[bpelc] BPEL suitcase deployed to: C:\OraBPELPM_1\integration\orabpel\domains\default\deploy
TimeOffRequestFlow:
copyMailTemplate:
TimeOffRequestFlow:
[bpelc] Processus BPEL "C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\Time
OffRequestFlow\bpel.xml" Ó jour, non-prise en compte...
all:
TimeOffRequestFlowUI:
[echo] Deploying TimeOffRequestFlowUI from C:\OraBPELPM_1\integration\orabpel\samples\demos\Tim
eOffRequestDemo/TimeOffRequestFlowUI:
[echo]
schemac:
[echo] Compiling in C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo/TimeOff
RequestFlow/TimeOffRequestFlow.wsdl in C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffReque
stDemo/TimeOffRequestFlowUI/WEB-INF/classes from
[echo]
[schemac] schemac> parsing schema file 'C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRe
questDemo/TimeOffRequestFlow/TimeOffRequestFlow.wsdl' ...
[schemac] file:/C:/OraBPELPM_1/integration/orabpel/samples/demos/TimeOffRequestDemo/TimeOffRequest
Flow/TimeOffRequestFlow.wsdl
[schemac] file:/C:/OraBPELPM_1/integration/orabpel/samples/demos/TimeOffRequestDemo/TimeOffRequest
Flow/TimeOffRequestFlow.wsdl
[schemac] schemac> Loaded schemas from wsdl located at C:\OraBPELPM_1\integration\orabpel\samples\
demos\TimeOffRequestDemo/TimeOffRequestFlow/TimeOffRequestFlow.wsdl
[schemac] schemac> generating XML business document ...
[schemac] schemac> compiling XML business documents ...
BUILD FAILED
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\build.xml:17: The following erro
r occurred while executing this line:
C:\OraBPELPM_1\integration\orabpel\samples\utils\build_common.xml:53: The following error occurred w
hile executing this line:
C:\OraBPELPM_1\integration\orabpel\samples\utils\build_common.xml:79: Echec de la compilation Java.
Echec de la compilation des fichiers "C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffReques
tDemo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\ApprovalInfoType.java, C:\OraBPELPM_1
\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\Time
OffRequest\ApprovalInfoTypeFactory.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffReq
uestDemo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\EmployeeType.java, C:\OraBPELPM_1\
integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeO
ffRequest\EmployeeTypeFactory.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestD
emo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\IApprovalInfoType.java, C:\OraBPELPM_1\
integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeO
ffRequest\IEmployeeType.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\sc
hemac_1154976955531\src\com\otn\samples\TimeOffRequest\ISubmitterInfoType.java, C:\OraBPELPM_1\integ
ration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeOffReq
uest\ITimeOffRequestType.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\s
chemac_1154976955531\src\com\otn\samples\TimeOffRequest\SubmitterInfoType.java, C:\OraBPELPM_1\integ
ration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeOffReq
uest\SubmitterInfoTypeFactory.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestD
emo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\TimeOffRequestType.java, C:\OraBPELPM_1
\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\Time
OffRequest\TimeOffRequestTypeFactory.java".
Exception signalÚe : C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_115
4976955531\src\com\otn\samples\TimeOffRequest\ApprovalInfoType.java:52: ')' expected.
throw new java.util.NoSuchElementException("Le noeud "{http://samples.otn.com/TimeOffRequest
}approved" n'existe pas dans XML, vÚrifiez le contenu XML de l'objet de faþade. Pour accÚder au cont
enu XML, appliquez la mÚthode toString() Ó l'objet de faþade.");
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\ApprovalInfoType.java:52: Missing term.
throw new java.util.NoSuchElementException("Le noeud "{http://samples.otn.com/TimeOffRequest
}approved" n'existe pas dans XML, vÚrifiez le contenu XML de l'objet de faþade. Pour accÚder au cont
enu XML, appliquez la mÚthode toString() Ó l'objet de faþade.");
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\ApprovalInfoType.java:52: ';' expected.
throw new java.util.NoSuchElementException("Le noeud "{http://samples.otn.com/TimeOffRequest
}approved" n'existe pas dans XML, vÚrifiez le contenu XML de l'objet de faþade. Pour accÚder au cont
enu XML, appliquez la mÚthode toString() Ó l'objet de faþade.");
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\ApprovalInfoType.java:53: Invalid expression statement.
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\ApprovalInfoType.java:53: '}' expected.
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\ApprovalInfoType.java:61: Statement expected.
public java.util.Date getApprovedDateTime()
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\ApprovalInfoType.java:116: ')' expected.
throw new java.util.NoSuchElementException("Le noeud "{http://samples.otn.com/TimeOffRequest
}approved" n'existe pas dans XML, vÚrifiez le contenu XML de l'objet de faþade. Pour accÚder au cont
enu XML, appliquez la mÚthode toString() Ó l'objet de faþade.");
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\ApprovalInfoType.java:116: Missing term.
throw new java.util.NoSuchElementException("Le noeud "{http://samples.otn.com/TimeOffRequest
}approved" n'existe pas dans XML, vÚrifiez le contenu XML de l'objet de faþade. Pour accÚder au cont
enu XML, appliquez la mÚthode toString() Ó l'objet de faþade.");
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\ApprovalInfoType.java:116: ';' expected.
throw new java.util.NoSuchElementException("Le noeud "{http://samples.otn.com/TimeOffRequest
}approved" n'existe pas dans XML, vÚrifiez le contenu XML de l'objet de faþade. Pour accÚder au cont
enu XML, appliquez la mÚthode toString() Ó l'objet de faþade.");
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\ApprovalInfoType.java:117: Invalid expression statement.
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\ApprovalInfoType.java:117: '}' expected.
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\ApprovalInfoType.java:125: Statement expected.
public void setApproved(boolean approved)
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\TimeOffRequestType.java:68: ')' expected.
throw new java.util.NoSuchElementException("Le noeud "{http://samples.otn.com/TimeOffRequest
}duration" n'existe pas dans XML, vÚrifiez le contenu XML de l'objet de faþade. Pour accÚder au cont
enu XML, appliquez la mÚthode toString() Ó l'objet de faþade.");
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\TimeOffRequestType.java:68: Missing term.
throw new java.util.NoSuchElementException("Le noeud "{http://samples.otn.com/TimeOffRequest
}duration" n'existe pas dans XML, vÚrifiez le contenu XML de l'objet de faþade. Pour accÚder au cont
enu XML, appliquez la mÚthode toString() Ó l'objet de faþade.");
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\TimeOffRequestType.java:68: ';' expected.
throw new java.util.NoSuchElementException("Le noeud "{http://samples.otn.com/TimeOffRequest
}duration" n'existe pas dans XML, vÚrifiez le contenu XML de l'objet de faþade. Pour accÚder au cont
enu XML, appliquez la mÚthode toString() Ó l'objet de faþade.");
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\TimeOffRequestType.java:69: Invalid expression statement.
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\TimeOffRequestType.java:69: '}' expected.
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\TimeOffRequestType.java:77: Statement expected.
public java.lang.String getId()
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\ApprovalInfoTypeFactory.java:23: class com.otn.samples.TimeOffRequest.Appro
valInfoType is an abstract class. It can't be instantiated.
com.otn.samples.TimeOffRequest.ApprovalInfoType obj = new com.otn.samples.TimeOffRequest.App
rovalInfoType( );
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\ApprovalInfoTypeFactory.java:37: class com.otn.samples.TimeOffRequest.Appro
valInfoType is an abstract class. It can't be instantiated.
com.otn.samples.TimeOffRequest.ApprovalInfoType obj = new com.otn.samples.TimeOffRequest.App
rovalInfoType( );
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\ApprovalInfoTypeFactory.java:64: class com.otn.samples.TimeOffRequest.Appro
valInfoType is an abstract class. It can't be instantiated.
com.otn.samples.TimeOffRequest.ApprovalInfoType obj = new com.otn.samples.TimeOffRequest.App
rovalInfoType( );
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\ApprovalInfoTypeFactory.java:100: class com.otn.samples.TimeOffRequest.Appr
ovalInfoType is an abstract class. It can't be instantiated.
com.otn.samples.TimeOffRequest.ApprovalInfoType obj = new com.otn.samples.TimeOffRequest.App
rovalInfoType( );
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\TimeOffRequestTypeFactory.java:23: class com.otn.samples.TimeOffRequest.Tim
eOffRequestType is an abstract class. It can't be instantiated.
com.otn.samples.TimeOffRequest.TimeOffRequestType obj = new com.otn.samples.TimeOffRequest.T
imeOffRequestType( );
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\TimeOffRequestTypeFactory.java:37: class com.otn.samples.TimeOffRequest.Tim
eOffRequestType is an abstract class. It can't be instantiated.
com.otn.samples.TimeOffRequest.TimeOffRequestType obj = new com.otn.samples.TimeOffRequest.T
imeOffRequestType( );
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\TimeOffRequestTypeFactory.java:64: class com.otn.samples.TimeOffRequest.Tim
eOffRequestType is an abstract class. It can't be instantiated.
com.otn.samples.TimeOffRequest.TimeOffRequestType obj = new com.otn.samples.TimeOffRequest.T
imeOffRequestType( );
^
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
n\samples\TimeOffRequest\TimeOffRequestTypeFactory.java:100: class com.otn.samples.TimeOffRequest.Ti
meOffRequestType is an abstract class. It can't be instantiated.
com.otn.samples.TimeOffRequest.TimeOffRequestType obj = new com.otn.samples.TimeOffRequest.T
imeOffRequestType( );
^
26 errors
VÚrifiez que le fichier C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_
1154976955531\src\com\otn\samples\TimeOffRequest\ApprovalInfoType.java, C:\OraBPELPM_1\integration\o
rabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\App
rovalInfoTypeFactory.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schem
ac_1154976955531\src\com\otn\samples\TimeOffRequest\EmployeeType.java, C:\OraBPELPM_1\integration\or
abpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\Empl
oyeeTypeFactory.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_11
54976955531\src\com\otn\samples\TimeOffRequest\IApprovalInfoType.java, C:\OraBPELPM_1\integration\or
abpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\IEmp
loyeeType.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_11549769
55531\src\com\otn\samples\TimeOffRequest\ISubmitterInfoType.java, C:\OraBPELPM_1\integration\orabpel
\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\ITimeOffR
equestType.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976
955531\src\com\otn\samples\TimeOffRequest\SubmitterInfoType.java, C:\OraBPELPM_1\integration\orabpel
\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\Submitter
InfoTypeFactory.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_11
54976955531\src\com\otn\samples\TimeOffRequest\TimeOffRequestType.java, C:\OraBPELPM_1\integration\o
rabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\Tim
eOffRequestTypeFactory.java est un fichier Java valide ou que toutes les bibliothÞques obligatoires
figurent dans la variable d'environnement CLASSPATH.
variable d'environnement CLASSPATH: "C:\OraBPELPM_1\jdk\jre\lib\rt.jar;C:\OraBPELPM_1\integration\or
abpel\system\classes;C:\OraBPELPM_1\jdk\lib\tools.jar;C:\OraBPELPM_1\integration\orabpel\lib\orabpel
-common.jar;C:\OraBPELPM_1\integration\orabpel\lib\orabpel-thirdparty.jar;C:\OraBPELPM_1\integration
\orabpel\lib\orabpel.jar;C:\OraBPELPM_1\integration\orabpel\lib\orabpel-ant.jar;C:\OraBPELPM_1\integ
ration\orabpel\lib\ant-launcher_1.6.2.jar;C:\OraBPELPM_1\integration\orabpel\lib\ant_1.6.2.jar;C:\Or
aBPELPM_1\integration\orabpel\lib\oracle_http_client.jar;C:\OraBPELPM_1\integration\orabpel\lib\xmlp
arserv2.jar;C:\OraBPELPM_1\integration\orabpel\lib\olite40.jar;C:\OraBPELPM_1\integration\orabpel\li
b\aqapi.jar;C:\OraBPELPM_1\integration\orabpel\lib\orawsdl.jar;C:\OraBPELPM_1\integration\orabpel\li
b\bpm-infra.jar;C:\OraBPELPM_1\integration\orabpel\system\services\lib\bpm-services.jar;C:\OraBPELPM
_1\integration\orabpel\lib\bipres.jar;C:\OraBPELPM_1\integration\orabpel\lib\bicmn.jar;C:\OraBPELPM_
1\integration\orabpel\lib\uix2.jar;C:\OraBPELPM_1\integration\orabpel\lib\share.jar;C:\OraBPELPM_1\i
ntegration\orabpel\lib\regexp.jar;C:\OraBPELPM_1\integration\orabpel\lib\j2ee_1.3.01.jar;";C:\OraBPE
LPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo
Total time: 4 seconds
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo>ENDLOCAL
C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo>:

Similar Messages

  • TableSorter Demo does not compile

    I am getting a method compareTo(oracle.jbo.domain.Date) does not exist in the JClientTableSorter src file. I am using JDev version 3.0.3.3 Build 1205

    Frank, I finally got it to compile. I originally had all available libraries in JDeveloper selected under my project while developing. When I removed the majority of them and modeled my library selection after the sample table sorter project I got the JClientTableSorter to compile.

  • My source does not compile in 1.5 because of generics in libraries

    Hi,
    I have a problem with my source codes written for 1.3 and 1.4 java. I have been implementing Iterator, Collection, List and extending ArrayList in many ocassions. All works as expected in 1.4 but if I try to compile it with 1.5 it does not compile. I do receive many errors which generally speaking are showing that compiler does think that X subclass is not the same as a subclass of X<?> generic which simply makes all my code to not compile.
    Does anybody had similar problems with their code? Does anybody knows how to rewrite problematic code so that it will compile under BOTH 1.4 and 1.5 without -source 1.4 option?
    Some examples, stripped to problematic parts:
    public class CSectionList extends ArrayList
    public final boolean add(Object element)
                 int p = Collections.binarySearch(this,element);
    /** Here comes error:
    cannot find symbol
    symbol  : method binarySearch(sztejkat.utils.CSectionList,java.lang.Object)
    location: class java.util.Collections
                    int p = Collections.binarySearch(this,element);
              if (p<0)
    public class CMemoryViewTable extends JTable
    /** Here comes error:
    name clash: setDefaultRenderer(java.lang.Class,javax.swing.table.TableCellRenderer) in sztejkat.hdl.debugger.ui.CMemoryViewTable and setDefaultRenderer(java.lang.Class<?>,javax.swing.table.TableCellRenderer) in javax.swing.JTable have the same erasure, yet neither overrides the other
    public class CMemoryViewTable extends JTable
        public void setDefaultRenderer(Class columnClass,
                                             TableCellRenderer renderer)
              if (renderer!=null)
                   super.setDefaultRenderer(columnClass,new CCursorRenderer(renderer));
              }else
               super.setDefaultRenderer(columnClass,null);
    }In first example it seems to not catch that my CSectionList is a List<>, while in second it does not treat Class and Class<> equally what makes compiler to think that I don't override setDefaultRenderer method what I actually wanted to do (and did in 1.4).
    Please help...
    regards,
    Tomasz Sztejka
    P.S.
    Where the source compatibility have gone between 1.4 and 1.5? If it will look like this I strongly vote to NOT touch java language specification - it was very nice, simple and clear language. With autoboxing and generics it starts to do a lot of things behind my back what I don't like - this is why I moved from C++ to Java - hate what C++ did with overloaded operators. But maybe I'm just to stupid.

    Hi,
    I'm still not getting a good grip on generics, and still think they are not necessary.True, but when you have assembler you might not need C or Java. With assembler, you can write the most efficient programmes, but fixing a bug is not easy. With the higher level of C and Java, fewer trivial errors are made. The introduction of generics is another step towards compile-time bug prevention.
    Will your request block me from having a set of different classes,
    derived from different superclasses, all
    implementing Comparable in the way, that they use
    instanceof to check for proper relation (ie. I would
    like to sorting to sort all classes A by some value
    and all classes B to land in front of list)?Regarding raw classes, my request will change the erased interface of Comparable from
    int compareTo(Object o);to
    int compareTo(Comparable o);This would mean that all non-generic implementions of Comparable would have to be modified. I should have requested this enhancement ten years ago, but back then I did not know about Java at all :(
    Where largest common superclass is Object (ie Asuper
    is not instanceof Bsuper and vice-versa).
    Will soring list of such objects (both A and B) will
    be legal after your RFE ?Both A and B implement Comparable, so that should not be a problem.

  • Captivate Demo Does Not Appear

    I'm using TCS 3.5, have a machine with 8 GB RAM, large hard drive, fast processor.  I am using Captivate to record in Demonstration mode at 1024 x 768.  I am outputting to swf.
    I have followed the RoboHelp instructions to the letter, but still get this problem: the Captivate demo does not show in my CHM, except when you click the View Result button after compiling. It also shows up in the topic preview ("View Selected Item").
    It does not show up when you double click the CHM file in a folder.  What shows is an outline of where the demo should be, with a red X in a little box at the upper left corner.
    It does show up in WebHelp.  The code in the CHM looks okay to me:
    <body>
    <p><object id="object1" data="captivate_demo.swf" type="application/x-shockwave-flash"
                 style="border: none;" width="1445" height="950">
    <param name="movie" value="captivate_demo.swf">
    <param name="quality" value="high">
    </object></p>
    </body>
    I have the latest Flash update (as of 10 minutes ago) running.
    Ideas?

    Jack DeLand wrote:
    Any workarounds at all?
    You mean besides stating that folks only use the CHM on 32 bit systems or offering instructions on how to launch the 32 bit help viewer?
    I do suppose you could use the Shortcut control to open an instance of Internet Explorer with the Captivate page. But that would require ensuring the Captivate SWF and associated files (HTML, JS) were shipped and installed to the same folder as the CHM file. And depending on how your CHM was launched, you might need to script the path to the file because of the CHM pathing bug you see when a CHM is launched by an application.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Hello I am on a macbook pro (retina IOS 9) i have installed xcodes and command line tools but codeblocks does not compile, terminal gives this message /Users/MacPc/Desktop/Untitled1: Permission denied      any one has a solution

    Hello I am on a macbook pro (retina IOS 9) i have installed xcodes and command line tools but codeblocks does not compile, terminal gives this message /Users/MacPc/Desktop/Untitled1: Permission denied      any one has a solution?? please...

    Back up all data before proceeding.
    This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Triple-click anywhere in the following line on this page to select it:
    sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
              Utilities ▹ Terminal
    from the menu bar. A Terminal window will open. In that window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
               ▹ Restart
    from the menu bar.

  • Class generated by genInterface ant task does not compile

    I am trying to build a web service from existing wsdl using genInterface and topDownAssemble ant tasks.
    The wsdl contains following type definition. Java class generated from this type (see below) does not compile. The problem is that there are two class members named
    'value'. Is this an issue with Web Services Assembly tool or there is some way to get
    around it?
    <s:simpleType name="quantityType">
    <s:restriction base="s:string">
    <s:enumeration value="summation"/>
    <s:enumeration value="demand"/>
    <s:enumeration value="value"/>
    <s:enumeration value="consumption"/>
    </s:restriction>
    </s:simpleType>
    // Version = Oracle WebServices (10.1.3.3.0, build 070610.1800.23513)
    public class QuantityType implements java.io.Serializable {
    private java.lang.String value;
    private static final String _summationString = "summation";
    private static final String _demandString = "demand";
    private static final String _valueString = "value";
    private static final String _consumptionString = "consumption";
    public static final java.lang.String summation = new java.lang.String(summationString);
    public static final java.lang.String demand = new java.lang.String(demandString);
    public static final java.lang.String value = new java.lang.String(valueString);
    public static final java.lang.String consumption = new java.lang.String(consumptionString);
    public static final QuantityType summation = new QuantityType(_summation);
    public static final QuantityType demand = new QuantityType(_demand);
    public static final QuantityType value = new QuantityType(_value);
    public static final QuantityType consumption = new QuantityType(_consumption);
    Andrei

    Pls set debug attribute of JWSC ant task to true or on, e.g.
    <jwsc srcdir="." destdir="${output.dir}" debug="on" keepGenerated="true">
              </jwsc>

  • Strigi does not compile

    Hello,
    I get the following when I try to compile strigi. Any suggestions?
    $ makepkg
    ==> Entering fakeroot environment
    ==> Making package: strigi 0.3.9-1 (Tue Dec 5 15:10:05 CET 2006)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> Found strigi-0.3.9.tar.bz2 in build dir
    ==> WARNING: MD5sums are missing or incomplete. Cannot verify source integrity.
    ==> Extracting Sources...
    ==> tar --use-compress-program=bzip2 -xf strigi-0.3.9.tar.bz2
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    -- Found BZip2: /lib/libbz2.so
    -- Found Sha: /usr/lib/libcrypto.so
    -- Found CLucene library: /opt/strigi-clucene/lib/libclucene.so
    -- Found CLucene include dir: /opt/strigi-clucene/include
    -- Found CLucene library dir: /opt/strigi-clucene/lib
    -- Found CLucene: /opt/strigi-clucene/lib/libclucene.so
    -- Found Iconv: /usr/lib/libc.so
    -- Xerces-C was not found.
    -- Found libmagic: /usr/lib/libmagic.so
    -- Found libsqlite: /usr/lib/libsqlite3.so
    -- Found xattr.h
    -- Qt4 was not found. No GUI will be built.
    CMake Error: Error in cmake code at
    /home/packages/strigi/src/strigi-0.3.9/CMakeLists.txt:73:
    MESSAGE Could not find DBus
    Current CMake stack: /home/packages/strigi/src/strigi-0.3.9/CMakeLists.txt;/usr/share/CMake/Modules/CMakeCInformation.cmake;/usr/share/CMake/Modules/CMakeCXXInformation.cmake
    -- Configuring done
    make: *** No targets specified and no makefile found. Stop.
    ==> ERROR: Build Failed. Aborting...

    I dont know whats happening here... Du you have dbus properly installed? On my system i have dbus, dbus-glib and dbus-qt3 installed, and it works perfectly...
    I suggest to build strigi 0.3.10, because there are many things fixed... I have working PKGBUILDs for it already, but i cannot upload them to AUR because they require the newest version of vanilla clucene (no more strigi-clucene needed), and i cant reach the package maintainer...
    Try it with these PKGBUILDs:
    clucene:
    pkgname=clucene
    pkgver=0.9.16
    pkgrel=1
    pkgdesc="CLucene is a C++ port of Lucene: the high-performance, full-featured text search engine written in Java. CLucene is faster than lucene as it is written in C++."
    url="http://clucene.sourceforge.net/"
    license="GPL"
    depends=()
    makedepends=()
    conflicts=()
    replaces=()
    backup=()
    install=
    source=(http://umn.dl.sourceforge.net/clucene/$pkgname-core-$pkgver.tar.bz2)
    #md5sums=('25ef972a4ffe07421078f0aa369303f4')
    build() {
    cd $startdir/src/$pkgname-core-$pkgver
    #patch -Np1 -i ../???.patch || return 1
    ./configure --prefix=/usr
    make || return 1
    make DESTDIR=$startdir/pkg install
    strigi:
    pkgname=strigi
    pkgver=0.3.10
    pkgrel=1
    pkgdesc="Strigi Desktop Search"
    license="GPL"
    arch=(i686)
    url="http://www.vandenoever.info/software/strigi/"
    depends=('clucene' 'cmake' 'libxml2')
    source=(http://www.vandenoever.info/software/$pkgname/$pkgname-$pkgver.tar.bz2
    build-fix.diff)
    #md5sums=('53ac9de78bd0ac05c0dc04b6bd544100'
    # 'dfe9dd33a3f93f3ae6ec1e4b808371da')
    build() {
    cd $startdir/src/$pkgname-$pkgver
    # apply patches
    cd src/daemon/xsd
    patch -p0 -i $startdir/src/build-fix.diff || return 1
    cd $startdir/src/$pkgname-$pkgver
    cmake -DCMAKE_INSTALL_PREFIX=/opt/kde .
    make || return 1
    make DESTDIR=$startdir/pkg install || return 1
    strigiapplet:
    pkgname=strigiapplet
    pkgver=0.3.10
    pkgrel=1
    pkgdesc="Strigi Desktop Search Applet for KDE3"
    license="GPL"
    arch=(i686)
    url="http://www.vandenoever.info/software/strigi/"
    depends=('kdebase' 'cmake' 'strigi')
    source=(http://www.vandenoever.info/software/strigi/$pkgname-$pkgver.tar.bz2)
    #md5sums=('0469eb1768cd7d488b82917b4f4e22a2')
    build() {
    cd $startdir/src/$pkgname-$pkgver
    cmake -DCMAKE_INSTALL_PREFIX=/opt/kde -DCMAKE_INCLUDE_PATH=/opt/kde/include -DCMAKE_LIBRARY_PATH=/opt/kde/lib .
    make || return 1
    make DESTDIR=$startdir/pkg install || return 1
    and the build-fix.diff for strigi, place it in the strigi-directory:
    --- CMakeLists.txt 2006-11-28 20:52:43.000000000 +0100
    +++ CMakeLists.txt.new 2006-12-03 16:51:38.000000000 +0100
    @@ -8,9 +8,9 @@
    find_package(Java REQUIRED)
    # loop over all xsd files
    -file(GLOB XSDFILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.xsd)
    +#file(GLOB XSDFILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.xsd)
    # if the previous line does not work, try this:
    -# set(XSDFILES "strigidaemonconfiguration.xsd")
    +set(XSDFILES "strigidaemonconfiguration.xsd")
    foreach (XSDFILE ${XSDFILES})
    string(REPLACE ".xsd" "" XSDNAME ${XSDFILE})
    PS: Dont enable polling or inotify yet, its very unstable...

  • The ANE library is compiled to MacOS, but does not compile on Windows.

    ANE lbrary FPHockeyApp http://flashpress.ru/blog/contents/ane/hockeyapp/FPHockeyApp-6.1.ane
    Application:
    package
        import flash.display.Sprite;
        import ru.flashpress.hockeyapp.FPHockeyApp;
        import ru.flashpress.hockeyapp.ns.haIOS;
        public class TestHockeyApp extends Sprite
            public function TestHockeyApp()
                super();
                use namespace haIOS;
                var APP_ID:String = 'you app id';
                FPHockeyApp.manager.configureWithIdentifier(APP_ID);
                FPHockeyApp.manager.startManager();
                FPHockeyApp.manager.authenticator.authenticateInstallation();
    Compiled in MacOS, but does not compile on Windows:
    Why so?

    Windows 64-bit.
    On a single MacBookPro installed OSX and Windows(not virtual).

  • New-AzureReservedIP : Cannot validate argument on parameter 'Slot'. The argument "MyIP" does not belong to the set "Staging,Production"

    I am trying to reserve an IP address in Microsoft Azure using simple PowerShell cmdlet:
    $reservedIP = "MyIP"
    $location = "West US"
    New-AzureReservedIP – ReservedIPName $reservedIP –Label $reservedIP –Location $location
    I get an error:
    New-AzureReservedIP : Cannot validate argument on parameter 'Slot'. The argument "MyIP" does not belong to the
    set "Staging,Production" specified by the ValidateSet attribute. Supply an argument that is in the set and then try
    the command again.
    Any help?
    Thanks

    Greetings!
    Please try the references below which elaborates on the usage of the cmdlet:
    New-AzureReservedIP
    https://msdn.microsoft.com/en-us/library/azure/dn690120.aspx
    https://msdn.microsoft.com/en-us/library/azure/dn769136.aspx
    Thank you,
    Arvind

  • A "for" expression that does not compile

    This is a for loop from a snippet of code that does not compile in my J2SE 1.4.2 environment:
    for (int i: Units.parseRange(range_, 1, pagecnt)) {
    Can someone tell me what it means and what the 1.4.2 equivalent is?

    Does this mean there is no way that I can compile it in 1.4.2?
    I mean, is there an option that enables it?Yes and No... That is, yes using the 5.0 ( 1.5.0 ) beta 2, you can compile to 5.0 ( 1.5.0 ) to 1.4 using the -source and -target switches using 1.4 features only...
    but if you use 5.0 ( 1.5.0 ) features, it will not compile to 1.4 , it will give you an error stating that the feature is not supported by 1.4...
    So your code snippet would need to be re-written to 1.4 code to work with 1.4.x JVMs ...
    Here is an example of the For-Each aka Enhanced For loop written in 5.0 ( 1.5.0 ) beta2 :
    public class ForEachArray {
            public static void main ( String [] args ){
                        int[] ar = {1,2,3,4,5,6,7,8,9,0};
                        for (int i:ar){ // For-Each loop
                             System.out.println(i);
    }Which the equivalent in 1.4 would be :
    public class ForLoopArray {
            public static void main ( String [] args ){
                        int[] ar = {1,2,3,4,5,6,7,8,9,0};
                        for (int i = 0; i < ar.length; i++ ){ // for loop
                             System.out.println(ar);
    Hope this answers some of your question, now if you want help with that code snippet, naturally I will need to see some more code related to the snippet so that I can assist you in re-writing it to 1.4 version...
    - MaxxDmg...
    - ' He who never sleeps... '

  • Jwsc does not compile dependencies

    I have a web service that is coded to make calls on an interface who's implementation is injected with Spring. As such, there is no direct reference to the implementation class, and it does not get compiled when I compile the web service with the JWSC ant task.
    What is the recommended way of building this? Should I run JWSC first, and then JAVAC to the WEB-INF/classes dir? Or is there a more elegant way?

    Those unicode escapes are expanded into their actual characters before compilation. \u000d is a carriage return or linefeed. I forget which. It's as if you did this: char c1 = '\udddd';//compiles
    char c2 = '\u0ddd';//compiles
    char c3 = '\u00dd';//compiles
    char c4 = '
    ';//DOES NOT COMPILE... WHY?
    char c5 = '\ud00d';//compiles Try this:
    public class Uni {
        public static void main(String[] args) throws Exception {
            char A = '\u0042';
            char \u0042 = 'A';
            System.out.println(A);
            System.out.println(B);
    }

  • How come when I open Safari it does not open to my set homepage it always opens the last page I was on

    how come when I open Safari it does not open to my set homepage it always opens the last page I was on

    Check Safari/Preferences/General/Safari opens with -try setting it to new window.

  • NWDS 7 does not compile JSPs

    I have recently downloaded NWDS tool that comes with the NW04s trial version (NWDS version 7).
    When I create portal components (par files), NWDS does not compile the java files.  It creates a par file even with errors in Java. Is this a new "feature" of NWDS? am I missing anything?

    Create DC for the JSP also. It will work.

  • Java Importer: import of java.lang.Boolean does not compile?

    I have created a webservicestub for the Reports webservice with JDeveloper.
    Now I want to use it in Forms. All methods work correctly, except the runJob method, which uses a boolean argument. I think I need to import java.lang.Boolean for it, but the created package body does not compile ("wrong number or type of arguments" in jni calls).
    Does anybody have suggestions how to get it compiling, or how to call the runJob method without the import of java.lang.Boolean?

    Downloading 1.4 sdk does not have the javac, it just has the JRENo, you apparently downloaded the JRE runtime. Do this to get the compiler, etc:
    Go here: http://java.sun.com/j2se/1.4/download.html
    and in the section titled:
    Download J2SETM v 1.4.0_01 JRE SDK
    look in this row:
    Windows (all languages, including English)
    and click download in the column headed SDK at the far right

  • With 10.7.2 update iCal does not allow you to set "Reminders" by draging events from "All Day Events" into "Reminders" is there another way to do this instead of having to type out the entire reminder with date, time, and type?

    With 10.7.2 update iCal does not allow you to set "Reminders" by draging events from "All Day Events" into "Reminders" is there another way to do this instead of having to type out the entire reminder with date, time, and type?
    With Lion 10.7.1. you where able to drag events from "All Day Events" into the "Reminders" bar to create upcoming reminders.

    Exactly the same question I was about to post!
    Great being able to sync reminders (well overdue) however if I have to re-type a calener envent into reminders it's a waste of time!! 
    Come on Apple!!
    Just need an option for the calender event to add to reminder or the old drag to add to reminder functionality back, Please???

Maybe you are looking for

  • Planning adapter in HAL

    Hi, I have installaed Vignette Integration studio i.e HAL 9.2 version and after that installed hadp 9.2 version. When I open studio, Planning adaptor is available... During installation, it displayed Planning adaptor is compatible with it. Do it need

  • How to set Dnet assembly object instance

    I have an MKS Dnet MFC (P6AO) that I want to connect to.  I have been able to connect to other MFCs using my Vi as long as the input assembly instance is set to 14 and the output assembly instance is set to 19.  I can explicitly message this MFC.  Wh

  • Calculator don't display numbers after comma in RPN mode

    Hello, In RPN mode, calculator don't display the numbers after the comma in the stack. Exemple : 12345 Enter 0,12345 Enter The calculator stack now shows : 12345 0 <-- should be 0,12345 OSX : 10.5.1 (French) PowerBook G4 17" 1,5GHz Pascal

  • Clear reservation at the production order confirmation

    Hi All,           In the confirmation of the production order, does clear reversation - clear all the reservations of the BOM Components ? What could be possible reason for non clearance of the reversation of the BOM components, when the header mater

  • ADjusting the sampling rate on a FIR filter?

    How do I adjust the sampling rate on a digital FIR filter? Thanks in advance. -David