Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1256724
  • 博文数量: 135
  • 博客积分: 10588
  • 博客等级: 上将
  • 技术积分: 1325
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-18 11:12
文章分类

全部博文(135)

文章存档

2013年(6)

2012年(3)

2011年(11)

2010年(7)

2009年(14)

2008年(6)

2007年(42)

2006年(46)

分类:

2007-11-02 18:32:52

作者:aglet( 4469206)

     终于成功安装配置aglet平台,折磨了我一个晚上加半个白天的安装配置问题,终于解决了。
原来的问题是一直无法生成.keystore这个文件,导致总是build失败,现在的解决过程如下:
将aglet2.0.2版解压在e:\aglet里面,JDK5.0(包括JRE)安装在D:\java里面,环境变量(都在那个“hdwang的用户变量”窗口里面设置,其中hdwang为我的操作系统登录用户名)设置为:
AGLET_HOME=e:\aglet
AGLET_PATH=e:\aglet\public
ANT_HOME=e:\aglet
JAVA_HOME=d:\java
CLASSPATH=.;%JAVA_HOME%\lib;%JAVA_HOME%\jre\lib;e:\aglet;e:\aglet\public;e:\aglet\lib;e:\aglet\bin

path=C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;d:\Program Files\Microsoft Visual Studio\VC98\bin;%JAVA_HOME%bin;%JAVA_HOME%lib;%JAVA_HOME%jre;e:\aglet;e:\aglet\bin;e:\aglet\lib

注意路径设置好了之后,重启计算机才起了作用,
然后在dos界面下的e:\aglet\bin下面运行命令ant,显示信息如下:
///////////////////////////此行为自加的分界线//////////////////////////////////////
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

C:\Documents and Settings\hdwang>e:
E:\>cd aglet
E:\aglet>cd bin

E:\aglet\bin>ant
Buildfile: build.xml

info:
 [echo]
*** READ ME *** READ ME *** READ ME *** READ ME ***

In order to run the Aglet Server, you need to update
C:\Documents and Settings\hdwang/.java.policy with the grant entry
found in E:\aglet\bin/.java.policy.
You can simply place the .java.policy file in C:\Documents and Settings\hdwang.

The server also needs a java .keystore file. One has been provide
for you in this directory. The password is "aglets" (without quotes).
It contains a key for the server "aglet_key", and a key for an anonymous
user "anonymous". To use the keystore, copy it to C:\Documents and Settings\hdw
ang.

阅读(4554) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2008-03-25 17:04:22

在dos界面下的e:\aglet\bin下面运行命令ant,显示信息如下:throw exception 找不到Apache \tools\main .....请问怎么解决啊?