28 Dec 2006 10:57 AM #1
JS Builder crashes building latest yui-ext code from svn
Trying to build either yui-ext or the resources after latest SVN update (ver 95). Crashing with message "Name cannot begin with the '<' character, hexadecimal value 0x3c. Line 2, position 2"
Looks like it's occurring in the Project.Load() method.
28 Dec 2006 11:55 AM #2
Are you using Jack's .jsb project files or your own? I can build the current dev files using the .jsb project files in SVN by just double-clicking on the .jsb and building it.
If you are using a custom .jsb file, please post it here and I'll take a look.
28 Dec 2006 12:10 PM #3
I thought I was using Jack's but it looks like SVN is doing something wierd when it sees a modified version and tries to update. I told it to resolve the conflict, but it looks like it still leaves junk in the file. I killed the jsbs and pulled fresh copies and it's OK.
<?xml version="1.0" encoding="utf-8"?> <<<<<<< .mine <project path="" name="yui-ext" author="Jack Slocum" version="0.33" copyright="$projectName $version
Copyright(c) 2006, $author." output="E:\Projects\yui-ext.0.33.1" source="True" source-dir="$output\source" minify="True" min-dir="$output\build" doc="False" doc-dir="$output\docs" min-dair="$output\build"> ======= <project path="" name="yui-ext" author="Jack Slocum" version="0.40" copyright="$projectName $version
Copyright(c) 2006, $author." output="C:\apache2\htdocs\deploy\yui-ext.0.40\" source="True" source-dir="$output\source" minify="True" min-dir="$output\build" doc="False" doc-dir="$output\docs" min-dair="$output\build"> >>>>>>> .r91 <directory name="" /> <target name="Core" file="$output\yui-ext-core.js" debug="True" shorthand="False" shorthand-list="YAHOO.util.Dom.setStyle
YAHOO.util.Event"> <include name="yutil.js" /> <include name="DomHelper.js" /> <include name="Element.js" /> <include name="CompositeElement.js" /> <include name="EventManager.js" /> <include name="UpdateManager.js" /> <include name="Layer.js" /> </target>
28 Dec 2006 12:49 PM #4
Are you using Tortoise or something else to merge? Just curious as I haven't tried merging jsb files myself, but if there are any conflicts in general, Tortoise should prompt you to resolve them manually if they can't be auto-resolved:
If you get any conflicts during an update (this can happen if others changed the same lines in the same file as you did and those changes don't match) then the dialog shows those conflicts in red. You can double click on these lines to start the external merge tool to resolve the conflicts.
28 Dec 2006 1:14 PM #5
It's Tortoise. When it detects a conflict, it looks like it renames the file with '.mine' then pulls down the current version. My thought was that when you tell it a confict is resolved it considers current version correct - however it must be leaving diffs. I'll have take a look at the doc and see what the right process is do deal with this.
28 Dec 2006 8:20 PM #6
You're almost there
SVN is great for that. You monkeyed with a file and then did SVN Update and that same file had changes committed while your working copy did not. Hence the .mine, the revision minus your changes, and the latest revision showing up. You can edit the file and remove any conflicts without much problem, choose the one you want, and then SVN Mark Resolved, and like magic... all files disappear except the one you want. Isn't that sweet. It's not Tortoise so much as all SVN clients. They do that.
29 Dec 2006 7:42 PM #7
I faced the same problem. Is there a way to externalize the changes to output path etc that the user makes? Maybe write to a proj.properties file in the install working dir?
For example I changed the output path to the one I wanated but on SVN update, I have to manually redo all my path settings.
<project path="" name="yui-ext" author="Jack Slocum" version="0.40" .. output="C:\apache2\htdocs\deploy\yui-ext.0.40\" >
29 Dec 2006 7:53 PM #8
Also "recent projects" in the file menu will be nice.
30 Dec 2006 7:20 AM #9
Well, regarding overwriting the output paths, etc. everyone who uses Jack's project files will have that issue (including me). It's sort of difficult to keep that separate is it really is part of the "project" -- you can't really define build targets separately from the path that they are built to. Even if they were separate, if Jack added or removed a build target, then the external mapping to the paths would still break. I think as long as you're using Jack's jsb files instead of maintaining your own, that's just something you'll have to live with.
A "recent projects" menu item is a good idea and something I've been meaning to add. I'll add it to the list -- thanks.
2 Jan 2007 3:00 AM #10Originally Posted by bmoeskau
Would it atleast be possbile to move all the variables in a separate xml tag in the project file. That way we don't have to make selective merges within lines in the proejct file.
By fsuguinness in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 22 Mar 2007, 10:24 AM
By vtswingkid in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 21 Feb 2007, 3:02 PM
By moraes in forum Sencha CmdReplies: 0Last Post: 29 Dec 2006, 5:54 AM
By jarrod in forum Ext 1.x: BugsReplies: 8Last Post: 17 Dec 2006, 6:25 AM
By hunkybill in forum Sencha CmdReplies: 4Last Post: 8 Dec 2006, 10:49 PM