• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Building on server, no Eclipse [solved dohhhhhh]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building on server, no Eclipse [solved dohhhhhh]


  • Subject: Re: Building on server, no Eclipse [solved dohhhhhh]
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 6 Apr 2009 20:27:15 -0700


On Apr 6, 2009, at 8:23 PM, Dom wrote:

When I find the guy who must have reverted my new build.xml to the old one....

DOH!!! There's a day I'm never getting back;-)

Thanks for your tremendous patience with this humble newbie Chuck.

Happy to hear that you have it working. It is not so much that WO is hard to use as... ;-)



Chuck


On Apr 6, 2009, at 10:55 PM, Dom wrote:


On Apr 6, 2009, at 10:15 PM, Chuck Hill wrote:



How old are your build.xml files? Does the woframework task start like:

<target name="build.woframework" depends="compile">

I replaced the build files with one from a new wonder framework project as part of upgrading to the new wolips. First target in mine is:


<!-- main targets -->
<!-- add optional targets to depends list if needed -->
<target name="build" depends="setProps,init.build,build.woframework" />

How does the build.woframework tasks start?

<target name="build.woframework">

<taskdef name="woframework" classname="org.objectstyle.woproject.ant.WOFramework">
</taskdef>


<woframework name="${project.name}" destDir="${dest.dir}" customInfoPListContent="${customInfoPListContent}" principalClass="$ {principalClass}" eoAdaptorClassName="${eoAdaptorClassName}" javaVersion="${javaVersion}" cfbundleversion="${cfBundleVersion}" cfbundleshortversion="${cfBundleShortVersion}" cfbundleID="$ {cfBundleID}">



Anything in the compile target that does not match that machine? It should "just work" but...

it's running java 1.6 on the server, and I'm running 1.5 locally. I have built another project before, but that one didn't use any frameworks.


1.6. You could have mentioned that sooner. I have no idea if woproject function correctly under 1.6. I'd expect so, but I don't know.

Again: look in the compile target.

I assumed based on a few other threads I've followed that it was fine, but maybe not. If that is in fact the case, then I'd think nothing would build properly, and that's not true; other applications that don't rely on these frameworks, that are using the new wolips are building and deploying fine.




Also, again, look for errors or information in the ant log (run with -version -debug for more info) around where it says [woframework] No sources found.

Other things noticed:

[antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.

Try Googling that. You might have a busted Ant install.


and theres' a load of this, one statement for each property defined in either build.properties or the wolips.properties

Override ignored for propery "some.property"

And then these few lines, variations of which appear near the No Sources Found output:

WOFileSet: Setup scanner in dir /home/dom/Projects/ORM/bin with patternSet{ includes: [**/*.class, *.properties] excludes: [build.properties] }
[woframework] No Implementation-Title set.No Implementation- Version set.No Implementation-Vendor set.
[woframework] Location: /home/dom/Projects/ORM/build.xml:49:


I think the problem is earlier, when it does not compile.

So, I'd been running clean install with -debug. I instead tried running ant -debug compile and got an exception this time:


at org.objectstyle.woproject.ant.FrameworkSet.setRoot(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun .reflect .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.IntrospectionHelper $3.set(IntrospectionHelper.java:927)
at org .apache .tools .ant.IntrospectionHelper.setAttribute(IntrospectionHelper.java:388)
at org .apache .tools .ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:392)
at org .apache .tools .ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:349)
at org.apache.tools.ant.UnknownElement.handleChild(UnknownElement.java: 568)
at org .apache.tools.ant.UnknownElement.handleChildren(UnknownElement.java: 346)
at org.apache.tools.ant.UnknownElement.configure(UnknownElement.java: 198)
at org .apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java: 160)
at org.apache.tools.ant.Task.perform(Task.java:347)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java: 1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org .apache .tools .ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)






_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Building on server, no Eclipse (From: Dom <email@hidden>)
 >Re: Building on server, no Eclipse (From: Chuck Hill <email@hidden>)
 >Re: Building on server, no Eclipse (From: Dom <email@hidden>)
 >Re: Building on server, no Eclipse (From: Chuck Hill <email@hidden>)
 >Re: Building on server, no Eclipse (From: Dom <email@hidden>)
 >Re: Building on server, no Eclipse (From: Chuck Hill <email@hidden>)
 >Re: Building on server, no Eclipse (From: Dom <email@hidden>)
 >Re: Building on server, no Eclipse (From: Chuck Hill <email@hidden>)
 >Re: Building on server, no Eclipse (From: Dom <email@hidden>)
 >Re: Building on server, no Eclipse [solved dohhhhhh] (From: Dom <email@hidden>)

  • Prev by Date: Re: Building on server, no Eclipse [solved dohhhhhh]
  • Next by Date: git info [was: Re: maven.]
  • Previous by thread: Re: Building on server, no Eclipse [solved dohhhhhh]
  • Next by thread: Hudson and dependencies
  • Index(es):
    • Date
    • Thread