Hi Werner,

setting up Castor Ahmad has got the faliure as described in attached
mail. I have seen this failure about 1 month ago myself when setting up
Castor on a clean system. At that time I thought it may be a tempory
failure but as it seams the jta library can not be downloaded any more.

As a workaround it is possible to use jta1.0.1.jar from lib directory.
One has to make a temporary copy of it that has to be renamed to
jta1.0.1B.jar and follow the instructions of maven to register this file.

Do you have any idea how we can solve that problem?

Regards
Ralf

-- 

Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany

Tel.   +49 7071 3690 52
Mobil: +49 173 9630135
Fax    +49 7071 3690 98

Internet: www.syscon.eu
E-Mail: ralf.joac...@syscon.eu

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim



--- Begin Message ---
Hi Ralf,

I managed to solve that previous problem. The error was that, the eclipse was 
running using Jre as specified by error. So I added [-vm "C:\Program 
Files\Java\jdk1.6.0_13\bin"] parameter in eclipse.ini and then it was resolved. 
I don't know why it doesn't work without -vm parameter because JAVA_HOME is 
already set to the root directory of JDK but eclipse picks 'jre' directory from 
within jdk folder. Anyways it gets resolved now. But Now I am getting this 
error upon running 'mvn install'


Transitive dependency resolution for scope: compile has failed for your project.



Error message: Missing:
----------
1) javax.transaction:jta:jar:1.0.1B

  Try downloading the file manually from: 
      http://java.sun.com/products/jta

  Then, install it using the command: 
      mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta 
-Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=javax.transaction -DartifactId=jta 
-Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
-DrepositoryId=[id]

  Path to dependency: 
        1) org.codehaus.castor:castor-jdo:jar:1.3.1-SNAPSHOT
        2) javax.transaction:jta:jar:1.0.1B

----------
1 required artifact is missing.

for artifact: 
  org.codehaus.castor:castor-jdo:jar:1.3.1-SNAPSHOT

from the specified remote repositories:
  java.net (https://maven-repository.dev.java.net/nonav/repository),
  codehaus-snapshots (http://snapshots.repository.codehaus.org),
  maven2-repository.dev.java.net 
(https://maven2-repository.dev.java.net/nonav/repository),
  central (http://repo1.maven.org/maven2)

Group-Id: org.codehaus.castor
Artifact-Id: castor-jdo
Version: 1.3.1-SNAPSHOT
>From file: D:\ECLIPSE_PROJECTS\workspace\castor\cpa\pom.xml




[INFO] ------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes 2 seconds
[INFO] Finished at: Mon Apr 20 17:58:47 CEST 2009
[INFO] Final Memory: 11M/53M
[INFO] ------------------------------------------------------------------------











Best Regards, Ahmad


-----Original Message-----
From: Ralf Joachim [mailto:ralf.joac...@syscon.eu]
Sent: Mon 4/20/2009 10:07 AM
To: Ahmad Hassan
Subject: Re: Eclipse Configuration
 
Hi Ahmad,

your steps are correct but it seams there is something wrong with java or maven 
setup or its integration within eclipse. Having said that I never saw such 
problems.

Can you try to execute things from commandline?
Does 'mvn -version' show you the correct JDK location?

Regards
Ralf


Ahmad Hassan schrieb: 


        Hi Ralf,
        
        I opened castor project in eclipse. I selected the castor top directory 
and then went to RUN Menu and then I selected 'Maven Clean'. It went 
successfully. But after that I run 'Maven Install'. It failed with the 
following error.
        
        FAILED for project:
        
            org.codehaus.castor:castor-core:jar:1.3.1-SNAPSHOT
        
        Reason:
        
        Unable to locate the Javac Compiler in:
          C:\Program Files\Java\jre6\..\lib\tools.jar
        Please ensure you are using JDK 1.4 or above and
        not a JRE (the com.sun.tools.javac.Main class is required).
        In most cases you can change the location of your Java
        installation by setting the JAVA_HOME environment variable.
        
        
        Am I doing the correct steps?
        
        The jdk is installed in my machine and in the USER environment 
variable, the JAVA_HOME is set as C:\Program Files\Java\jdk1.6.0_11
        
        Do you know what is going on here?
        
        Thanks.
        
        Cheers, Ahmad
        
        -----Original Message-----
        From: Ralf Joachim [mailto:ralf.joac...@syscon.eu]
        Sent: Sat 4/18/2009 7:01 PM
        To: Ahmad Hassan
        Subject: Re: Eclipse Configuration
        
        Hi Ahmad,
        
        according to your description you should be almost prepared to start 
working.
        
        At the moment I expect that you see a bunch of errors in eclipse. They 
are due to missing libraries and code that first needs to be generated. What 
you have to do is to execute 'mvn clean' and 'mvn install' in project root 
directory. This build should finish successfully. If not please let me know the 
problems. After a successfull maven build you need to refresh your castor 
project in eclipse and the errors should disapear. If there are still errors I 
also like to know them.
        
        Regards
        Ralf
        
        
        Ahmad Hassan schrieb:
        
                Hi Ralf,
               
                Today I spent some time to configure eclipse with subclipse, 
Maven Integragion and checkstyle plug-in. I think I did them successfully and 
then I downloaded the castor code by following the procedure mentioned on 
http://www.castor.org/how-to-setup-castor-project-in-eclipse.html
               
                All the configurations I did can also be seen at my post 
http://hassan4u.wordpress.com/
               
                I don't know whether this was required only or some other 
configuration is also needed.
               
                Have a nice weekend.
               
                Best Regards, Ahmad
               
               
               
               
                -----Original Message-----
                From: Ralf Joachim [mailto:ralf.joac...@syscon.eu]
                Sent: Fri 17/04/2009 20:31
                To: Ahmad Hassan
                Subject: Re: Possible dates for a metting
               
                Hi Ahmad,
               
                all the informations for metro is avaliable on the internet. I 
need to take number 8 from airport to the city. Change to number 10 and later 
on to number 12. They say it takes about 1 hour 30 minutes as I have to pass 
through the whole city. But I think I can managed that without problems. I have 
been in Madrid 2 times before and am able to speak a little spanish.
               
                Regards
                Ralf
               
                Ahmad Hassan schrieb:
               
               
                        Hi Ralf,
                      
                        I will be happy to be your host :) Don't worry about 
the accomodation, I will manage it. The following is my address:
                      
                        Av del Dos de Mayo, 33, 28915, Leganés, Madrid España
                      
                        I will give you my contact number. I don't have it 
right now. I am still using my UK number here :P.
                      
                        I still don't know how to get to my place from the 
airport via metro underground. But their is no direct metro from airport to my 
place. I heard that we have to switch 2-3 metros in between and the whole 
journey takes around 2 hours as said by my friend.
                      
                        The taxi takes around 25 minutes and cost around 40 
euros I think. If I will get any information regarding metro underground then I 
will let you know.
                      
                        Hope to see you soon.
                      
                        Best Regards, Ahmad
                      
                      
                        -----Original Message-----
                        From: Ralf Joachim [mailto:ralf.joac...@syscon.eu]
                        Sent: Fri 17/04/2009 01:07
                        To: Ahmad Hassan
                        Subject: Re: Possible dates for a metting
                      
                        Hi Ahmad,
                      
                        I already booked flight.
                      
                        Arrive: 29.4. 20:00
                        Depart: 1.5. 20:25
                      
                        at Madrid airport.
                      
                        You suggested that I stay with you. In that case you 
have to tell me your address. I'll come to you by subway or any other public 
transportation. If you prefer me to not stay at your room I do not have 
problems to take a hotel. Just let me know your preference.
                      
                        Regards
                        Ralf
                      
                      
                        Ahmad Hassan schrieb:
                      
                      
                                Hi Ralf,
                             
                                It would be fine to meet on Wednesday 29.4. to 
Friday 1.5. as discussed. In these days, I will be available in the evening of 
29th and 30th and full day on Ist May as it is a vacation.
                             
                                In the later time slots, I think it will also 
get difficult for me to find time because I would be at the peak of studies and 
academic projects offcourse.
                             
                                What do you say?
                             
                                Cheers, Ahmad
                             
                                -----Original Message-----
                                From: Ralf Joachim 
[mailto:ralf.joac...@syscon.eu]
                                Sent: Thu 4/16/2009 12:02 AM
                                To: Ahmad Hassan
                                Subject: Possible dates for a metting
                             
                                Hi Ahmad,
                             
                                I found 3 possibilities for a meeting in Madrid:
                             
                                Wednesday 29.4. to Friday 1.5. as discussed on 
IRC
                                Friday 22.5. to Sunday 24.5.
                                Friday 29.5. to Sunday 31.5.
                             
                                I expect to gain more advantages the earlier we 
make this meeting when
                                we talk about concepts and redefine project 
schedule. During
                                implementation problems may also arise but we 
will need more
                                conversation at the beginning. Even within 4-5 
hours in the evening we
                                can gain much more progress talking face to 
face than spending this time
                                on IRC.
                             
                                What's your opinion?
                             
                                I forgot to tell you that you will also need to 
install maven version
                                2.0.9 or greater.
                             
                                I'll send the checklipse plugin with a seperate 
mail.
                             
                                Regards
                                Ralf
                             
                                --
                             
                                Syscon Ingenieurbüro für Meß- und Datentechnik 
GmbH
                                Ralf Joachim
                                Raiffeisenstraße 11
                                72127 Kusterdingen
                                Germany
                             
                                Tel.   +49 7071 3690 52
                                Mobil: +49 173 9630135
                                Fax    +49 7071 3690 98
                             
                                Internet: www.syscon.eu
                                E-Mail: ralf.joac...@syscon.eu
                             
                                Sitz der Gesellschaft: D-72127 Kusterdingen
                                Registereintrag: Amtsgericht Stuttgart, HRB 
382295
                                Geschäftsleitung: Jens Joachim, Ralf Joachim
                             
                      
                        --
                      
                        Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
                        Ralf Joachim
                        Raiffeisenstraße 11
                        72127 Kusterdingen
                        Germany
                      
                        Tel.   +49 7071 3690 52
                        Mobil: +49 173 9630135
                        Fax    +49 7071 3690 98
                      
                        Internet: www.syscon.eu
                        E-Mail: ralf.joac...@syscon.eu
                      
                        Sitz der Gesellschaft: D-72127 Kusterdingen
                        Registereintrag: Amtsgericht Stuttgart, HRB 382295
                        Geschäftsleitung: Jens Joachim, Ralf Joachim
                      
                      
                      
                      
                      
               
               
                --
               
                Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
                Ralf Joachim
                Raiffeisenstraße 11
                72127 Kusterdingen
                Germany
               
                Tel.   +49 7071 3690 52
                Mobil: +49 173 9630135
                Fax    +49 7071 3690 98
               
                Internet: www.syscon.eu
                E-Mail: ralf.joac...@syscon.eu
               
                Sitz der Gesellschaft: D-72127 Kusterdingen
                Registereintrag: Amtsgericht Stuttgart, HRB 382295
                Geschäftsleitung: Jens Joachim, Ralf Joachim
               
               
        
        --
        
        Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
        Ralf Joachim
        Raiffeisenstraße 11
        72127 Kusterdingen
        Germany
        
        Tel.   +49 7071 3690 52
        Mobil: +49 173 9630135
        Fax    +49 7071 3690 98
        
        Internet: www.syscon.eu
        E-Mail: ralf.joac...@syscon.eu
        
        Sitz der Gesellschaft: D-72127 Kusterdingen
        Registereintrag: Amtsgericht Stuttgart, HRB 382295
        Geschäftsleitung: Jens Joachim, Ralf Joachim
        
        
        
        
        


-- 

Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany

Tel.   +49 7071 3690 52
Mobil: +49 173 9630135
Fax    +49 7071 3690 98

Internet: www.syscon.eu
E-Mail: ralf.joac...@syscon.eu

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim



--- End Message ---
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to