# Issue building projects since last Mobile Designer update applied

**URL:** <https://techcommunity.softwareag.com/t/issue-building-projects-since-last-mobile-designer-update-applied/102317>\
**Category:** Forum\
**Tags:** mobile\
**Created:** [January 15, 2013, 6:52pm UTC](https://techcommunity.softwareag.com/t/issue-building-projects-since-last-mobile-designer-update-applied/102317 "2013-01-15T18:52:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [January 15, 2013, 6:52pm UTC](https://techcommunity.softwareag.com/t/issue-building-projects-since-last-mobile-designer-update-applied/102317/1 "2013-01-15T18:52:48Z")

</div>

Suddenly this morning, projects which had been building ok are having problems. I know of at least one other person who is running into this issue.

For example, I’m getting this error when I try to activate a handset:

-MobileDesigner.Compile:

```
    [[u] echo [/u]] Replacing project's .classpath

    [[u] echo [/u]] Generating NetBeans nbproject folder...

    [[u] echo [/u]] Generating Phoney launcher

    [[u] echo [/u]] Compiling all the application source code... (debug=true)

   [[u] javac [/u]] Compiling 118 source files to D:\Workspace\SKO_App\bin

   [[u] javac [/u]] [u] D:\Workspace\SKO_App\src\com\softwareag\mobile\sko\QuizDetailsView.java [/u]:8: package org.apache.tools.ant.util does not exist

   [[u] javac [/u]] import org.apache.tools.ant.util.StringUtils;

   [[u] javac [/u]] ^

   [[u] javac [/u]] 1 error[b] [/b]

```

The ant.jar file is still in the Referenced Libraries of the project and the generated .classpath file is referencing the right location, but I still get this error.

Is anyone else running into this issue?

Dave

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [January 15, 2013, 7:02pm UTC](https://techcommunity.softwareag.com/t/issue-building-projects-since-last-mobile-designer-update-applied/102317/2 "2013-01-15T19:02:48Z")

</div>

Hi David,

The latest update (348) only distributed a new sample app and documentation. I’m not seeing anything in the update that would cause this problem.

Out of interest, is there a reason Ant classes are being used in the application runtime code? This API won’t be present under a platform like iOS, for example.

Regards,

Nick.

(Mobile Designer Development Team)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [January 15, 2013, 7:17pm UTC](https://techcommunity.softwareag.com/t/issue-building-projects-since-last-mobile-designer-update-applied/102317/3 "2013-01-15T19:17:48Z")

</div>

You’re right… I’m not sure why that class was imported in the first place. I commented it out.

In any case, for some reason, the mobile app classes in one package is now having trouble referencing classes in another package in the src folder… which was not a problem last night.

What on earth have I done to break things…

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [January 15, 2013, 7:17pm UTC](https://techcommunity.softwareag.com/t/issue-building-projects-since-last-mobile-designer-update-applied/102317/4 "2013-01-15T19:17:49Z")

</div>

Hmmm, I’m not sure on that one. I assume the code all compiles through Eclipse and the paths and package definitions are set up correctly?

If it all looks correct, do send it over so we can take a look here too.

Nick.

(Mobile Designer Development Team)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [January 15, 2013, 7:27pm UTC](https://techcommunity.softwareag.com/t/issue-building-projects-since-last-mobile-designer-update-applied/102317/5 "2013-01-15T19:27:48Z")

</div>

OK, I think I found the source of my issues… completely unrelated to anything I speculated before.

I had my Mobile Designer instance of eclipse open AS WELL AS an instance of wM Designer where I was working on IS services someplace else. The two were sharing a workspace and clashing with each other. Closing Designer and reimporting the project into “plain” eclipse cleared up my issues.

Sorry for the fire drill.

Dave

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:02pm UTC](https://techcommunity.softwareag.com/t/issue-building-projects-since-last-mobile-designer-update-applied/102317/6 "2021-04-02T15:02:52Z")

</div>


