Okay, starting to grok things. I had put that src/timeline when I
was trying to come up with a patch for supplying my own "local
resources" url.
I see that timeline runs on port 9999, and exhibit on 8888, so that is
how you can run multiple components. So my header file now looks like:
<script src="http://localhost:9999/timeline/api/timeline-
api.js" type="text/javascript"></script>
<script src="http://localhost:8888/ajax/api/simile-ajax-api.js"
type="text/javascript"></script>
<script src="http://localhost:8888/exhibit/api/exhibit-api.js"
type="text/javascript"></script>
<script
src="http://localhost:8888/exhibit/extensions/time/time-extension.js
" type="text/javascript"></script>
I've actually checked out the timeline from the 2.2.0 tag:
http://simile-widgets.googlecode.com/svn/timeline/tags/2.2.0
and will supply my patch against that as a first cut!
Eric
On Dec 31, 2008, at 12:47 PM, David Huynh wrote:
>
> Eric Pugh wrote:
>> David,
>>
>> Thanks for the help. One thing I had to do was add <script
>> src="http://static.simile.mit.edu/timeline/api-2.2.0/timeline-api.js
>> " type="text/javascript"></script> to before the exhibit api,
>> otherwise it kept looking for it locally. I notice that in the
>> source
>> there is /src/timeline/ directory. Is that a copy of the timeline
>> 2.2.0 codebase? It appears to be... However, it doesn't seem to
>> get
>> mounted with Jetty the way /ajax and /exhibit directories do.
>>
> That "timeline" subdirectory shouldn't be there. It's not in my local
> copy of the exhibit code base. Can you try a fresh checkout and see if
> it's still there?
>
>> I want to add a new timeline unit of measure "QUARTER_CENTURY", and
>> was going to do it via changing the Timeline code in order to
>> submit a
>> patch. Should I look at checking out timeline from SVN, or use what
>> is in /src/timeline?
>>
> Please check out Timeline from SVN. Edit that. Run that version
> locally
> and test against it.
>
> Cheers,
>
> David
>
>
> >
-----------------------------------------------------
Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 |
http://www.opensourceconnections.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---