Here's the rule I use to copy files to the simulator.
a)
Code:
<!-- copies cod files to simulator -->
<target name="load-simulator" depends="build">
<copy todir="${simulator.home}">
<fileset dir="${build.dir}" includes="*.cod,*.cso,*.debug,*.jad,*.jar" />
</copy>
</target>
b)
Yeah, you can use the new ANT stuff although it's been awhile since I did it and I can't remember exactly what I did
I think the idea is to goto eclipse Window->Preferences... and then Ant->Runtime and then change ANT HOME... to the new ANT location....
c) No idea why this would be a good idea.
d) No idea, I just use F11 to start the simulator
Quote:
Originally Posted by pwaugh
I just downloaded and installed the new Eclipse, and using the pinned tutorial here succeeded in getting it to compile my program. However, I have a few questions:
a) How can I configure build.xml to get the .cod to the simulator?
b) How do I setup Eclipse to use the new version 1.7.1 of Ant that
I have installed a C:\apache-ant-1.7.1C:\apache-ant-1.7.1 vs.
the current version in the plugins? Can I add it as a plugin?
c) What are the advantages/disadvantages of adding the library jar's
(net_rim_api.jar & bb-ant-tools.jar) to the project as in the tutorial
vs. adding them into Preferences -> Java -> Build Path -> User Libraries?
and finally:
d) How do I run and invoke the simulator automatically?
Thanks
|