Inside Paulo Abrantes' head
[ start | index | login or register ]
start > 2007-04-16 > 1

Software Developing: The birth of Snip It

Created by pabrantes. Last edited by pabrantes, one year and 180 days ago. Viewed 2,014 times. #1
[edit] [rdf]
labels
attachments

Software Developing: The birth of Snip It

Today I deployed a new version of the SnipSnap fork I'm working on - please read >>SnipSnap Developing: Planning a fork for more information - that will be called Snip It.
Along with code modifications - which can be found inmy_snipsnap_fork_feature_list - I've also come up with a new Theme, called it Metal Theme (hurray for imagination with names). I'm no webdesigner, but I think I managed to come up with a good color combination (comments anyone?).

Another feature added since last deploy - by AdaHsu suggestion - was the new smiley system. smiley Currently the alpha-version of Snip It supports a simple add/remove on the fly images that can be used for smile. smiley I'm hoping to have a release candidate of Snip It in a couple of months. With the same simplicity that snipsnap has for instalation and configuration.

Everyone is invited to experience Snip It Bliki. Although, currently due to the configuration overhead - extra-configuration needs to be created by the user on the Config snip, it's not yet generated - I only advice it to experienced users. Anyone interested, please contact me and in I'll explain the five minute installation process.

Comments about the new theme, code modifications or planned modifications are more than welcome.

Icon-Comment shade, one year and 180 days ago. Icon-Permalink

The theme is great! Nice gradient and colors too! I like the way the blue turns into orange! It's a keeper! :)

Icon-Comment AdaHsu, one year and 179 days ago. Icon-Permalink

Something maybe worng...

digg.png, delicious.png, and rss-icon.png are not integreted, and also registration page can not show the correct JCaptcha's image , may I do something worng ?

Icon-Comment pabrantes, one year and 179 days ago. Icon-Permalink

The theme is great! (...)
shade

Thank you Shade!

digg.png, delicious.png, and rss-icon.png are not integreted, and also registration page can not show the correct JCaptcha's image , may I do something worng ?
AdaHsu

I assume you're talking about problems you are having with the fork. Well the 3 images indeed are not yet present on the default themes, you need to upload the three to each theme - I also have to do that.

Regarding the JCaptcha is different, I'm not seeing what the problem could be. Can you give me any more information, please? No image displaying at all?

Icon-Comment AdaHsu, one year and 178 days ago. Icon-Permalink

Regarding the JCaptcha is different, I'm not seeing what the problem could be. Can you give me any more information, please? No image displaying at all?

After create vmware linux machine, I will make a test site for snipit. Then we can check what happend.

Icon-Comment pabrantes, one year and 178 days ago. Icon-Permalink

Since you said on the other comment that you are running within tomcat, maybe one of the following are happening:
  • The war is not being generated with the jcaptcha jar (quite possible)
  • The web.xml template for jetty and tomcat are different (Which I doubt) and I've only modified the template for jetty. The result would be that jcaptcha servlet wouldn't be mapped and so, no image at all.
  • Something else that I currently have no clue.
I just wanna finish the configuration system refactoring and the access control for each snip which probably will be ready by next week and then I'll issue tomcat 's war problems.

Icon-Comment AdaHsu, one year and 177 days ago. Icon-Permalink

I just wanna finish the configuration system refactoring and the access control for each snip which probably will be ready by next week and then I'll issue tomcat 's war problems.

OK, I had tested and it runs very well. see >>http://snipit.adahsu.net/snipit .

But just 2 things:

  1. lucene version issue: if I change to newest version, then snipit throw an exception: java.lang.IllegalAccessError: tried to access field org.apache.lucene.index.IndexWriter.mergeFactor from class org.snipsnap.snip.SnipIndexer . This makes CJK language unsupported and I will found if v1.4 can pass the building process or not !
  2. patch process support: I have try to make some modifications for local blogger cultrue, maybe a patch mechanism can help to do this ( maybe a patch file path and an ant target to do it ).

Icon-Comment pabrantes, one year and 177 days ago. Icon-Permalink

OK, I had tested and it runs very well. see >>>>http://snipit.adahsu.net/snipit .
AdaHsu

Hey..Cool smiley Are you running it with jetty or within tomcat with the created WAR?

Regarding lucene don't worry I'll be looking into it also!

Now about the patches...You're asking how patches should be created right? A simple way is, if you use Eclipse, checkout the version I have on the repository do the patch you want and then go to team -> create patch. Then you could make the patch available for anyone who is interested.

Icon-Comment AdaHsu, one year and 177 days ago. Icon-Permalink

Hey..Cool Are you running it with jetty or within tomcat with the created WAR?

Tomcat, last time I test snipit is create a virtual path on my blog site, after startup for a while it throws exception: Servlet.service() for servlet error threw exception java.lang.IllegalStateException: getOutputStream() has already been called for this response , and then Tomcat terminated.

I think maybe I should have a standard migration process, so I create a vmware machine for this.

Now about the patches...You're asking how patches should be created right? A simple way is, if you use Eclipse, checkout the version I have on the repository do the patch you want and then go to team -> create patch. Then you could make the patch available for anyone who is interested.

Not this, I means while building porcess, an ant target can do the patching before compiling and then generate the new and patched jars/war files.

Maybe those patch file can save at the repository and use a build.properties file to enable or disable patching process.

Icon-Comment pabrantes, one year and 177 days ago. Icon-Permalink

Tomcat, last time I test snipit is create a virtual path on my blog site, after startup for a while it throws exception: Servlet.service() for servlet error threw exception java.lang.IllegalStateException: getOutputStream() has already been called for this response , and then Tomcat terminated.

Hmmm… Maybe it's the jcaptcha servlet that writes into the outputstream that is doing this behaviour… Like I said I'll look into it.

Not this, I means while building porcess, an ant target can do the patching before compiling and then generate the new and patched jars/war files.

Maybe those patch file can save at the repository and use a build.properties file to enable or disable patching process.

Why have a auto-fetch patch system if you're going to build the all thing? Why not just checkout the project again? Maybe I didn't quite understand you there, though.

Icon-Comment AdaHsu, one year and 174 days ago. Icon-Permalink

Why have a auto-fetch patch system if you're going to build the all thing? Why not just checkout the project again? Maybe I didn't quite understand you there, though.

Not auto-fetch patch, but just only invoke a patch process.

I have already owned *.diff file what I need, but I need some way let the ANT tool can use those patch files while I am building the whole blog system. So I need a ANT target to do this if I want to patch somethings.

And this weekend I changed my theme too. The original Metal Theme can not used on a CJK site, so I adjusted somethings.

Please login to www.pabrantes.net.
Who am I?
paulo-roca2My name is Paulo Abrantes AKA pabrantes and I'm a software developer. I'm currently employed at >>CIIST working as a Java developer in >>FenixEDU.

This blog is mostly about Java programming, domain driven design and snipsnap bliki developing. Everything written in this blog is my personal opinion and it may not reflect the opinions of my employer and co-workers.


Blog subscription
subscribe by rss subscribe by email

Links
>> Home
>> Paulo's Profile
>> Post History
>> Add to Technorati Favorites
>> Paulo's Photo Gallery
>> WishList
>> Posting without Login

Search Blog
Fellow Bloggers

Recent Posts

Java Programming: Bytecode Injection
Intermission: Sorry For Downtime
Software Developing: Studying The Bliki Domain Model
SnipSnap Developing: Trying to settle a roadmap
System Administration: Load Balancing with Apache
Blogging: Two years have passed
Software Developing: The SnipSnap Saga
Java Programming: Getting your code spicy with Groovy
Software Developing: Fluent Interfaces
Software Developing: Implementing a ShoutBox on SnipsSnip
Software Developing: SnipSnap, SnipIt and SnipSnip
Java Programming: Proxies and Access Control
Java Programming: Proxies and References
Java Programming: References' Package
YALM: Yet Another Layout Modification

For older posts, please refer to post-history for a complete Post History

Logged in Users: (0)
… and 6 Guests.
This is a modified version of snipsnap.org created by >>Paulo Abrantes