Publish of mojoPortal.web fails from SVN

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
11/29/2007 9:08:05 AM
Gravatar
Total Posts 15

Publish of mojoPortal.web fails from SVN

I have the latest checkout from SVN and can build mojoportal-core-vs2005.sln.

However, many files are referenced in this solution/project file that are not present in the SVN checkout. For instance, the whole ClientScript\dojo0-9\ set of files is missing from the mojoPortal.Web project, but the project file still references them. I'm seeing this a lot and it makes it so the app will not publish.

11/29/2007 9:25:08 AM
Gravatar
Total Posts 18439

Re: Publish of mojoPortal.web fails from SVN

Hi,

Thanks for letting me know. I had not noticed because I don't use the VS publish feature. Instead I use the free tool UnleashIt which works indepenedent of whether the files are included in the project. I highly recommend this tool.

http://www.mojoportal.com/deploymentfromwindows.aspx

However, I did remove dojo from svn and forgot to remove the project reference. I will do that today. You can do it yourself by right click the folder in VS and choose Exclude from project. Beware this is a long process with so many subfolder and files, it can tie up your machine for a few hours (or at least is known to do this for me in VS 2005 on Vista). The only reason to include the javscript in the project is to support this publish feature but since I don't use it myself things do sometimes get out of sync when I forget to remove/add things from the solution. Thanks for reminding me.

Best,

Joe

11/29/2007 11:09:50 AM
Gravatar
Total Posts 15

Re: Publish of mojoPortal.web fails from SVN

Hi, it seems like FCKeditor is also removed because a lot of those files are now missing. However, the web admin tool still shows FCKeditor and its themes, which clearly won't work given the absent files.

11/29/2007 11:19:52 AM
Gravatar
Total Posts 18439

Re: Publish of mojoPortal.web fails from SVN

Hi,

Yes its the same issue with FCKeditor, it has been upgraded to a newer version in svn but the project references have not yet been updated. Again if you use UnleashIt all the correct files get packaged no matter if they are included in the project references or not.

I will fix this but I recommend use of UnleashIt as it is a much better tool than the VS publish feature.

Best,

Joe

11/29/2007 11:28:16 AM
Gravatar
Total Posts 18439

Re: Publish of mojoPortal.web fails from SVN

FYI, I think there is another issue regarding use of the VS publish feature with mojoPortal. Some features like Poll, Survey, Site Office, WebStore are implemented as external projects. On post build event they copy their files to the correct places under Web but since they are not part of web project I don't think they will be deployed by the publish feature. Again, UnleashIt solves this problem best because it packages files based on their type not on whether they are included in the VS project. So if you are implementing custom features in external projects I think you will have trouble getting your files into the package using the VS publish feature.

For best results use UnleashIt, the benefits of being able to implement custom features in external projects far outweighs the benfits of the VS publish feature and using UnleashIt keeps all the easy advantage of packaging files without losing the easy integration of external projects.

Best,

Joe

11/29/2007 6:32:54 PM
Gravatar
Total Posts 18439

Re: Publish of mojoPortal.web fails from SVN

I cleaned up the project file references under Web/ClientScript

I didn't test VS publish though so let me know if I missed anything.

Thanks,

Joe

11/30/2007 8:07:58 AM
Gravatar
Total Posts 15

Re: Publish of mojoPortal.web fails from SVN

Hi, thanks - you missed these:

 

Unable to add 'Data/Sites/1/skins/printerfriendly/style-dijit.css' to the Web. Unable to add file 'Data\Sites\1\skins\printerfriendly\style-dijit.css'. The system cannot find the file specified.

Unable to add 'Data/Sites/1/skins/printerfriendly/style-dojo.css' to the Web. Unable to add file 'Data\Sites\1\skins\printerfriendly\style-dojo.css'. The system cannot find the file specified.

Unable to add 'Data/Sites/1/skins/printerfriendly/style-ext-tabs.css' to the Web. Unable to add file 'Data\Sites\1\skins\printerfriendly\style-ext-tabs.css'. The system cannot find the file specified.
 

11/30/2007 8:11:19 AM
Gravatar
Total Posts 15

Re: Publish of mojoPortal.web fails from SVN

sorry, and these:

Unable to add 'ClientScript/google/json.js' to the Web. Unable to add file 'ClientScript\google\json.js'. The system cannot find the file specified.

Unable to add 'ClientScript/google/worker.js' to the Web. Unable to add file 'ClientScript\google\worker.js'. The system cannot find the file specified.

Unable to add 'ClientScript/google/worker_context.js' to the Web. Unable to add file 'ClientScript\google\worker_context.js'. The system cannot find the file specified.

Unable to add 'ClientScript/google/xhr.js' to the Web. Unable to add file 'ClientScript\google\xhr.js'. The system cannot find the file specified.
 

11/30/2007 11:35:04 AM
Gravatar
Total Posts 18439

Re: Publish of mojoPortal.web fails from SVN

Thanks, those should be fixed now let me know if you encounter any others.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.