I am sorry I seem found the solution.

http://hobione.wordpress.com/2009/03/11/missing-comsuntoolsjar142/

Thanks,

-Yoshinobu

On Thu, Jul 16, 2009 at 3:05 PM, Yoshinobu Kano<[email protected]> wrote:
> Thank you for your helps.
> I am trying to make "maven install" of the workbench-distro,
> but bulid failed due to the lack of
> 1) sun.jdk:tools:jar:1.5.0
> 2) com.sun:tools:jar:1.4.2
> as the message says like below.
>
> I use Java 6 (jdk 1.6.0_07), where I can find these missing files, and
> is it safe to put these files from command line as the message says?
>
> Thanks,
>
> -Yoshinobu
>
> [INFO] Scanning for projects...
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Taverna workbench distribution
> [INFO]
> [INFO] Id: net.sf.taverna.t2.taverna-workbench:workbench-distro:jar:2.1-beta-2
> [INFO] task-segment: [install]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Attempting to resolve a version for plugin:
> org.codehaus.mojo:buildnumber-maven-plugin using meta-version: LATEST
> [INFO] Using version: 1.0-beta-3 of plugin:
> org.codehaus.mojo:buildnumber-maven-plugin
> [INFO] [buildnumber:create]
> [INFO] Storing buildNumber: 20090716T1457 at timestamp: 1247752668840
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> url = http://www.eviware.com/repository/maven2/
> Downloading: 
> http://www.eviware.com/repository/maven2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://ws.zones.apache.org/repository2/
> Downloading: 
> http://ws.zones.apache.org/repository2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://dlt-dev.ncsa.uiuc.edu/m2
> Downloading: 
> http://dlt-dev.ncsa.uiuc.edu/m2/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://openprovenance.org/java/maven-snapshots
> Downloading: 
> http://openprovenance.org/java/maven-snapshots/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://www.mygrid.org.uk/maven/repository
> Downloading: 
> http://www.mygrid.org.uk/maven/repository/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://biomoby.org/m2repo/
> Downloading: 
> http://biomoby.org/m2repo//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://download.java.net/maven/2/
> Downloading: 
> http://download.java.net/maven/2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://repository.jboss.org/maven2/
> Downloading: 
> http://repository.jboss.org/maven2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> [INFO] Using mirror: mygrid-repo1 for repository: central
> (mirror url: http://www.mygrid.org.uk/maven/repo1)
> url = http://www.mygrid.org.uk/maven/repo1
> Downloading: 
> http://www.mygrid.org.uk/maven/repo1/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> [INFO] Using mirror: mygrid-repo1 for repository: central
> (mirror url: http://www.mygrid.org.uk/maven/repo1)
> url = http://www.eviware.com/repository/maven2/
> Downloading: 
> http://www.eviware.com/repository/maven2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://ws.zones.apache.org/repository2/
> Downloading: 
> http://ws.zones.apache.org/repository2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://dlt-dev.ncsa.uiuc.edu/m2
> Downloading: 
> http://dlt-dev.ncsa.uiuc.edu/m2/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://openprovenance.org/java/maven-snapshots
> Downloading: 
> http://openprovenance.org/java/maven-snapshots/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://www.mygrid.org.uk/maven/repository
> Downloading: 
> http://www.mygrid.org.uk/maven/repository/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://biomoby.org/m2repo/
> Downloading: 
> http://biomoby.org/m2repo//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://download.java.net/maven/2/
> Downloading: 
> http://download.java.net/maven/2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://repository.jboss.org/maven2/
> Downloading: 
> http://repository.jboss.org/maven2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> [INFO] Using mirror: mygrid-repo1 for repository: central
> (mirror url: http://www.mygrid.org.uk/maven/repo1)
> url = http://www.mygrid.org.uk/maven/repo1
> Downloading: 
> http://www.mygrid.org.uk/maven/repo1/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> [INFO] Using mirror: mygrid-repo1 for repository: central
> (mirror url: http://www.mygrid.org.uk/maven/repo1)
> [INFO] [compiler:compile]
> [INFO] No sources to compile
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> url = http://www.eviware.com/repository/maven2/
> Downloading: 
> http://www.eviware.com/repository/maven2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://ws.zones.apache.org/repository2/
> Downloading: 
> http://ws.zones.apache.org/repository2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://dlt-dev.ncsa.uiuc.edu/m2
> Downloading: 
> http://dlt-dev.ncsa.uiuc.edu/m2/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://openprovenance.org/java/maven-snapshots
> Downloading: 
> http://openprovenance.org/java/maven-snapshots/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://www.mygrid.org.uk/maven/repository
> Downloading: 
> http://www.mygrid.org.uk/maven/repository/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://biomoby.org/m2repo/
> Downloading: 
> http://biomoby.org/m2repo//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://download.java.net/maven/2/
> Downloading: 
> http://download.java.net/maven/2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://repository.jboss.org/maven2/
> Downloading: 
> http://repository.jboss.org/maven2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> [INFO] Using mirror: mygrid-repo1 for repository: central
> (mirror url: http://www.mygrid.org.uk/maven/repo1)
> url = http://www.mygrid.org.uk/maven/repo1
> Downloading: 
> http://www.mygrid.org.uk/maven/repo1/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> [INFO] Using mirror: mygrid-repo1 for repository: central
> (mirror url: http://www.mygrid.org.uk/maven/repo1)
> url = http://www.eviware.com/repository/maven2/
> Downloading: 
> http://www.eviware.com/repository/maven2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://ws.zones.apache.org/repository2/
> Downloading: 
> http://ws.zones.apache.org/repository2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://dlt-dev.ncsa.uiuc.edu/m2
> Downloading: 
> http://dlt-dev.ncsa.uiuc.edu/m2/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://openprovenance.org/java/maven-snapshots
> Downloading: 
> http://openprovenance.org/java/maven-snapshots/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://www.mygrid.org.uk/maven/repository
> Downloading: 
> http://www.mygrid.org.uk/maven/repository/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://biomoby.org/m2repo/
> Downloading: 
> http://biomoby.org/m2repo//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://download.java.net/maven/2/
> Downloading: 
> http://download.java.net/maven/2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> url = http://repository.jboss.org/maven2/
> Downloading: 
> http://repository.jboss.org/maven2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> [INFO] Using mirror: mygrid-repo1 for repository: central
> (mirror url: http://www.mygrid.org.uk/maven/repo1)
> url = http://www.mygrid.org.uk/maven/repo1
> Downloading: 
> http://www.mygrid.org.uk/maven/repo1/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom
> [INFO] Using mirror: mygrid-repo1 for repository: central
> (mirror url: http://www.mygrid.org.uk/maven/repo1)
> [INFO] Using mirror: mygrid-repo1 for repository: central
> (mirror url: http://www.mygrid.org.uk/maven/repo1)
> [ERROR]
>
> Transitive dependency resolution for scope: test has failed for your project.
>
>
>
> Error message: Missing:
> ----------
> 1) sun.jdk:tools:jar:1.5.0
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=sun.jdk -DartifactId=tools
> -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file
>
>  Alternatively, if you host your own repository you can deploy the file there:
>      mvn deploy:deploy-file -DgroupId=sun.jdk -DartifactId=tools
> -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=[id]
>
>  Path to dependency:
>        1) net.sf.taverna.t2.taverna-workbench:workbench-distro:jar:2.1-beta-2
>        2) 
> net.sf.taverna.t2.taverna-workbench.plugins:activities-plugin:jar:2.1-beta-2
>        3) net.sf.taverna.t2.activities:all-activities:jar:0.8
>        4) net.sf.taverna.t2.activities:biomoby-activity:jar:0.8
>        5) org.biomoby:jmoby:jar:1.1.3-taverna
>        6) sun.jdk:tools:jar:1.5.0
>
> 2) com.sun:tools:jar:1.4.2
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=com.sun -DartifactId=tools
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file
>
>  Alternatively, if you host your own repository you can deploy the file there:
>      mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=[id]
>
>  Path to dependency:
>        1) net.sf.taverna.t2.taverna-workbench:workbench-distro:jar:2.1-beta-2
>        2) 
> net.sf.taverna.t2.taverna-workbench.plugins:translators-plugin:jar:2.1-beta-2
>        3) net.sf.taverna.t2.ui-exts:file-translator:jar:0.9
>        4) uk.org.mygrid.taverna.processors:all:jar:1.7.2.0
>        5) com.sun:tools:jar:1.4.2
>
> ----------
> 2 required artifacts are missing.
>
> for artifact:
>  net.sf.taverna.t2.taverna-workbench:workbench-distro:jar:2.1-beta-2
>
> from the specified remote repositories:
>  opm (http://openprovenance.org/java/maven-snapshots),
>  wsZones (http://ws.zones.apache.org/repository2/),
>  biomoby (http://biomoby.org/m2repo/),
>  jboss.org (http://repository.jboss.org/maven2/),
>  java.net (http://download.java.net/maven/2/),
>  eviware (http://www.eviware.com/repository/maven2/),
>  mygrid-snapshot-repository
> (http://www.mygrid.org.uk/maven/snapshot-repository),
>  mygrid-repository (http://www.mygrid.org.uk/maven/repository),
>  mygrid-repo1 (http://www.mygrid.org.uk/maven/repo1),
>  tupelo2 (http://dlt-dev.ncsa.uiuc.edu/m2)
>
> Group-Id: net.sf.taverna.t2.taverna-workbench
> Artifact-Id: workbench-distro
> Version: 2.1-beta-2
> From file: C:\workspace\taverna-workbench-2.1-beta-2\workbench-distro\pom.xml
>
>
>
>
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run with the -e flag
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 26 seconds
> [INFO] Finished at: Thu Jul 16 14:58:08 BST 2009
> [INFO] Final Memory: 6M/50M
> [INFO] 
> ------------------------------------------------------------------------
>
>
> On Thu, Jul 16, 2009 at 10:51 AM, Stuart Owen<[email protected]> 
> wrote:
>> Yoshinobu Kano wrote:
>>>>
>>>> If you use the workbench-dev module from subversion:
>>>>
>>>> (http://code.google.com/p/taverna/source/browse/taverna#taverna/products/net.sf.taverna.t2.taverna-workbench/trunk/workbench-dev)
>>>>
>>>
>>> Yes I have,
>>>
>>> net.sf.taverna.t2.taverna-workbench.workbench-dev
>>>
>>> and common, distro as well.
>>>
>>>
>>>>
>>>> by using mvn install, and then running the build from with the target
>>>> folder
>>>> (in another folder within there called t2-workbench-1123401492/ or
>>>> something
>>>>
>>>
>>> where is this folder -- in which project?
>>> How can I invoke maven-rebuild from eclipse?
>>>
>>>
>>
>> Sorry, my mistake - it should be within the workbench-distro module that you
>> run maven install, and you then get a build within the target folder named
>> based upon the the version number and timestamp. For example, I've just
>> built it and have a directory:
>> workbench-distro/target/taverna-dev-2.1-SNAPSHOT-20090716T1039-dev.dir/
>>
>> within there you get a runme.sh and runme.bat that will run taverna linked
>> to you local repository in ~/.m2/repository/
>>
>>
>> Stuart
>>>
>>> # I am seeing error markers for a couple of projects, not sure what is
>>> the cause.
>>>
>>> Thanks,
>>>
>>> -Yoshinobu
>>>
>>>
>>>>
>>>> like that) it will automatically use the package you built for you
>>>> activity
>>>> in your .m2/repository.
>>>>
>>>>
>>>> Stuart
>>>>
>>>>
>>>>>
>>>>> Thanks,
>>>>>
>>>>> -Yoshinobu
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
>
> --
> Yoshinobu Kano (Given/Family)
> [email protected]
> Project Research Associate, the University of Tokyo / U-Compare Project Lead
> http://www-tsujii.is.s.u-tokyo.ac.jp/ http://u-compare.org/kano/
>



-- 
Yoshinobu Kano (Given/Family)
[email protected]
Project Research Associate, the University of Tokyo / U-Compare Project Lead
http://www-tsujii.is.s.u-tokyo.ac.jp/ http://u-compare.org/kano/

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
Developers Guide: http://www.mygrid.org.uk/tools/developer-information

Reply via email to