appengine 上的一个小项目

4 views
Skip to first unread message

Gavin.Zhang

unread,
Jan 23, 2010, 10:30:23 AM1/23/10
to WEB-based Java In China
我在appengine上搞了一个小项目玩玩,基于 sitemesh 和 velocity,哪位有兴趣可以加进来,大家一起搞搞 :-)

http://code.google.com/p/javabloggers/

杨浩

unread,
Jan 24, 2010, 6:01:59 AM1/24/10
to web-based-j...@googlegroups.com
Thanks for your help!
我的开发ide是eclipse,插件无法配置web根目录为web,google的gae只能够使用war作为web根目录
不知道要怎么配置才可以使用web作为根目录?!

2010/1/23 Gavin.Zhang <java...@baturu.com>

javafuns

unread,
Jan 24, 2010, 6:12:11 AM1/24/10
to web-based-j...@googlegroups.com
为什么一定要用eclipse? netbeans开发gae挺方便的,有一个插件。
你如果想使用eclipse快捷键,在netbeans里也可以设置

杨浩 写道:
Thanks for your help!
我的开发ide是eclipse,插件无法配置web根目录为web,google的gae只能够使用war作为web根目录
不知道要怎么配置才可以使用web作为根目录?!

2010/1/23 Gavin.Zhang <java...@baturu.com>
我 在appengine上搞了一个小项目玩玩,基于 sitemesh 和 velocity,哪位有兴趣可以加进来,大家一起搞搞 :-)

http://code.google.com/p/javabloggers/
--
You received this message because you are subscribed to the Google
Groups "WEB-based Java In China" group.
To unsubscribe from this group, send email to
web-based-java-in...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/web-based-java-in-china?hl=en


--
Thanks

>> What I said is licenced under CC-by-nd :)

Email: java...@baturu.com
Blog: http://blog.baturu.com

杨浩

unread,
Jan 24, 2010, 7:38:49 AM1/24/10
to web-based-j...@googlegroups.com
只是我netbean6不熟悉了,需要重新来过,我只是想使用自己熟悉的环境而已!
netbean下面gae的web根不是war,而是web吗!?
或者netbean下面gae的插件可以定义web根?!


2010/1/24 javafuns <java...@baturu.com>

javafuns

unread,
Jan 24, 2010, 8:00:54 AM1/24/10
to web-based-j...@googlegroups.com
是的,web目录就是最终要打成war的目录。
这个目录结构很简单,java文件编译后放到WEB-INF/classes下就可以了

杨浩 写道:
--
You received this message because you are subscribed to the Google
Groups "WEB-based Java In China" group.
To unsubscribe from this group, send email to
web-based-java-in...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/web-based-java-in-china?hl=en

javafuns

unread,
Jan 24, 2010, 11:22:47 PM1/24/10
to web-based-j...@googlegroups.com
哥们,你试试这回是否能导入到eclipse 里?

javafuns 写道:

jun hu

unread,
Jan 24, 2010, 8:46:18 AM1/24/10
to web-based-j...@googlegroups.com
我报名!!

2010/1/23 Gavin.Zhang <java...@baturu.com>
我在appengine上搞了一个小项目玩玩,基于 sitemesh 和 velocity,哪位有兴趣可以加进来,大家一起搞搞 :-)

http://code.google.com/p/javabloggers/
--
You received this message because you are subscribed to the Google
Groups "WEB-based Java In China" group.
To unsubscribe from this group, send email to
web-based-java-in...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/web-based-java-in-china?hl=en



--
Best wishes for you.
                    Rissen (Hujun)
           http://attablog.appspot.com

javafuns

unread,
Jan 25, 2010, 1:20:21 AM1/25/10
to web-based-j...@googlegroups.com
google group 出了点问题,审核人员加入失败 :-(


jun hu 写道:
我报名!!

2010/1/23 Gavin.Zhang <java...@baturu.com>
我 在appengine上搞了一个小项目玩玩,基于 sitemesh 和 velocity,哪位有兴趣可以加进来,大家一起搞搞 :-)


--

javafuns

unread,
Jan 25, 2010, 1:36:25 AM1/25/10
to web-based-j...@googlegroups.com
欢迎加入
这个项目没有使用sitemeshfilter,但是把filter的功能移到了controller servlet里。
因为原来sitemeshfilter在做页面decorate时有一些小问题,一次总是会被controller servlet截取2次。

而且原来sitemesh和velocity集成,官方的那种集成并不是很好,decorator的功能比较弱。

下一步打算把 JSF 的navigation rule那套东西集成进去,个人觉得这个功能挺实用的。

jun hu 写道:
我报名!!

2010/1/23 Gavin.Zhang <java...@baturu.com>
我 在appengine上搞了一个小项目玩玩,基于 sitemesh 和 velocity,哪位有兴趣可以加进来,大家一起搞搞 :-)


--

杨浩

unread,
Jan 25, 2010, 4:28:35 AM1/25/10
to web-based-j...@googlegroups.com
是我没有说清楚哦
我的意思是在eclipse中无法使用gae的eclipse插件!因为gae的eclipse插件要求web根为war名称才可以!
就算工程中没有提供eclipse导入,我一样可以让工程运行起来的,只是发布的时候麻烦些!
有一个问题未解决:ant 通过appcfg发布gae时不知道怎样输入用户名和密码来通过安全认证?!
我的gae应用每一次发布时都是一天第一次使用gae插件deployed,后面的ant build发布时就不会提示需要认证信息了!
这个工程的想法就是自己手动建立war目录,然后gae插件再deplyoed一次(用于保存认证信息) 再通过ant运行appcfg提交应用^ ^

貌似技术用太多了哦!精、简、小就是好的^ ^

2010/1/25 javafuns <java...@baturu.com>
330.gif

javafuns

unread,
Jan 25, 2010, 6:39:53 AM1/25/10
to web-based-j...@googlegroups.com
那个插件是把war文件夹名写死的,所以办法就是把web改为war,如果是Linux的话,就好办多了,加个符号链接就可以了
我这里是第一次上传时要密码,后来再不需要了

杨浩 写道:
--
You received this message because you are subscribed to the Google
Groups "WEB-based Java In China" group.
To unsubscribe from this group, send email to
web-based-java-in...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/web-based-java-in-china?hl=en

杨浩

unread,
Jan 25, 2010, 7:03:52 AM1/25/10
to web-based-j...@googlegroups.com
Thanks for your help!
aha,That's good idea!
真好我的环境就是linux!呵呵,确实建立一个符号链接就可以了!
Thanks!

2010/1/25 javafuns <java...@baturu.com>
330.gif

javafuns

unread,
Jan 31, 2010, 10:33:58 PM1/31/10
to web-based-j...@googlegroups.com
一些概念让人很难搞懂,比如protectiondomain
Reply all
Reply to author
Forward
0 new messages