Re: [Chandler-dev] hack some java script

Travis Vachon <travis-6zGkXsw2EZWGJGYlWa3Ukdi2O/[email protected]>
Newsgroups gmane.org.osaf.devel
Message-ID <[email protected]>
Hi Vaibhav

Are you running from a subversion checkout of trunk? If so, it looks  
like your javascript code is out of date.

Before hacking too much more code, you should check out this page:

http://chandlerproject.org/Developers/ChandlerServerJavascriptDev

Note that that will only make sense for recent versions of the code  
base, so again, running from subversion trunk is probably your best bet.

Running in js-dev mode should help solve the problem you're having,  
but it's probably also a good idea to do a custom Javascript build to  
really make sure you're running the code you're modifying. To do this,  
head into COSMO_HOME/cosmo-js and run:

mvn package install
cd ../cosmo
mvn -Pjs-dev clean compile war:inplace

and restart the server.

Please feel free to ping me on IRC (tvachon) if you have more questions.

-Travis

On May 26, 2008, at 6:59 AM, vaibhav saxena wrote:

> Hi,
> i am hacking some java script code in the cosmo project. When i am  
> trying to change in the js file like when trying to make changes in  
> signup form shown on the login screen, nothing is effecting.
>
> I am changing the code from the following file
>
> cosmo.account.create.js
> lib.dojo.src.cosmo-login.js
> lib.dojo.src.cosmo-login.js.uncompressed.js
>
> I am trying to remove the conformation password field from signup  
> gui. but after making changes it is not affecting. Although when i  
> am making the changes in jsp file or the messages resources files,  
> gui is showing the changes (So there should be no server restart  
> problem at all).
>
> Please Help me out on this metter.
>
> Thank you
>
> -- 
> VAIBHAV SAXENA _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "chandler-dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/chandler-dev

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.