Custom projects not in file folder Lejos EV3

This is where you talk about the EV3 software itself, installation issues, and programming talk.

Moderators: roger, gloomyandy, skoehler

Custom projects not in file folder Lejos EV3

Postby Atze » Sat Feb 15, 2014 10:50 am

Hi all,

I recently received my EV3 and installed lejos on it.

I successfully created a sd image and configured the wifi adapter.

However when I try to upload a new program to the EV3 it succeeds however it does not appear in the file directory in the lejos menu.

Anyone know were it is placed?

My ant build file properties:

<property file="local.properties" />
<property name="source.dir" value="src"/>
<property name="lib.dir" value="../../../../git/ev3/ev3classes"/>
<property name="class.dir" value="build"/>
<property name="jar.dir" value="dist"/>
<property name="main-class" value="EV3HelloWorld"/>
<property name="lejos.home" value="/home/root/lejos"/>
<property name="ev3.host" value="192.168.192.41"/>
Atze
New User
 
Posts: 1
Joined: Sat Feb 15, 2014 9:22 am

Re: Custom projects not in file folder Lejos EV3

Postby lawrie » Wed Feb 19, 2014 10:07 pm

You need to show the whole of the ant build.xml file as the directory that the jar file is copied to is in the todir parameter of the scp task, and not in a property.

If you copied the build file unchanged from the Wiki, the jar file should be in /home/lejos/programs which is the directory that the Files menu displays.
lawrie
leJOS Team Member
 
Posts: 918
Joined: Mon Feb 05, 2007 1:27 pm

Re: Custom projects not in file folder Lejos EV3

Postby tigger » Thu Feb 20, 2014 8:22 pm

/home/root/lejos => libs and lejos core, not listed under FILES.

/home/lejos/programs => place for your runnable JARs, listed under FILES.

Code: Select all
<target name="copy" depends="jar">
        <scp todir="root:@${ev3.host}:/home/lejos/programs/" trust="true">
            <fileset file="${jar.dir}/${ant.project.name}.jar"/>
        </scp>
    </target>


Check out your copy task.
tigger
New User
 
Posts: 17
Joined: Mon Feb 10, 2014 10:04 pm


Return to EV3 Software

Who is online

Users browsing this forum: No registered users and 0 guests

cron
more stuff